@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=Poppins:wght@500&display=swap");

/* === Design tokens — Premium Silver & Black === */
:root {
  --silver: #D9DEE5;
  --silver-hi: #E6E8EB;
  --silver-mid: #BFC5CC;
  --silver-secondary: #B8BEC7;
  --silver-border-solid: #C8CDD3;
  --silver-border: rgba(200, 205, 211, 0.35);
  --silver-soft: rgba(217, 222, 229, 0.12);
  --silver-muted: rgba(217, 222, 229, 0.08);
  --on-silver: #111111;

  /* Legacy gold names → silver (keeps existing rules working) */
  --gold: var(--silver);
  --gold-hi: var(--silver-hi);
  --gold-border: var(--silver-border-solid);
  --gold-soft: var(--silver-soft);
  --gold-muted: var(--silver-muted);
  --on-gold: var(--on-silver);

  --bg: #1A1A1E;
  --bg-section: #16161A;
  --bg-card: #1E1E22;
  --bg-elevated: #252529;

  /* Primary accent — silver */
  --primary-red: var(--silver);
  --primary-red-hover: var(--silver-hi);
  --primary-red-soft: var(--silver-soft);
  --primary-red-muted: var(--silver-muted);
  --primary-red-border: var(--silver-border-solid);

  /* Neutrals */
  --deep-charcoal: var(--bg-card);
  --deep-charcoal-hover: #28282E;
  --deep-charcoal-dark: #121216;
  --white: #FFFFFF;
  --soft-grey: #252529;
  --soft-grey-warm: #222226;
  --text-dark: #FFFFFF;
  --text-muted: #C9CDD3;
  --border-light: rgba(200, 205, 211, 0.28);

  /* Semantic mapping (used across components) */
  --primary: var(--silver);
  --primary-hover: var(--silver-hi);
  --primary-light: rgba(217, 222, 229, 0.18);
  --primary-soft: var(--silver-soft);
  --secondary: var(--bg-card);
  --secondary-foreground: #FFFFFF;
  --background: var(--bg);
  --background-soft: var(--bg-section);
  --foreground: #FFFFFF;
  --heading: #FFFFFF;
  --muted-foreground: #C9CDD3;
  --muted: #252529;
  --border: rgba(200, 205, 211, 0.28);
  --border-accent: var(--silver);
  --accent-red: var(--silver);
  --accent-red-foreground: var(--on-silver);
  --primary-foreground: var(--on-silver);
  --calculator-btn: var(--silver);

  /* Icon / success accents → silver */
  --emerald: var(--silver);
  --emerald-50: var(--silver-muted);
  --emerald-700: var(--silver-hi);

  /* Awareness / alert */
  --red-50: var(--silver-muted);
  --red-200: rgba(200, 205, 211, 0.22);
  --red-600: var(--silver);
  --red-700: var(--silver-hi);
  --red-800: var(--silver-hi);

  /* Buttons */
  --btn-gradient: linear-gradient(135deg, #E6E8EB 0%, #BFC5CC 100%);
  --btn-gradient-hover: linear-gradient(135deg, #EEF0F3 0%, #C9CFD6 100%);

  /* Typography — Bricolage Grotesque */
  --font-sans: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --font-display: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --leading-body: 1.55;
  --leading-relaxed: 1.6;
  --leading-heading: 1.28;
  --leading-display: 1.22;
  --tracking-tight: -0.5px;
  --tracking-display: -0.5px;
  --tracking-heading: -0.5px;

  /* Shadows — soft grey only, no glow */
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-card-hover: 0 18px 44px rgba(0, 0, 0, 0.42), 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-calc: 0 16px 40px rgba(0, 0, 0, 0.32);
  --shadow-btn-primary: 0 10px 24px rgba(0, 0, 0, 0.32);
  --shadow-nav-cta: 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-nav-pill: 0 2px 8px rgba(0, 0, 0, 0.24);
  --shadow-btn-charcoal: 0 10px 24px rgba(0, 0, 0, 0.28);
  --header-shadow: 0 8px 30px rgba(0, 0, 0, 0.32);
  --header-shadow-scrolled: 0 4px 24px rgba(0, 0, 0, 0.38);
  --header-height: 72px;

  --radius: 16px;
}

*,*::before,*::after { box-sizing: border-box; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: var(--font-sans);
}
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--foreground);
  background: linear-gradient(165deg, #4A5058 0%, #34383F 22%, #25262C 48%, #1A1A1E 72%, #0E0E11 100%);
  background-attachment: fixed;
  line-height: var(--leading-body);
  min-height: 100vh;
  color-scheme: dark;
}

/* — Hero / Main Title — 800 — */
h1,
.profile-hero-header .section-title,
.catalogue-main > header .section-title,
.advisor-card h3,
.career-hero-title {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-display);
  color: var(--heading);
}

/* — Section Headings (H2) — 700 — */
h2,
.section-title,
.awareness-title,
.hs-title,
.medical-calculator-title,
.hb-calc-title,
.quote-popup-header h2,
.quote-modal-header h2,
.plan-showcase-title,
.tm-gallery-title,
.career-cta-title,
.quote-panel-title,
#medical-card .mc-story-title,
#hibah-takaful .mc-story-title,
#medical-card .mc-hero-title,
#hibah-takaful .mc-hero-title,
#medical-card .mc-plans-title,
#hibah-takaful .mc-plans-title {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
  color: var(--heading);
}

/* — Card Titles & Navigation — 600 — */
h3,
.product-card h3,
.tab-banner h3,
.modal h3,
.plan-showcase-card-title,
.career-block-title,
.team-kami-title,
.pengiktirafan-title,
.why-choose-title {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
  color: var(--heading);
}

h4,
h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0;
  line-height: var(--leading-heading);
  color: var(--heading);
}

/* — UI controls — */
button,
.btn,
nav,
.sidebar-link,
.desktop-nav-link,
.lang-switch,
.tab-btn,
input,
select,
textarea,
.advisor-tagline,
.label-up,
.awareness-badge,
.hs-badge,
.smart-form .form-label,
.footer-grid h4,
.medical-label,
.hb-label,
.quote-field-label,
.tag,
.badge-pill,
.pro-badge,
.role-pill {
  font-family: var(--font-sans);
}

button,
.btn,
.tab-btn {
  font-weight: 600;
  letter-spacing: 0;
}
.btn-red,
.btn-navy,
.advisor-card .btn-emerald {
  font-weight: 600;
}

nav,
.sidebar-link,
.desktop-nav-link {
  font-weight: 600;
  letter-spacing: 0;
}

.lang-switch {
  font-weight: 500;
  letter-spacing: 0;
}
.lang-switch button {
  font-weight: 500;
  letter-spacing: 0;
}
.lang-switch button.active {
  font-weight: 600;
}

input, select, textarea { font-size: 14px; font-weight: 400; line-height: var(--leading-body); }

img { max-width: 100%; display: block; }
button { cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; }
a:not(.btn):not(.footer-link):not(.footer-social-link):not(.logo):not(.sidebar-link):not(.desktop-nav-link):hover { color: var(--primary-red); }
ul { list-style: none; padding: 0; margin: 0; }
h1,h2,h3,h4,h5,h6 { margin: 0; color: var(--heading); }
p { margin: 0; }

/* === Layout === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

/* === Header (sticky nav) === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1003;
  overflow: visible;
  background: rgba(26, 26, 30, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(200, 205, 211, 0.18);
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  background: rgba(22, 22, 26, 0.96);
  border-bottom-color: rgba(200, 205, 211, 0.32);
  box-shadow: var(--header-shadow-scrolled);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-height);
  overflow: visible;
}
@media (min-width: 1024px) {
  :root { --header-height: 80px; }
}
.site-header .logo {
  flex-shrink: 0;
}
.site-header .logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}
@media (min-width: 640px) {
  .site-header .logo img { height: 52px; }
}
@media (min-width: 1024px) {
  .site-header .logo img { height: 56px; }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  position: relative;
  z-index: 1004;
  flex-shrink: 0;
}

.desktop-nav {
  display: none;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.desktop-nav::-webkit-scrollbar { display: none; }
.desktop-nav-link {
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--heading);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.3s ease, background 0.3s ease;
}
.desktop-nav-link:hover {
  color: var(--gold);
  background: transparent;
}
.desktop-nav-link.active {
  color: var(--on-silver);
  background: var(--btn-gradient);
}
@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .hamburger { display: none; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .desktop-nav-link {
    font-size: 11px;
    padding: 6px 6px;
  }
}

#home,
#medical-intro,
#catalogue-fakta,
#hibah-takaful,
#hibah-section,
#medical-card,
#pengiktirafan,
#pengiktirafan-section,
#recognition,
#contact {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 999px; padding: 2px; font-size: 12px; font-weight: 500;
}
.lang-switch button {
  padding: 4px 12px; border-radius: 999px; color: var(--heading);
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.lang-switch button.active {
  background: var(--btn-gradient);
  color: var(--on-silver);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

/* === Catalogue === */
.catalogue { padding: 48px 0; background: transparent; }
@media (min-width: 1024px) { .catalogue { padding: 72px 0; } }
.catalogue .container { max-width: 1120px; }
.catalogue-layout { display: block; }
.catalogue-main { width: 100%; min-width: 0; }

.section-title { font-size: 1.75rem; font-weight: 700; letter-spacing: var(--tracking-heading); color: var(--heading); line-height: var(--leading-display); }
@media (min-width: 640px) { .section-title { font-size: 2.375rem; letter-spacing: var(--tracking-heading); line-height: 1.26; } }
.section-sub {
  margin-top: 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: var(--leading-body);
  color: var(--muted-foreground);
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) { .section-sub { font-size: 1rem; margin-top: 16px; } }

/* Hero typography — Outfit */
.profile-hero-header .section-title,
.catalogue-main > header .section-title {
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.875rem, 5.5vw, 2.125rem);
  letter-spacing: 0.5px;
  line-height: 1.15;
  color: var(--heading);
}
@media (min-width: 640px) {
  .profile-hero-header .section-title,
  .catalogue-main > header .section-title {
    font-weight: 700;
    font-size: clamp(2.125rem, 4.5vw, 2.625rem);
    letter-spacing: 0.5px;
    line-height: 1.15;
  }
}
@media (min-width: 1024px) {
  .profile-hero-header .section-title,
  .catalogue-main > header .section-title {
    font-size: 2.75rem;
  }
}
.profile-hero-header .section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, #C8CDD3 20%, #D9DEE5 50%, #C8CDD3 80%, transparent);
  border-radius: 1px;
}
.profile-hero-header .section-sub,
.catalogue-main > header .section-sub {
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.5;
  max-width: 32rem;
  margin-top: 12px;
  color: var(--text-muted);
}
@media (min-width: 640px) {
  .profile-hero-header .section-sub,
  .catalogue-main > header .section-sub { margin-top: 14px; }
}

/* === Profile Hero === */
.profile-hero {
  position: relative;
  margin: 0 auto 8px;
  padding: 8px 0 4px;
  overflow: hidden;
  --hero-scroll: 0px;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(217, 222, 229, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, rgba(74, 80, 88, 0.18) 0%, transparent 100%);
}
.profile-hero-bg {
  position: absolute;
  inset: -20% -10% -10%;
  pointer-events: none;
  z-index: 0;
}
.profile-hero-bg::before,
.profile-hero-bg::after {
  content: "";
  position: absolute;
  top: 4%;
  width: min(46vw, 420px);
  height: 86%;
  opacity: 0.16;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 480' fill='none'%3E%3Cpath d='M160 8C96 72 48 128 72 200c24 72 96 88 72 168-24 80-88 112-120 152' stroke='%23C8CDD3' stroke-width='1.2'/%3E%3Cpath d='M178 36C118 96 70 148 92 214c22 66 88 82 66 154-22 72-80 104-112 146' stroke='%23D9DEE5' stroke-width='0.8'/%3E%3C/svg%3E");
}
.profile-hero-bg::before { left: -4%; }
.profile-hero-bg::after {
  right: -4%;
  transform: scaleX(-1);
}
.profile-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.45;
  will-change: transform;
}
.profile-hero-orb--red {
  width: min(280px, 55vw);
  height: min(280px, 55vw);
  top: 8%;
  left: -8%;
  background: radial-gradient(circle, rgba(200, 205, 211, 0.16) 0%, rgba(200, 205, 211, 0) 70%);
  transform: translateY(calc(var(--hero-scroll) * -0.4));
}
.profile-hero-orb--teal {
  width: min(240px, 48vw);
  height: min(240px, 48vw);
  top: 28%;
  right: -6%;
  background: radial-gradient(circle, rgba(184, 190, 199, 0.14) 0%, rgba(184, 190, 199, 0) 70%);
  transform: translateY(calc(var(--hero-scroll) * -0.25));
}
.profile-hero-header,
.profile-hero .advisor-inline {
  position: relative;
  z-index: 1;
}
.profile-hero-header[data-hero-parallax] {
  transform: translateY(calc(var(--hero-scroll) * 0.05));
  transition: transform 0.08s linear;
}
.profile-hero .advisor-inline[data-hero-parallax] {
  transform: translateY(calc(var(--hero-scroll) * 0.08));
  transition: transform 0.08s linear;
}
.profile-hero.is-ready .hero-fade-up {
  animation: heroFadeUp 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--hero-delay, 0ms);
  opacity: 0;
}
.profile-hero.is-ready .hero-animate-avatar {
  animation: heroAvatarIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 90ms;
  opacity: 0;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroAvatarIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .profile-hero.is-ready .hero-fade-up,
  .profile-hero.is-ready .hero-animate-avatar {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .profile-hero-header[data-hero-parallax],
  .profile-hero .advisor-inline[data-hero-parallax],
  .profile-hero-orb { transform: none !important; }
}

/* === Scroll Reveal & Micro-interactions === */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.scroll-reveal--image {
  transform: scale(0.98);
}
.scroll-reveal--image.is-visible {
  transform: scale(1);
}
@keyframes checkScaleIn {
  from { opacity: 0; transform: scale(0.82); }
  to { opacity: 1; transform: scale(1); }
}
.why-choose-row.is-visible .why-choose-check {
  animation: checkScaleIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--reveal-delay, 0ms) + 80ms) both;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal--image {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .why-choose-row.is-visible .why-choose-check { animation: none; }
}

.text-center { text-align: center; }
@media (min-width: 1024px) { .lg-text-left { text-align: left; } }

/* === Plan Showcase (homepage cards) === */
.plan-showcase {
  margin-top: 40px;
  padding-bottom: 8px;
}
.plan-showcase-header {
  margin-bottom: 24px;
}
.plan-showcase-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-red);
}
.plan-showcase-title {
  margin-top: 10px;
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--heading);
  line-height: 1.25;
}
.plan-showcase-brand-pru {
  color: var(--heading) !important;
}
.plan-showcase-brand-bsn {
  color: var(--heading) !important;
}
.plan-showcase-sub {
  margin: 10px auto 0;
  max-width: 560px;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: var(--leading-body);
  color: var(--muted-foreground);
  font-weight: 400;
}
.plan-showcase-track-wrap {
  min-width: 0;
}
.plan-showcase-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
  margin-inline: auto;
}
.plan-showcase-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.plan-showcase-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--soft-grey);
  border-radius: 20px 20px 0 0;
}
.plan-showcase-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.plan-showcase-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  padding: 14px;
}
.plan-showcase-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.3;
  letter-spacing: 0.5px;
}
.plan-showcase-card-desc {
  flex: 1;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted-foreground);
  font-weight: 400;
}
.plan-showcase-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #D9DEE5;
  transition: opacity 0.2s ease;
}
.plan-showcase-btn:hover {
  opacity: 0.82;
}
@media (hover: hover) and (pointer: fine) {
  .plan-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
  }
}
@media (max-width: 767px) {
  .plan-showcase {
    margin-top: 32px;
  }
  .plan-showcase-header {
    margin-bottom: 18px;
  }
  .plan-showcase-track-wrap {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--container-pad, 16px));
    padding-inline: var(--container-pad, 16px);
  }
  .plan-showcase-track-wrap::-webkit-scrollbar {
    display: none;
  }
  .plan-showcase-track {
    display: flex;
    gap: 11px;
    grid-template-columns: none;
    max-width: none;
    margin-inline: 0;
  }
  .plan-showcase-card {
    flex: 0 0 clamp(62vw, 64vw, 66vw);
    width: clamp(62vw, 64vw, 66vw);
    scroll-snap-align: start;
  }
  .plan-showcase-media {
    aspect-ratio: 5 / 4;
  }
  .plan-showcase-body {
    padding: 10px;
    gap: 4px;
  }
  .plan-showcase-card-title {
    font-size: 13px;
  }
  .plan-showcase-card-desc {
    font-size: 11px;
    line-height: 1.35;
  }
  .plan-showcase-btn {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .plan-showcase-card {
    transition: none;
  }
  .plan-showcase-card:hover {
    transform: none;
  }
  .plan-showcase-track-wrap {
    scroll-behavior: auto;
  }
}

/* Quick Access Menu */
.quick-access {
  margin: 32px auto 0;
  max-width: 920px;
}
@media (min-width: 768px) {
  .quick-access { margin-top: 36px; }
}
.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (min-width: 768px) {
  .quick-access-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
}
@media (max-width: 767px) {
  .quick-access-grid .quick-access-card:nth-child(-n+3) {
    grid-column: span 2;
  }
  .quick-access-grid .quick-access-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .quick-access-grid .quick-access-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}
.quick-access-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 108px;
  padding: 16px 10px;
  background: var(--bg-card);
  border: 1px solid rgba(200, 205, 211, 0.35);
  border-radius: 16px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: background 0.28s ease, border-color 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}
@media (min-width: 768px) {
  .quick-access-card {
    min-height: 118px;
    padding: 18px 12px;
  }
}
.quick-access-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(200, 205, 211, 0.12);
  font-size: 20px;
  line-height: 1;
  transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}
.quick-access-label {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: var(--foreground);
  transition: color 0.28s ease;
}
@media (min-width: 768px) {
  .quick-access-label { font-size: 13px; }
}
@media (hover: hover) and (pointer: fine) {
  .quick-access-card:hover {
    background: rgba(217, 222, 229, 0.1);
    border-color: var(--silver);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
  }
  .quick-access-card:hover .quick-access-icon {
    background: rgba(217, 222, 229, 0.18);
    transform: scale(1.05);
    filter: none;
  }
  .quick-access-card:hover .quick-access-label {
    color: var(--silver-hi);
  }
}
.quick-access-card.active {
  background: rgba(217, 222, 229, 0.12);
  border-color: var(--silver);
  box-shadow: var(--shadow-card-hover);
}
.quick-access-card.active .quick-access-icon {
  background: rgba(217, 222, 229, 0.18);
  filter: none;
}
.quick-access-card.active .quick-access-label {
  color: var(--silver-hi);
}
.quick-access-label--stacked {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  text-align: center;
}
.quick-access-label--stacked .quick-access-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  color: inherit;
}
.quick-access-label--stacked .quick-access-sub {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-muted);
}
@media (min-width: 768px) {
  .quick-access-label--stacked .quick-access-title { font-size: 13px; }
  .quick-access-label--stacked .quick-access-sub { font-size: 11px; }
}
@media (hover: hover) and (pointer: fine) {
  .quick-access-card:hover .quick-access-label--stacked .quick-access-sub {
    color: var(--text-muted);
    opacity: 0.9;
  }
}
.quick-access-card.active .quick-access-label--stacked .quick-access-sub {
  color: var(--text-muted);
  opacity: 0.9;
}
@media (prefers-reduced-motion: reduce) {
  .quick-access-card { transition: background 0.2s ease, border-color 0.2s ease; }
  .quick-access-card:hover { transform: none; }
}

.tab-scroll-anchor {
  display: block;
  height: 0;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height) + 16px);
}
#hibah-section,
#recognition,
#career {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.tab-content { animation: tabFadeIn 0.38s cubic-bezier(0.22, 1, 0.36, 1); }
.tab-content.tab-panel-leaving {
  animation: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
[data-tab-panel][hidden] { display: none !important; }
#catalogue-fakta[hidden] { display: none !important; }
.catalogue-fakta {
  margin-top: 28px;
}
@media (min-width: 640px) {
  .catalogue-fakta { margin-top: 36px; }
}
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .tab-content,
  .tab-content.tab-panel-leaving { animation: none; opacity: 1; transform: none; transition: none; }
}

/* Tab banner */
.tab-banner {
  position: relative; height: 160px; border-radius: 1.5rem;
  background-size: cover; background-position: center;
  overflow: hidden; margin: 40px 0 24px;
}
@media (min-width: 640px) { .tab-banner { height: 208px; } }
.tab-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.4), transparent);
}
.tab-banner h3 {
  position: relative; display: flex; align-items: flex-end; height: 100%;
  padding: 24px; color: #fff; font-size: 1.5rem; font-weight: 600;
}
@media (min-width: 640px) { .tab-banner h3 { font-size: 1.875rem; } }

/* Product grid */
.product-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .product-card.is-visible:hover,
  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--gold-hi);
  }
}
.product-card:active {
  transform: translateY(-2px) scale(0.99);
}
.product-card .body { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.product-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-card .tag {
  background: var(--bg);
  color: var(--heading);
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  border: 1px solid var(--gold-border);
  letter-spacing: 0.02em;
}
.product-card h3 { color: var(--heading); font-size: 1.1875rem; font-weight: 600; line-height: 1.25; letter-spacing: 0.5px; }
.label-up {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted-foreground);
}
.kenapa-text { margin-top: 4px; font-size: 14px; line-height: var(--leading-relaxed); color: var(--foreground); font-weight: 400; }
.benefit-list { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.benefit-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--foreground); line-height: var(--leading-relaxed); font-weight: 400; }
.check-icon { width: 14px; height: 14px; flex-shrink: 0; color: var(--emerald); margin-top: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: 14px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
  letter-spacing: 0;
}
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn-red {
  background: var(--btn-gradient);
  color: var(--on-silver);
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow-btn-primary);
}
.btn-red:hover {
  background: var(--btn-gradient-hover);
  color: var(--on-silver);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
  transform: translateY(-2px);
}
.btn-navy {
  background: transparent;
  color: var(--silver);
  border: 1px solid rgba(200, 205, 211, 0.55);
  border-radius: 16px;
  box-shadow: none;
}
.btn-navy:hover {
  background: rgba(217, 222, 229, 0.08);
  border-color: var(--silver-hi);
  color: var(--silver-hi);
  transform: translateY(-2px);
}
.btn-outline-navy {
  background: transparent;
  border: 1px solid rgba(200, 205, 211, 0.55);
  color: var(--silver);
  border-radius: 16px;
  box-shadow: none;
}
.btn-outline-navy:hover {
  background: rgba(217, 222, 229, 0.08);
  border-color: var(--silver-hi);
  color: var(--silver-hi);
  transform: translateY(-2px);
}
.advisor-card .btn-emerald {
  position: relative;
  overflow: hidden;
  background: var(--btn-gradient);
  color: var(--on-silver);
  font-weight: 600;
  border: none;
  text-transform: none;
  border-radius: 16px;
  padding: 12px 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.advisor-card .btn-emerald::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.14) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.advisor-card .btn-emerald:hover {
  background: var(--btn-gradient-hover);
  color: var(--on-silver);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}
.advisor-card .btn-emerald:hover::after {
  transform: translateX(120%);
}
.btn-full { width: 100%; }
.btn-lg { padding: 16px 24px; font-size: 1rem; }

.cta-bottom { margin-top: auto; padding-top: 8px; }

/* === Advisor Card (Hero) === */
.advisor-card {
  position: relative;
  padding: 28px 20px 22px;
  background: var(--bg-card);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gold-border);
  text-align: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.advisor-card--premium {
  background: rgba(30, 30, 34, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(200, 205, 211, 0.28);
  border-radius: 24px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(217, 222, 229, 0.08);
}
@media (hover: hover) and (pointer: fine) {
  .advisor-card--premium:hover {
    transform: translateY(-4px);
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(217, 222, 229, 0.12);
    border-color: rgba(200, 205, 211, 0.45);
  }
}
.advisor-tagline {
  margin: 0 0 10px;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-align: center;
  color: var(--muted-foreground);
  line-height: 1.4;
}
.advisor-tagline span { display: inline-block; }
@media (min-width: 640px) {
  .advisor-tagline { font-size: 10.5px; margin-bottom: 11px; letter-spacing: 0.065em; }
}
@media (min-width: 768px) {
  .advisor-tagline { font-size: 11px; margin-bottom: 12px; padding: 0 14px; letter-spacing: 0.06em; }
  .advisor-card .avatar-wrap { margin-bottom: 12px; }
}
.advisor-card .avatar-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0 auto 14px;
}
.advisor-card .avatar-wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(148px + 6px);
  height: calc(148px + 6px);
  border-radius: 50%;
  background: linear-gradient(155deg, #2B2F36 0%, #444B55 100%);
  box-shadow:
    0 0 20px rgba(191, 197, 204, 0.16),
    inset 0 0 14px rgba(217, 222, 229, 0.07);
  z-index: 0;
  pointer-events: none;
}
.avatar-orbs {
  display: none;
}
.avatar-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.55;
}
.avatar-orb--1 {
  width: 120px;
  height: 120px;
  transform: translate(-70%, -55%);
  background: rgba(200, 205, 211, 0.2);
}
.avatar-orb--2 {
  width: 90px;
  height: 90px;
  transform: translate(-20%, -75%);
  background: rgba(200, 205, 211, 0.18);
}
.avatar-orb--3 {
  width: 70px;
  height: 70px;
  transform: translate(-45%, 5%);
  background: rgba(200, 205, 211, 0.12);
}
.advisor-card .avatar {
  position: relative;
  z-index: 1;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  box-shadow: none;
  transition: transform 0.4s ease;
}
@media (hover: hover) and (pointer: fine) {
  .advisor-card--premium:hover .avatar {
    transform: scale(1.025);
    box-shadow: none;
  }
}
@media (min-width: 768px) {
  .advisor-card { padding: 34px 28px 26px; }
  .advisor-card .avatar-wrap::before {
    width: calc(200px + 6px);
    height: calc(200px + 6px);
  }
  .advisor-card .avatar { width: 200px; height: 200px; }
  .avatar-orb--1 { width: 160px; height: 160px; }
  .avatar-orb--2 { width: 110px; height: 110px; }
}
.advisor-card h3 {
  font-style: normal;
  font-size: clamp(1.5rem, 5vw, 1.875rem);
  font-weight: 600;
  color: var(--heading);
  letter-spacing: 0.5px;
  line-height: 1.14;
  margin-top: 0;
}
@media (min-width: 640px) {
  .advisor-card h3 {
    font-size: clamp(1.75rem, 3.8vw, 2rem);
    letter-spacing: 0.5px;
  }
}
@media (min-width: 768px) {
  .advisor-card h3 {
    font-size: 2.125rem;
    font-weight: 600;
    letter-spacing: 0.5px;
  }
}
@media (min-width: 1024px) {
  .advisor-card h3 { font-size: 2.25rem; }
}
.advisor-card .advisor-tagline,
.advisor-card .role-pill,
.advisor-card .pro-badge,
.advisor-card .btn {
  font-family: var(--font-sans);
}
.role-pill {
  display: inline-block; margin: 8px 0 0;
  background: var(--bg);
  color: var(--heading);
  padding: 4px 12px; border-radius: 8px;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.065em;
  line-height: 1.3;
  border: 1px solid var(--gold-border);
}
.advisor-badges {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin: 8px auto 0;
  width: 100%;
  max-width: 400px;
  padding: 0 2px;
}
.advisor-badges-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
@media (min-width: 640px) {
  .advisor-badges-row {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
  }
}
.advisor-card .pro-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 34px;
  padding: 8px 12px;
  background: var(--bg);
  color: var(--heading);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  font-weight: 500;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  box-shadow: none;
  white-space: normal;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .advisor-card .pro-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(200, 205, 211, 0.12);
    border-color: var(--gold-hi);
  }
}
@media (min-width: 640px) {
  .advisor-card .pro-badge {
    font-size: 10.5px;
    padding: 8px 14px;
    min-height: 36px;
  }
  .advisor-badges-row .pro-badge {
    flex: 1 1 0;
    width: auto;
  }
}
.advisor-card .pro-badge-featured {
  align-self: center;
  width: 100%;
  max-width: 100%;
}
@media (min-width: 640px) {
  .advisor-card .pro-badge-featured {
    width: auto;
    min-width: 220px;
    max-width: 100%;
  }
}
.advisor-card .phone-text { font-size: 11px; color: var(--muted-foreground); margin-top: 8px; font-weight: 500; line-height: 1.4; }
.advisor-card .btn { margin-top: 14px; font-size: 13px; font-weight: 600; }
.advisor-inline {
  max-width: 580px;
  margin: 18px auto 28px;
  padding-top: 0;
}
.advisor-mobile, .advisor-desktop { display: none; }

.product-card[id^="product-"] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

/* === Awareness === */
.awareness { margin-top: 64px; display: flex; flex-direction: column; gap: 32px; }
.awareness-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); color: var(--heading);
  padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 600;
  border: 1px solid var(--gold-border);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.awareness-badge i { color: var(--gold); }
.awareness-title { margin-top: 16px; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.5px; color: var(--heading); line-height: 1.25; }
@media (min-width: 640px) { .awareness-title { font-size: 1.875rem; } }
.awareness-sub { margin: 12px auto 0; max-width: 640px; color: var(--muted-foreground); line-height: var(--leading-body); font-weight: 400; font-size: 0.9375rem; }
.awareness-cols { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .awareness-cols { grid-template-columns: 1fr 1fr; } }
.awareness-col {
  border-radius: 1rem; padding: 24px;
}
.awareness-col.tanpa { background: var(--soft-grey); border: 1px solid var(--border-light); }
.awareness-col.dengan { background: rgba(200, 205, 211, 0.08); border: 1px solid var(--border); }
.awareness-col h4 { text-align: center; font-size: 1rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.012em; }
@media (min-width: 640px) { .awareness-col h4 { font-size: 1.125rem; } }
.awareness-col.tanpa h4 { color: var(--heading); }
.awareness-col.dengan h4 { color: var(--heading); }
.awareness-col ul { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.awareness-col li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; }
.awareness-col.tanpa li { color: var(--foreground); }
.awareness-col.tanpa li > span:first-child {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  margin-top: 0.55em;
  opacity: 0.55;
}
.awareness-col.dengan li { color: var(--foreground); }

/* === Tab Visual Story (Medical Card & Hibah) === */
#medical-card .mc-story,
#hibah-takaful .mc-story {
  display: flex; flex-direction: column; gap: 28px;
  padding-top: 28px;
}
@media (min-width: 640px) {
  #medical-card .mc-story,
  #hibah-takaful .mc-story { padding-top: 36px; }
}
#medical-card .mc-story-header,
#hibah-takaful .mc-story-header { max-width: 680px; margin-inline: auto; }
#medical-card .mc-story-title,
#hibah-takaful .mc-story-title {
  margin: 0;
  font-size: 1.375rem; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.25;
  color: var(--heading);
}
@media (min-width: 640px) {
  #medical-card .mc-story-title,
  #hibah-takaful .mc-story-title { font-size: 1.625rem; }
}
#medical-card .mc-story-desc,
#hibah-takaful .mc-story-desc {
  margin: 12px 0 0;
  font-size: 0.9375rem; line-height: 1.65;
  color: var(--text-muted); font-weight: 400;
}

#medical-card .mc-story-header,
#hibah-takaful .mc-story-header {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
#medical-card .mc-story-header.is-visible,
#hibah-takaful .mc-story-header.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#medical-card .mc-story-timeline,
#hibah-takaful .mc-story-timeline {
  position: relative;
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  #medical-card .mc-story-timeline,
  #hibah-takaful .mc-story-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 8px;
  }
  #medical-card .mc-story-timeline::before,
  #hibah-takaful .mc-story-timeline::before {
    content: "";
    position: absolute;
    top: 72px; left: 10%; right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(200, 205, 211, 0.25) 15%, rgba(200, 205, 211, 0.45) 50%, rgba(200, 205, 211, 0.25) 85%, transparent);
    pointer-events: none;
  }
}

#medical-card .mc-story-scene,
#hibah-takaful .mc-story-scene {
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease var(--scene-delay, 0ms),
    transform 0.55s ease var(--scene-delay, 0ms);
  min-width: 0;
}
#medical-card .mc-story-scene--burden { gap: 10px; }
#medical-card .mc-story-scene.is-visible,
#hibah-takaful .mc-story-scene.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.55s ease var(--scene-delay, 0ms),
    transform 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  #medical-card .mc-story-scene.is-visible:hover,
  #hibah-takaful .mc-story-scene.is-visible:hover {
    transform: translateY(-5px);
  }
  #medical-card .mc-story-scene.is-visible:hover .mc-story-visual,
  #hibah-takaful .mc-story-scene.is-visible:hover .mc-story-visual {
    box-shadow: 0 18px 42px rgba(26, 26, 26, 0.14);
  }
  #medical-card .mc-story-scene.is-visible:hover .mc-story-img,
  #hibah-takaful .mc-story-scene.is-visible:hover .mc-story-img {
    transform: translateY(var(--img-parallax-y, 0px)) scale(1.04);
  }
}
#medical-card .mc-story-scene.is-visible.is-pressed,
#hibah-takaful .mc-story-scene.is-visible.is-pressed {
  transform: translateY(-5px);
}
#medical-card .mc-story-scene.is-visible.is-pressed .mc-story-visual,
#hibah-takaful .mc-story-scene.is-visible.is-pressed .mc-story-visual {
  box-shadow: 0 18px 42px rgba(26, 26, 26, 0.14);
}
#medical-card .mc-story-scene.is-visible.is-pressed .mc-story-img,
#hibah-takaful .mc-story-scene.is-visible.is-pressed .mc-story-img {
  transform: translateY(var(--img-parallax-y, 0px)) scale(1.04);
}

#medical-card .mc-story-step,
#hibah-takaful .mc-story-step {
  display: inline-flex; align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-red-soft);
  color: var(--primary-red);
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.08em;
}
@media (min-width: 1024px) {
  #medical-card .mc-story-step,
  #hibah-takaful .mc-story-step { align-self: center; }
}

#medical-card .mc-story-visual,
#hibah-takaful .mc-story-visual {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.1);
  border: 1px solid var(--border-light);
  background: var(--soft-grey);
  aspect-ratio: 4 / 3;
  transition: box-shadow 0.3s ease;
}
#medical-card .mc-story-img,
#hibah-takaful .mc-story-img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translateY(var(--img-parallax-y, 0px)) scale(1);
  transition: transform 0.3s ease;
  will-change: transform;
}
#medical-card .mc-story-visual--burden {
  padding: 0;
  background: linear-gradient(165deg, #252529 0%, #1E1E22 100%);
  aspect-ratio: 4 / 3;
}

#medical-card .mc-story-scene--burden .mc-story-copy {
  margin-top: 2px;
}

#medical-card .mc-story-avoid {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  width: 100%;
}
#medical-card .mc-story-avoid li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.8125rem; line-height: 1.45;
  color: var(--foreground); font-weight: 500;
}
#medical-card .mc-story-avoid-icon { flex-shrink: 0; line-height: 1.35; font-size: 0.75rem; }

#medical-card .mc-story-copy,
#hibah-takaful .mc-story-copy { display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 1024px) {
  #medical-card .mc-story-copy,
  #hibah-takaful .mc-story-copy { text-align: center; align-items: center; }
}
#medical-card .mc-story-scene-title,
#hibah-takaful .mc-story-scene-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem; font-weight: 700;
  letter-spacing: -0.01em; line-height: 1.35;
  color: var(--heading);
}
#medical-card .mc-story-scene-desc,
#hibah-takaful .mc-story-scene-desc {
  margin: 0;
  font-size: 0.8125rem; line-height: 1.55;
  color: var(--text-muted); font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
  #medical-card .mc-story-header,
  #hibah-takaful .mc-story-header,
  #medical-card .mc-story-scene,
  #hibah-takaful .mc-story-scene {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  #medical-card .mc-story-img,
  #hibah-takaful .mc-story-img {
    transform: none !important;
    transition: none !important;
  }
}

#medical-card .mc-hero-heading,
#hibah-takaful .mc-hero-heading { margin-top: 44px; }
@media (min-width: 640px) {
  #medical-card .mc-hero-heading,
  #hibah-takaful .mc-hero-heading { margin-top: 64px; }
}
#medical-card .mc-hero-title,
#hibah-takaful .mc-hero-title {
  margin: 0;
  font-size: 1.375rem; font-weight: 700;
  letter-spacing: 0.04em; line-height: 1.2;
  color: var(--heading);
}
@media (min-width: 640px) {
  #medical-card .mc-hero-title,
  #hibah-takaful .mc-hero-title { font-size: 1.75rem; }
}
#medical-card .mc-hero-sub,
#hibah-takaful .mc-hero-sub {
  margin: 10px 0 0;
  font-size: 1rem; font-weight: 500;
  color: var(--heading); letter-spacing: -0.01em;
}
@media (min-width: 640px) {
  #medical-card .mc-hero-sub,
  #hibah-takaful .mc-hero-sub { font-size: 1.125rem; }
}

#medical-card .mc-plans-section,
#hibah-takaful .mc-plans-section { margin-top: 32px; }
#medical-card .mc-plans-title,
#hibah-takaful .mc-plans-title {
  margin: 0 0 24px;
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.25;
  color: var(--heading);
}
@media (min-width: 640px) {
  #medical-card .mc-plans-title,
  #hibah-takaful .mc-plans-title { font-size: 1.5rem; margin-bottom: 28px; }
}
#medical-card .mc-plans-section .product-grid,
#hibah-takaful .mc-plans-section .product-grid { margin-top: 0; }

/* === Medical Awareness Table === */
.med-awareness { margin-top: 64px; display: flex; flex-direction: column; gap: 32px; }
.med-table {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.med-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.med-row.header { background: var(--deep-charcoal); padding: 16px 24px; }
.med-row.header span { color: var(--heading); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.med-row.header span:last-child { text-align: right; }
.med-row .title { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 600; }
.med-row .treatments { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--foreground); }
.med-row .treatments li { display: flex; align-items: flex-start; gap: 8px; }
.med-row .treatments li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--muted-foreground); margin-top: 8px; flex-shrink: 0; }
.med-row .cost { text-align: right; font-size: 1rem; font-weight: 600; color: var(--primary-red); letter-spacing: -0.01em; }
.med-row:nth-child(odd):not(.header) { background: rgba(200, 205, 211, 0.04); }
.med-row:last-child { border-bottom: 0; }

.med-table.mobile { display: block; }
.med-table.desktop { display: none; }
@media (min-width: 768px) {
  .med-table.mobile { display: none; }
  .med-table.desktop { display: block; }
}
.med-table.mobile .med-row { padding: 10px 8px; gap: 4px; }
.med-table.mobile .med-row.header { padding: 10px 8px; }
.med-table.mobile .med-row.header span { font-size: 10px; }
.med-table.mobile .med-row .title { font-size: 11px; line-height: 1.3; }
.med-table.mobile .med-row .treatments { font-size: 10px; }
.med-table.mobile .med-row .cost { font-size: 11px; }
.disclaimer { text-align: center; font-size: 12px; color: var(--muted-foreground); }

/* === Hospital Panel === */
.hospital-section { margin-top: 64px; display: flex; flex-direction: column; gap: 32px; }
.hospital-scroller { overflow-x: auto; overflow-y: hidden; }
.hospital-scroller::-webkit-scrollbar { display: none; }
.hospital-scroller { -ms-overflow-style: none; scrollbar-width: none; }
.hospital-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: hospital-scroll 45s linear infinite;
}
.hospital-scroller:hover .hospital-track { animation-play-state: paused; }
.hospital-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 240px;
  height: 150px;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 22px;
  box-sizing: border-box;
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hospital-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.hospital-logo {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
}
.hospital-logo img {
  max-width: 68%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
}
.hospital-name {
  flex-shrink: 0;
  margin: 0;
  padding: 0 4px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: #6B7280;
  text-align: center;
  line-height: 1.25;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes hospital-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hospital-note {
  max-width: 768px; margin: 0 auto;
  background: var(--bg-card); padding: 16px 20px;
  border-radius: 22px; text-align: center;
  font-size: 14px; color: var(--text-muted);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

/* Hospital panel carousel — horizontal scroll + auto-slide */
#hospital-panel .hospital-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  container-type: inline-size;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  cursor: grab;
}
#hospital-panel .hospital-scroller.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
#hospital-panel .hospital-scroller.is-paused .hospital-track {
  animation-play-state: paused;
}
#hospital-panel .hospital-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: hospital-scroll 45s linear infinite;
  will-change: transform;
}
@container (max-width: 767px) {
  #hospital-panel .hospital-card {
    width: calc((100cqw - 20px) / 2);
    height: auto;
    aspect-ratio: 240 / 150;
  }
  #hospital-panel .hospital-name {
    font-size: 10px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
@media (max-width: 767px) {
  #hospital-panel .hospital-scroller {
    scroll-snap-type: x proximity;
  }
  #hospital-panel .hospital-card {
    scroll-snap-align: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  #hospital-panel .hospital-track {
    animation: none;
  }
}

/* === Medical Card content flow (FAKTA → KOS → HOSPITAL → CALCULATOR) === */
#medical-card .medical-flow-section {
  max-width: 100%;
  overflow-x: hidden;
}
#medical-card .med-awareness.medical-flow-section {
  margin-top: 40px;
}
#medical-card .hospital-section.medical-flow-section {
  margin-top: 40px;
}
#medical-card .medical-calculator-card.medical-flow-section {
  margin-top: 40px;
}
#medical-card .med-table {
  max-width: 100%;
  box-sizing: border-box;
}
#medical-card .med-table .med-row {
  min-width: 0;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  /* Kos Rawatan: one compact bordered table on mobile */
  #kos-rawatan .med-table.mobile {
    display: block;
    width: 100%;
    max-width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    box-sizing: border-box;
  }
  #kos-rawatan .med-table.mobile .med-row {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) minmax(0, 0.9fr);
    gap: 6px;
    padding: 10px 8px;
    min-width: 0;
    box-sizing: border-box;
    align-items: start;
  }
  #kos-rawatan .med-table.mobile .med-row.header {
    background: var(--primary-red-muted);
    border-bottom: 1px solid var(--primary-red-border);
    padding: 10px 8px;
  }
  #kos-rawatan .med-table.mobile .med-row.header span {
    color: var(--primary-red);
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  #kos-rawatan .med-table.mobile .med-row.header span:last-child {
    text-align: right;
  }
  #kos-rawatan .med-table.mobile .med-row:not(.header) {
    border-bottom: 1px solid var(--border);
  }
  #kos-rawatan .med-table.mobile .med-row:not(.header):nth-child(even) {
    background: rgba(200, 205, 211, 0.04);
  }
  #kos-rawatan .med-table.mobile .med-row:last-child {
    border-bottom: none;
  }
  #kos-rawatan .med-table.mobile .med-row .title {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 600;
    min-width: 0;
  }
  #kos-rawatan .med-table.mobile .med-row .title span:first-child {
    flex-shrink: 0;
    font-size: 12px;
    line-height: 1.2;
  }
  #kos-rawatan .med-table.mobile .med-row .title span:last-child {
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
  }
  #kos-rawatan .med-table.mobile .med-row .treatments {
    font-size: 9px;
    line-height: 1.35;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
  }
  #kos-rawatan .med-table.mobile .med-row .treatments li {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  #kos-rawatan .med-table.mobile .med-row .treatments li::before {
    width: 3px;
    height: 3px;
    margin-top: 5px;
    background: var(--primary-red);
    opacity: 0.6;
    flex-shrink: 0;
  }
  #kos-rawatan .med-table.mobile .med-row .cost {
    font-size: 9px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--primary-red);
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
.why-section { margin-top: 40px; }
.why-list { max-width: 640px; margin: 24px auto 0; display: flex; flex-direction: column; gap: 10px; }
.why-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); padding: 10px 16px;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}
.why-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.why-check {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--emerald-50);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--emerald-700); font-size: 14px; flex-shrink: 0;
}
.why-item .text { font-size: 14px; font-weight: 500; }

/* === FAQ === */
.faq-section { margin-top: 40px; }
.faq-list { max-width: 640px; margin: 32px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}
.faq-item:hover { box-shadow: var(--shadow-card-hover); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; text-align: left; font-size: 14px; font-weight: 600;
  color: var(--heading);
}
.faq-q svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--muted-foreground); transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 20px;
  font-size: 14px;
  line-height: var(--leading-relaxed);
  color: var(--muted-foreground);
  font-weight: 400;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease 0.04s, padding 0.38s ease;
}
.faq-item.open .faq-a {
  max-height: 280px;
  opacity: 1;
  padding: 0 20px 16px;
}
@media (prefers-reduced-motion: reduce) {
  .faq-a { transition: none; }
  .faq-item:not(.open) .faq-a { max-height: 0; opacity: 0; padding: 0 20px; }
}
.faq-cta {
  max-width: 640px; margin: 40px auto 0;
  background: var(--bg-card); color: var(--heading);
  padding: 32px; border-radius: 22px; text-align: center;
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-card);
}
.faq-cta h4 { font-size: 1.25rem; font-weight: 600; color: var(--heading); line-height: 1.25; letter-spacing: -0.012em; }
.faq-cta p { margin: 12px auto 0; max-width: 440px; font-size: 14px; line-height: var(--leading-body); color: var(--text-muted); font-weight: 400; }
.faq-cta .btn { margin-top: 24px; }

/* === Smart Form === */
.smart-form { padding: 48px 0; background: transparent; }
@media (min-width: 640px) { .smart-form { padding: 72px 0; } }
.career-section .smart-form { padding: 48px 0 8px; }
@media (min-width: 640px) { .career-section .smart-form { padding: 64px 0 8px; } }
#takaful-needs-form[hidden] { display: none !important; }

.smart-form .container {
  max-width: 768px;
  background: var(--bg-card);
  border-radius: 28px;
  padding: 55px 40px;
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.08);
  border: 1px solid var(--gold-border);
}
@media (max-width: 639px) {
  .smart-form .container {
    padding: 25px 16px;
    border-radius: 22px;
  }
  .smart-form .section-title { font-size: 1.5rem; }
}

.smart-form .section-title { color: var(--heading); }
.smart-form .section-sub { color: var(--text-muted); }

.smart-form form {
  margin-top: 32px;
  background: var(--bg-card);
  color: var(--text-dark);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gold-border);
}
@media (min-width: 640px) { .smart-form form { padding: 32px; } }

.smart-form .form-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .smart-form .form-grid { grid-template-columns: 1fr 1fr; } }
.smart-form .form-grid .full { grid-column: 1 / -1; }

.smart-form .form-label {
  display: block; margin-bottom: 6px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--foreground);
}
.smart-form .form-input {
  width: 100%; padding: 10px 16px; font-size: 14px;
  background: var(--bg); color: var(--foreground);
  border: 1px solid var(--gold-border); border-radius: 12px;
  box-sizing: border-box;
}
.smart-form .form-input::placeholder { color: var(--text-muted); }
.smart-form .form-input:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 4px rgba(200, 205, 211, 0.10);
}
.smart-form select.form-input { appearance: none; }
.smart-form select.form-input option { background: var(--bg-card); color: var(--foreground); }

.smart-form .submit {
  margin-top: 28px;
  background: var(--btn-gradient);
  color: var(--on-silver);
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow-btn-primary);
}
.smart-form .submit:hover {
  background: var(--btn-gradient-hover);
  transform: translateY(-2px);
}

/* === Footer === */
.site-footer { border-top: 1px solid var(--gold-border); background: var(--bg); color: var(--heading); }
.site-footer .container { padding-top: 48px; padding-bottom: 48px; }
.footer-grid { display: grid; gap: 40px; align-items: start; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr minmax(0, 300px);
    gap: 24px 28px;
  }
}
.footer-grid .col { display: flex; flex-direction: column; gap: 12px; align-self: start; }
.footer-grid .col:has(.footer-brand) {
  align-items: center;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}
.footer-pru-logo {
  display: block;
  height: 80px;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
}
@media (min-width: 640px) { .footer-pru-logo { height: 96px; } }
.footer-agency-logo {
  display: block;
  max-width: 140px;
  width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.footer-grid .name { font-size: 1rem; font-weight: 500; color: var(--heading); line-height: 1.2; letter-spacing: -0.014em; }
.footer-grid .role { font-size: 14px; color: var(--text-muted); font-weight: 400; line-height: var(--leading-body); }
.footer-grid h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--heading); }
.footer-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--foreground); transition: color .15s; }
.footer-link:hover { color: var(--primary-red); }
.footer-link.wa { color: var(--emerald); }
.footer-link.wa:hover { color: var(--silver-hi); }
.footer-social {
  display: flex; align-items: center; gap: 12px; margin-top: 8px;
}
.footer-social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(200, 205, 211, 0.12); color: var(--gold);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.footer-social-link i { font-size: 20px; line-height: 1; }
.footer-social-link:hover {
  background: rgba(217, 222, 229, 0.14);
  color: var(--silver-hi);
  transform: scale(1.08);
}
.footer-quick li a { color: var(--foreground); font-size: 14px; transition: color .15s; }
.footer-quick li a:hover { color: var(--primary-red); }
.footer-quick li { padding: 4px 0; }
.footer-office {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 100%;
}
.footer-col-office .footer-office {
  margin-top: 0;
}
.footer-office-card {
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 100%;
  overflow: hidden;
}
.footer-office-address {
  font-style: normal;
  font-size: 12px;
  line-height: 1.35;
  color: var(--foreground);
  font-weight: 400;
}
.footer-office-map {
  width: 100%;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--soft-grey);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.footer-office-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.footer-office-map-btn {
  text-align: center;
  padding: 8px 12px;
  font-size: 12px;
  min-height: 38px;
}
@media (min-width: 768px) {
  .footer-col-office {
    max-width: 300px;
  }
  .footer-col-office .footer-office,
  .footer-col-office .footer-office-card {
    width: 100%;
    max-width: 300px;
  }
  .footer-col-office .footer-office-map {
    height: 130px;
  }
  .footer-col-office .footer-office-map-btn {
    min-height: 40px;
    font-size: 13px;
  }
}
@media (max-width: 639px) {
  .footer-office {
    gap: 6px;
    max-width: 100%;
  }
  .footer-office-card {
    padding: 10px;
    gap: 8px;
    border-radius: 10px;
  }
  .footer-office-address {
    font-size: 12px;
    line-height: 1.35;
  }
  .footer-office-map {
    height: clamp(110px, 32vw, 125px);
    border-radius: 8px;
  }
  .footer-office-map-btn {
    padding: 8px 12px;
    font-size: 12px;
    min-height: 38px;
  }
}
.copyright {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--gold-border);
  text-align: center; font-size: 12px; color: var(--text-muted);
}

/* === Modal === */
.modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.5); align-items: center; justify-content: center;
  padding: 16px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--bg-card); max-width: 520px; width: 100%;
  max-height: 85vh; overflow-y: auto;
  border-radius: 22px; padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}
.modal h3 { font-size: 1.25rem; font-weight: 600; padding-right: 32px; color: var(--heading); line-height: 1.25; letter-spacing: -0.015em; }
.modal-close {
  position: absolute; right: 32px; margin-top: -4px;
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted-foreground); font-size: 24px; line-height: 1;
}
.modal-close:hover { background: var(--muted); }
.modal-section { margin-top: 24px; }
.pricing-box { background: var(--muted); border-radius: 16px; padding: 20px; border: 1px solid var(--border); }
.pricing-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); padding: 10px 16px; border-radius: 12px;
  font-size: 14px; margin-top: 8px;
  border: 1px solid var(--border);
}
.pricing-row:first-of-type { margin-top: 0; }
.pricing-row .val { font-weight: 600; color: var(--primary-red); letter-spacing: -0.01em; }
.contoh-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--muted); padding: 10px 16px;
  border-radius: 12px; font-size: 14px; margin-top: 8px;
  border: 1px solid var(--border);
}
.contoh-row:first-of-type { margin-top: 0; }
.modal h4 {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted-foreground); margin-bottom: 12px;
}
.modal .benefit-list li { color: var(--foreground); }
.modal .sesuai-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; padding: 3px 0; }
.modal .sesuai-list li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary-red); margin-top: 8px; flex-shrink: 0;
}
.modal-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; padding-top: 8px; }

/* Comparison table (Medical modal) */
.comparison-wrap { overflow-x:auto; border:1px solid var(--border); border-radius:14px; }
.comparison-table { width:100%; border-collapse:collapse; font-size:.875rem; }
.comparison-table th { background:var(--muted); text-align:left; padding:.55rem .75rem; font-weight:600; color:var(--heading); border-bottom: 1px solid var(--border); }
.comparison-table td { padding:.55rem .75rem; color:var(--foreground); border-bottom: 1px solid var(--border); }
.comparison-table tr.odd td { background: rgba(200, 205, 211, 0.04); }

/* PRUBSN Anggun & similar cards — subtitle + pricing highlight */
.card-subtitle {
  margin: -0.35rem 0 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pricing-highlight {
  border-radius: 16px;
  border: 1px solid rgba(200, 205, 211, 0.35);
  background: var(--primary-red-soft);
  padding: 0.9rem 1rem;
}
.pricing-highlight-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pricing-highlight-value {
  margin: 0.25rem 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary-red);
  letter-spacing: -0.012em;
  line-height: 1.2;
}
@media (max-width: 640px) {
  .pricing-highlight { padding: 0.75rem 0.85rem; }
  .pricing-highlight-value { font-size: 1rem; }
}

/* === Header right & hamburger === */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  gap: 4px;
  padding: 10px;
  transition: background 0.3s ease, border-color 0.3s ease;
  border: 1px solid var(--gold-border);
  flex-shrink: 0;
}
.hamburger:hover { background: var(--bg); border-color: var(--gold); }
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .hamburger { display: none; }
}

/* Off-canvas sidebar navigation */
body.menu-open {
  overflow: hidden;
  touch-action: none;
}

.mobile-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(26, 26, 26, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 300ms ease, visibility 300ms ease;
}
.mobile-sidebar-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-sidebar-backdrop[hidden] {
  display: block !important;
}

.mobile-sidebar {
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  width: 80%;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 36px;
  background: var(--bg-card);
  border-radius: 24px 0 0 24px;
  box-shadow: -16px 0 48px rgba(26, 26, 26, 0.14),
              -4px 0 16px rgba(26, 26, 26, 0.06);
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  .mobile-sidebar {
    width: 340px;
    padding: 24px 24px 40px;
  }
}
.mobile-sidebar.is-open {
  transform: translateX(0);
}
.mobile-sidebar[hidden] {
  display: flex !important;
}

.mobile-sidebar-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.mobile-sidebar-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--soft-grey);
  color: var(--text-dark);
  font-size: 18px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.mobile-sidebar-close:hover {
  background: rgba(217, 222, 229, 0.12);
  border-color: var(--silver);
  color: var(--silver-hi);
  transform: scale(1.04);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease, transform 0.2s ease;
}
.sidebar-link:hover {
  background: var(--soft-grey);
  color: var(--foreground);
  transform: translateX(2px);
}
.sidebar-link:hover .sidebar-link-icon {
  background: var(--primary-red-muted);
  color: var(--primary-red);
}
.sidebar-link.active {
  background: var(--btn-gradient);
  color: var(--on-silver);
  font-weight: 600;
}
.sidebar-link.active .sidebar-link-icon {
  background: rgba(17, 17, 17, 0.08);
  color: var(--on-silver);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
}

.sidebar-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-red-muted);
  color: var(--primary-red);
  font-size: 16px;
  flex-shrink: 0;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.sidebar-link-text {
  line-height: 1.35;
}
.sidebar-link-text--stacked {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sidebar-link-title {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
}
.sidebar-link-sub {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-muted);
}
.sidebar-link:hover .sidebar-link-sub,
.sidebar-link.active .sidebar-link-sub {
  color: inherit;
  opacity: 0.88;
}

/* === Medical Card Calculator === */
.medical-calculator-card {
  margin-top: 48px;
  max-width: 100%;
  overflow-x: hidden;
}

.mc-plan-grid button small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-top: 3px;
  line-height: 1.2;
  opacity: 0.85;
}
.mc-plan-grid button.active small {
  color: rgba(5, 5, 5, 0.78);
}

.mc-result.mc-result-animate {
  animation: mcResultIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes mcResultIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.mc-benefits-summary {
  list-style: none;
  margin: 16px 0 0;
  padding: 16px;
  background: var(--soft-grey);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  text-align: left;
}
.mc-benefits-summary li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--foreground);
  line-height: 1.4;
}
.mc-benefits-summary li:last-child { border-bottom: none; }
.mc-benefits-summary li.mc-benefits-heading {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border-light);
}
.mc-benefits-summary li b {
  font-weight: 600;
  color: var(--heading);
  text-align: right;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .mc-result.mc-result-animate { animation: none; }
}

.medical-calculator-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--heading);
  line-height: 1.25;
}
@media (min-width: 640px) { .medical-calculator-title { font-size: 1.875rem; } }

.medical-calculator-sub {
  margin-top: 12px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: var(--leading-body);
  font-weight: 400;
}

.medical-calculator-form { margin-top: 28px; }

.medical-calculator-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .medical-calculator-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.medical-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--heading);
}

.medical-option-toggle {
  display: flex;
  gap: 10px;
}
.medical-option-toggle .medical-option-btn {
  flex: 1;
  min-height: 48px;
  padding: 12px 10px;
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--foreground);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--primary-red);
  transition: all .2s;
  text-align: center;
}
.medical-option-toggle .medical-option-btn:hover { background: var(--primary-red-soft); }
.medical-option-toggle .medical-option-btn.active {
  background: var(--btn-gradient);
  color: var(--on-silver);
  border-color: var(--silver);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.medical-age-slider {
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.medical-age-display {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 12px;
}
.medical-age-display b {
  color: var(--heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-left: 4px;
  letter-spacing: -0.015em;
}
.medical-age-slider-input {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--gold) var(--pct,30%), #EEEEEE var(--pct,30%));
  outline: none;
}
.medical-age-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(17, 17, 17, 0.12);
  cursor: pointer;
}
.medical-age-slider-input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.15);
  cursor: pointer;
}
.medical-age-slider-range {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 8px;
}

.medical-option-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
.medical-plan-grid {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 480px) {
  .medical-plan-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) {
  .medical-plan-grid { grid-template-columns: repeat(2, 1fr); }
}
.medical-coverage-grid {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 480px) {
  .medical-coverage-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) {
  .medical-coverage-grid { grid-template-columns: repeat(2, 1fr); }
}

.medical-option-grid .medical-option-btn {
  min-height: 56px;
  padding: 12px 8px;
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--foreground);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--primary-red);
  transition: all .2s;
  text-align: center;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.medical-option-grid .medical-option-btn:hover {
  background: var(--primary-red-soft);
  transform: translateY(-1px);
}
.medical-option-grid .medical-option-btn.active {
  background: var(--gold);
  color: var(--on-gold);
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(200, 205, 211, 0.22);
}
.medical-option-grid .medical-option-btn .medical-plan-name {
  display: block;
  font-weight: 600;
  font-size: 14px;
}
.medical-option-grid .medical-option-btn .medical-plan-price {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: var(--muted-foreground);
  margin-top: 3px;
}
.medical-option-grid .medical-option-btn.active .medical-plan-price {
  color: rgba(17, 17, 17, 0.72);
}

.medical-calculate-btn {
  margin-top: 24px;
  border-radius: 12px;
}

.medical-result-card {
  margin-top: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.medical-result-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-foreground);
  font-weight: 600;
}
.medical-result-price {
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 8px 0 4px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--foreground);
  line-height: 1.05;
}
.medical-result-price .rm { font-size: 1.35rem; color: var(--primary-red); }
.medical-result-price .per { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.medical-result-year {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 4px;
}
.medical-result-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.medical-result-meta li {
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
  padding: 6px 14px;
  background: var(--primary-red-soft);
  border: 1px solid rgba(200, 205, 211, 0.35);
  border-radius: 999px;
}
.medical-breakdown-btn {
  margin-top: 18px;
  border-radius: 12px;
}

.medical-disclaimer {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: var(--leading-relaxed);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

/* Breakdown modal list */
.mc-breakdown-list { display: grid; gap: 8px; margin-top: 8px; }
.mc-breakdown-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 14px; background: var(--muted); border-radius: 12px;
  font-size: 14px;
}
.mc-breakdown-list li b { color: var(--heading); }
.mc-breakdown-list li.not-covered {
  background: var(--muted);
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}
.mc-breakdown-list li.not-covered b { color: var(--text-muted); }

/* === Hibah Takaful Calculator === */
.hb-calc {
  margin-top: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 28px 20px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}
@media (min-width: 640px) { .hb-calc { padding: 40px; } }

.hb-calc-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--heading);
  line-height: 1.25;
}
@media (min-width: 640px) { .hb-calc-title { font-size: 1.875rem; } }

.hb-calc-sub {
  margin-top: 12px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: var(--leading-body);
  font-weight: 400;
}

.hb-calc-form { margin-top: 28px; }

.hb-calc-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .hb-calc-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.hb-calc-grid .full { grid-column: 1 / -1; }

.hb-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--heading);
}

.hb-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.hb-input:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 4px rgba(200, 205, 211, 0.10);
}

.hb-toggle {
  display: flex;
  gap: 10px;
}
.hb-toggle button {
  flex: 1;
  padding: 12px 10px;
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--foreground);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--primary-red);
  transition: all .2s;
}
.hb-toggle button:hover { background: var(--primary-red-soft); }
.hb-toggle button.active {
  background: var(--btn-gradient);
  color: var(--on-silver);
  border-color: var(--silver);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}
.hb-toggle-plan button.active {
  background: var(--btn-gradient);
  color: var(--on-silver);
  border-color: var(--silver);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.hb-toggle-plan { flex-direction: column; }
@media (min-width: 480px) { .hb-toggle-plan { flex-direction: row; } }

.hb-coverage {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .hb-coverage { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .hb-coverage { grid-template-columns: repeat(5, 1fr); }
}
.hb-coverage button {
  padding: 14px 8px;
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--foreground);
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--primary-red);
  transition: all .2s;
  text-align: center;
  line-height: 1.25;
}
.hb-coverage button:hover { background: var(--primary-red-soft); transform: translateY(-1px); }
.hb-coverage button.active {
  background: var(--gold);
  color: var(--on-gold);
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(200, 205, 211, 0.22);
}

.hb-submit { margin-top: 24px; border-radius: 12px; }

.hb-result {
  margin-top: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.hb-result-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-foreground);
  font-weight: 600;
}
.hb-result-price {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 8px 0 16px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--foreground);
  line-height: 1.05;
}
.hb-result-price .rm { font-size: 1.35rem; color: var(--primary-red); }
.hb-result-price .per { font-size: 1rem; font-weight: 500; color: var(--text-muted); }

.hb-result-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hb-result-meta li {
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
  padding: 6px 14px;
  background: var(--primary-red-soft);
  border: 1px solid rgba(200, 205, 211, 0.35);
  border-radius: 999px;
}

.hb-disclaimer {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: var(--leading-relaxed);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}
.hb-quote-btn,
.mc-quote-btn,
.calc-result-cta {
  margin-top: 20px;
  color: var(--on-silver) !important;
  background: var(--btn-gradient) !important;
  border-radius: 16px;
  box-shadow: var(--shadow-btn-primary);
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}
.hb-quote-btn:hover,
.mc-quote-btn:hover,
.calc-result-cta:hover {
  background: var(--btn-gradient-hover) !important;
  color: var(--on-silver) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38);
}
.medical-breakdown-btn {
  margin-top: 12px;
  border-radius: 16px;
  background: transparent !important;
  color: var(--silver) !important;
  border: 1px solid rgba(200, 205, 211, 0.55) !important;
  box-shadow: none !important;
}
.medical-breakdown-btn:hover {
  background: rgba(217, 222, 229, 0.08) !important;
  border-color: var(--silver-hi) !important;
  color: var(--silver-hi) !important;
  transform: none;
}

/* ============ HEALTH STATS ============ */
.health-stats { padding: 48px 0 24px; background: var(--bg); }
@media (min-width: 640px) { .health-stats { padding: 64px 0 32px; } }
.hs-header { text-align: center; }
.hs-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--bg); color: var(--heading);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  border: 1px solid var(--gold-border);
  font-family: var(--font-sans);
  text-transform: uppercase;
}
.hs-badge i { color: var(--gold); }
.hs-title {
  margin-top: 14px;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--heading); line-height: 1.25;
}
.hs-sub {
  margin: 12px auto 0; max-width: 640px;
  color: var(--muted-foreground);
  font-size: clamp(.9rem, 1.4vw, 1.05rem); line-height: var(--leading-body);
  font-weight: 400;
}
.hs-grid {
  margin-top: 28px;
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) { .hs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .hs-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.hs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
@media (hover: hover) {
  .hs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
}
.hs-icon { animation: hs-float 4s ease-in-out infinite; font-size: 46px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", emoji, sans-serif; }
.hs-icon-emoji { display: inline-block; }
@keyframes hs-float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-4px);} }
.hs-num {
  margin-top: 4px;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  font-weight: 600; color: var(--heading); line-height: 1.15;
  letter-spacing: -0.018em;
  font-variant-numeric: tabular-nums;
}
.hs-card-title {
  font-size: clamp(.9rem, 1.3vw, 1rem);
  font-weight: 600; color: var(--heading); line-height: 1.16667;
  letter-spacing: -0.012em;
}
.hs-unit {
  display: block;
  font-size: 11px; font-weight: 600;
  color: var(--muted-foreground);
  margin-top: 2px;
  letter-spacing: .02em;
}
.hs-desc {
  font-size: clamp(.75rem, 1.1vw, .85rem);
  color: var(--muted-foreground); line-height: 1.45;
}
.hs-source {
  margin-top: auto; padding-top: 6px;
  font-size: 10px; font-style: italic; line-height: 1.3;
  color: var(--muted-foreground);
}

/* Mobile compact 2x2 layout for Fakta Risiko cards */
@media (max-width: 767px) {
  .hs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
  }
  .hs-card {
    padding: 12px 10px;
    border-radius: 16px;
    gap: 6px;
  }
  .hs-icon { font-size: 34px; }
  .hs-num { font-size: 1.35rem; margin-top: 2px; }
  .hs-unit { font-size: 10px; margin-top: 1px; }
  .hs-card-title { font-size: .82rem; line-height: 1.2; }
  .hs-desc { font-size: .68rem; line-height: 1.35; }
  .hs-source { font-size: 9px; padding-top: 4px; }
}

/* Fakta Risiko — premium card micro-interactions (#catalogue-fakta only) */
#catalogue-fakta .hs-card {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
#catalogue-fakta .hs-icon {
  animation: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) and (pointer: fine) {
  #catalogue-fakta .hs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(26, 26, 26, 0.11), 0 6px 16px rgba(200, 205, 211, 0.07);
  }
  #catalogue-fakta .hs-card:hover .hs-icon {
    transform: translateY(-3px) scale(1.04);
  }
}
@media (hover: none) {
  #catalogue-fakta .hs-card:active {
    transform: scale(0.98);
    box-shadow: 0 8px 20px rgba(26, 26, 26, 0.08);
  }
  #catalogue-fakta .hs-card:active .hs-icon {
    transform: scale(0.96);
  }
}
@media (prefers-reduced-motion: reduce) {
  #catalogue-fakta .hs-card,
  #catalogue-fakta .hs-icon {
    transition: none;
  }
  #catalogue-fakta .hs-card:hover,
  #catalogue-fakta .hs-card:active {
    transform: none;
    box-shadow: var(--shadow-card);
  }
  #catalogue-fakta .hs-card:hover .hs-icon,
  #catalogue-fakta .hs-card:active .hs-icon {
    transform: none;
  }
}

/* === Pengiktirafan Tab === */
.pengiktirafan-section { padding: 8px 0 24px; overflow-x: clip; }
.pengiktirafan-layout {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 992px) {
  .pengiktirafan-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 40px;
  }
}
.pengiktirafan-copy { text-align: center; }
@media (min-width: 992px) {
  .pengiktirafan-copy { text-align: left; }
}
.pengiktirafan-title {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.2;
  color: var(--heading);
}
@media (min-width: 640px) {
  .pengiktirafan-title { font-size: 2rem; }
}
.pengiktirafan-subheading {
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-red);
  line-height: 1.4;
}
.pengiktirafan-desc {
  margin-top: 14px;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: var(--leading-relaxed);
  color: var(--muted-foreground);
  max-width: 34rem;
}
@media (min-width: 992px) {
  .pengiktirafan-desc { margin-left: 0; margin-right: 0; }
}
.pengiktirafan-carousel-block {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0 48px;
}
@media (max-width: 639px) {
  .pengiktirafan-carousel-block { padding: 0 40px; }
}
.pengiktirafan-carousel-stage {
  position: relative;
  width: 100%;
  min-width: 0;
}
.pengiktirafan-carousel-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.pengiktirafan-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.pengiktirafan-carousel-viewport {
  touch-action: pan-y;
  cursor: grab;
}
.pengiktirafan-carousel-viewport.is-dragging {
  cursor: grabbing;
}
.pengiktirafan-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pengiktirafan-image-card {
  display: block;
  width: 100%;
  max-width: min(100%, 260px);
  margin: 0 auto;
  padding: 16px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  background: var(--bg-card);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
@media (min-width: 640px) {
  .pengiktirafan-image-card {
    max-width: min(100%, 300px);
    padding: 18px;
  }
}
@media (min-width: 992px) {
  .pengiktirafan-image-card {
    max-width: min(100%, 320px);
    padding: 20px;
  }
}
@media (hover: hover) {
  .pengiktirafan-image-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
    border-color: #fff;
  }
}
.pengiktirafan-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  margin: 0;
  overflow: hidden;
  line-height: 0;
  background: transparent;
  box-sizing: border-box;
}
.pengiktirafan-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.3s ease;
}
@media (hover: hover) {
  .pengiktirafan-image-card:hover img { transform: scale(1.008); }
}
.pengiktirafan-image-caption {
  padding: 12px 16px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  text-align: center;
  line-height: 1.35;
}
.pengiktirafan-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.5;
}
.pengiktirafan-empty i {
  display: block;
  font-size: 28px;
  color: var(--primary-red);
  margin-bottom: 12px;
  opacity: 0.75;
}
.pengiktirafan-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(26, 26, 26, 0.1);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
  cursor: pointer;
}
@media (min-width: 640px) {
  .pengiktirafan-arrow { width: 40px; height: 40px; }
}
.pengiktirafan-arrow.prev { left: -44px; }
.pengiktirafan-arrow.next { right: -44px; }
@media (max-width: 639px) {
  .pengiktirafan-arrow.prev { left: -36px; }
  .pengiktirafan-arrow.next { right: -36px; }
}
.pengiktirafan-arrow:hover:not(:disabled) {
  background: rgba(217, 222, 229, 0.12);
  border-color: var(--silver);
  color: var(--silver-hi);
}
.pengiktirafan-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.pengiktirafan-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.pengiktirafan-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(200, 205, 211, 0.28);
  cursor: pointer;
  transition: all 0.25s ease;
}
.pengiktirafan-dot.active {
  background: var(--primary-red);
  transform: scale(1.15);
}
.pengiktirafan-dot:hover:not(.active) { background: rgba(200, 205, 211, 0.45); }

.pengiktirafan-lightbox {
  position: fixed; inset: 0; z-index: 1100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.pengiktirafan-lightbox[hidden] { display: none !important; }
.pengiktirafan-lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
}
.pengiktirafan-lightbox-inner {
  position: relative; z-index: 1;
  max-width: 920px; width: 100%;
  animation: lightboxIn 0.3s ease;
}
@keyframes lightboxIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.pengiktirafan-lightbox-figure { margin: 0; }
.pengiktirafan-lightbox-figure img {
  display: block; width: 100%; max-height: 78vh;
  object-fit: contain; margin: 0 auto;
  border-radius: 16px; background: transparent;
  -webkit-user-drag: none;
  user-select: none;
  touch-action: pan-y;
}
.pengiktirafan-lightbox-figure figcaption {
  display: none;
}
.pengiktirafan-lightbox-close {
  position: absolute; top: -48px; right: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.15); color: #fff;
  border: 0; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.pengiktirafan-lightbox-close:hover { background: rgba(217, 222, 229, 0.18); }
.pengiktirafan-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.15); color: #fff;
  border: 0; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.pengiktirafan-lightbox-nav:hover { background: rgba(217, 222, 229, 0.18); }
.pengiktirafan-lightbox-nav.prev { left: -56px; }
.pengiktirafan-lightbox-nav.next { right: -56px; }
@media (max-width: 768px) {
  .pengiktirafan-lightbox-nav.prev { left: 8px; }
  .pengiktirafan-lightbox-nav.next { right: 8px; }
  .pengiktirafan-lightbox-close { top: 8px; right: 8px; background: rgba(0, 0, 0, 0.5); }
}

/* Why Choose PBT (inside Pengiktirafan tab) — checklist layout */
.why-choose-pbt {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border-light);
}
@media (min-width: 768px) {
  .why-choose-pbt { margin-top: 64px; padding-top: 64px; }
}
.why-choose-header { margin-bottom: 28px; }
@media (min-width: 768px) { .why-choose-header { margin-bottom: 36px; } }
.why-choose-title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--heading);
  line-height: 1.25;
}
@media (min-width: 640px) {
  .why-choose-title { font-size: 1.625rem; }
}
.why-choose-checklist {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-choose-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(26, 26, 26, 0.04);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease var(--reveal-delay, 0ms),
    transform 0.5s ease var(--reveal-delay, 0ms),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.why-choose-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: hover) and (pointer: fine) {
  .why-choose-row.is-visible:hover {
    transform: translateX(3px) translateY(-2px);
    box-shadow: 0 8px 22px rgba(26, 26, 26, 0.07);
    border-color: var(--gold-hi);
  }
}
.why-choose-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(200, 205, 211, 0.12);
  color: #D9DEE5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
}
.why-choose-row-body {
  flex: 1;
  min-width: 0;
}
.why-choose-row-title {
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.why-choose-emoji {
  margin-right: 4px;
}
.why-choose-row-desc {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-muted);
}
@media (min-width: 640px) {
  .why-choose-row { padding: 18px 22px; gap: 16px; }
  .why-choose-row-title { font-size: 1rem; }
  .why-choose-row-desc { font-size: 0.875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .why-choose-row {
    opacity: 1;
    transform: none;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
  }
  .why-choose-row.is-visible:hover { transform: none; }
}

/* === Quotation Modal === */
body.quote-modal-open {
  overflow: hidden;
  touch-action: none;
}

.quote-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.quote-popup-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.quote-popup-backdrop[hidden] { display: none !important; }

.quote-popup {
  --turquoise: #D9DEE5;
  --turquoise-hover: #E6E8EB;
  --turquoise-soft: rgba(200, 205, 211, 0.12);
  --navy: #111111;
  --border-soft: rgba(200, 205, 211, 0.28);
  --prudential-red: #D9DEE5;
  position: relative;
  width: 92%;
  max-width: 900px;
  max-height: 90vh;
  background: var(--bg-card);
  border-radius: 28px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32), 0 12px 32px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}
.quote-popup-backdrop.is-open .quote-popup {
  transform: scale(1);
  opacity: 1;
}

.quote-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 12;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--heading);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.quote-popup-close:hover {
  background: rgba(200, 205, 211, 0.10);
  color: var(--primary-red);
  border-color: var(--gold);
}

.quote-popup-scroll {
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 28px 22px 28px;
}
@media (min-width: 640px) {
  .quote-popup-scroll { padding: 36px 40px 40px; }
}

.quote-modal-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 18px;
  padding-right: 28px;
}
.quote-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--turquoise-soft, rgba(200, 205, 211, 0.10));
  color: var(--turquoise, #D9DEE5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.quote-modal-header h2 {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
}
@media (min-width: 640px) {
  .quote-modal-header h2 { font-size: 1.875rem; }
}
.quote-modal-header p:not(.quote-hero-badge) {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.quote-info-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 auto 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(200, 205, 211, 0.10);
  border: 1px solid rgba(200, 205, 211, 0.28);
}
.quote-info-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 205, 211, 0.14);
  color: var(--turquoise, #D9DEE5);
  font-size: 11px;
  margin-top: 1px;
}
.quote-info-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
}
.quote-info-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--foreground);
  line-height: 1.5;
  margin: 0;
}
.quote-info-note {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 6px 0 0;
  font-style: italic;
}

.quote-popup .quote-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  max-width: none;
  overflow: visible;
}
.quote-progress { padding: 8px 0 0; }
.quote-progress-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--turquoise, #D9DEE5);
  margin-bottom: 20px;
}
.quote-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
}
.quote-step-item {
  flex: 1;
  max-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.quote-step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 20px);
  width: calc(100% - 40px);
  height: 3px;
  background: var(--border-light);
  border-radius: 999px;
  z-index: -1;
}
.quote-step-item.completed:not(:last-child)::after {
  background: var(--turquoise, #D9DEE5);
}
.quote-step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  color: var(--text-muted);
}
.quote-step-item.active .quote-step-dot {
  border-color: var(--primary-red);
  background: var(--primary-red);
  color: var(--on-gold);
  box-shadow: 0 6px 16px rgba(200, 205, 211, 0.32);
}
.quote-step-item.completed .quote-step-dot {
  border-color: var(--turquoise, #D9DEE5);
  background: var(--turquoise-soft, rgba(200, 205, 211, 0.10));
  color: var(--turquoise, #D9DEE5);
}
.quote-step-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
}
@media (min-width: 640px) {
  .quote-step-name { font-size: 12px; }
}
.quote-step-item.active .quote-step-name,
.quote-step-item.completed .quote-step-name {
  color: var(--navy);
  font-weight: 700;
}

.quote-body { padding: 24px 0 0; }
.quote-panel { display: none; }
.quote-panel.active {
  display: block;
  animation: quoteFadeIn 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.quote-panel.is-exiting {
  display: block;
  animation: quoteFadeOut 0.18s ease forwards;
}
@keyframes quoteFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes quoteFadeOut {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(-8px); }
}

.quote-panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.quote-panel-sub {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.quote-plans {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .quote-plans { grid-template-columns: 1fr 1fr; gap: 20px; }
}
.quote-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 20px;
  border: 2px solid var(--border-light);
  border-radius: 20px;
  background: var(--bg-card);
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.quote-plan-card:hover {
  border-color: var(--gold-hi);
  transform: translateY(-2px);
}
.quote-plan-card.selected {
  border-color: var(--primary-red);
  background: linear-gradient(135deg, rgba(200, 205, 211, 0.04) 0%, var(--turquoise-soft, rgba(200, 205, 211, 0.10)) 100%);
  box-shadow: 0 12px 32px rgba(200, 205, 211, 0.12);
}
.quote-plan-check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
}
.quote-plan-card.selected .quote-plan-check {
  border-color: var(--primary-red);
  background: var(--primary-red);
  color: var(--on-gold);
}
.quote-plan-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(200, 205, 211, 0.10);
  color: var(--primary-red);
}
.quote-plan-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
}
.quote-plan-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.quote-form {
  margin-top: 24px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .quote-form { grid-template-columns: 1fr 1fr; gap: 22px; }
}
.quote-form .full { grid-column: 1 / -1; }

.quote-popup .quote-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.quote-popup .quote-field label .optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
}

.quote-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  background: var(--bg);
  color: var(--navy);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quote-input:focus {
  outline: none;
  border-color: var(--turquoise, #D9DEE5);
  box-shadow: 0 0 0 4px rgba(200, 205, 211, 0.12);
}
.quote-input.is-error {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 4px rgba(200, 205, 211, 0.1);
}
select.quote-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.quote-popup .quote-toggle {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.quote-popup .quote-toggle button {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
}
.quote-popup .quote-toggle button:hover {
  border-color: var(--turquoise, #D9DEE5);
  color: var(--turquoise, #D9DEE5);
}
.quote-popup .quote-toggle button.active {
  background: var(--turquoise, #D9DEE5);
  border-color: var(--turquoise, #D9DEE5);
  color: var(--on-gold);
  box-shadow: 0 6px 16px rgba(200, 205, 211, 0.28);
}

.quote-error {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-red);
}
.quote-error.visible { display: block; }
.quote-step-error {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(200, 205, 211, 0.06);
  border: 1px solid rgba(200, 205, 211, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-red);
  text-align: center;
}
.quote-step-error.visible { display: block; }

.quote-actions {
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}
@media (min-width: 640px) {
  .quote-actions {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.quote-actions-left { display: flex; gap: 12px; }
@media (max-width: 639px) {
  .quote-actions-left { width: 100%; flex-direction: column; }
}

.quote-popup button.btn-quote-prev {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 16px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 14px;
}
.quote-popup button.btn-quote-prev:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--on-gold);
  background: var(--gold);
}
.quote-popup button.btn-quote-prev:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.quote-popup button.btn-quote-next {
  background: var(--gold);
  color: var(--on-gold);
  border: none;
  border-radius: 16px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(200, 205, 211, 0.22);
}
.quote-popup button.btn-quote-next:hover {
  background: #E6E8EB;
  color: var(--on-gold);
}
.quote-submit-btn {
  color: var(--on-gold) !important;
  background: var(--gold) !important;
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(200, 205, 211, 0.22);
}
.quote-submit-btn:hover {
  background: #E6E8EB !important;
  color: var(--on-gold) !important;
}
.quote-actions .hidden { display: none !important; }
@media (min-width: 640px) {
  .quote-submit-btn { margin-left: auto; min-width: 280px; }
}
@media (max-width: 639px) {
  .btn-quote-prev,
  .btn-quote-next,
  .quote-submit-btn { width: 100%; }
}

.quote-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--bg-card);
  text-transform: none;
  letter-spacing: 0;
}
.quote-consent:has(input:checked) {
  border-color: var(--gold-hi);
  background: var(--turquoise-soft, rgba(200, 205, 211, 0.10));
}
.quote-consent:has(input.is-error) {
  border-color: var(--primary-red);
  background: rgba(200, 205, 211, 0.04);
}
.quote-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary-red);
  cursor: pointer;
}

@media (max-width: 639px) {
  .quote-popup { width: 92%; border-radius: 22px; }
  .quote-popup-close { top: 14px; right: 14px; width: 36px; height: 36px; }
  .quote-popup-scroll { padding: 22px 16px 22px; }
  .quote-modal-header { padding-right: 36px; }
  .quote-modal-header h2 { font-size: 1.25rem; }
  .quote-step-item { max-width: none; }
  .quote-step-name { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .quote-popup-backdrop,
  .quote-popup { transition: none !important; }
  .quote-popup-backdrop.is-open .quote-popup { transform: none; }
  .quote-panel.active,
  .quote-panel.is-exiting { animation: none; }
}

/* === #quote-modal only (Quotation buttons) — does not change #quotation-modal === */
#quote-modal .quote-popup {
  width: 100%;
  max-width: 1060px;
  max-height: min(92vh, 880px);
  border-radius: 24px;
  overflow: hidden;
  padding: 0;
}
#quote-modal .quote-popup-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-height: min(92vh, 880px);
  overflow-y: auto;
  overflow-x: hidden;
}
@media (min-width: 768px) {
  #quote-modal .quote-popup-grid {
    grid-template-columns: 0.92fr 1.08fr;
    overflow: hidden;
  }
}
#quote-modal .quote-popup-visual {
  position: relative;
  overflow: hidden;
  background: var(--soft-grey);
  max-height: 200px;
}
@media (min-width: 768px) {
  #quote-modal .quote-popup-visual {
    max-height: none;
    min-height: 100%;
    border-radius: 24px 0 0 24px;
  }
}
#quote-modal .quote-popup-visual-img {
  width: 100%;
  height: 100%;
  display: block;
  min-height: 180px;
  max-height: 200px;
  object-fit: cover;
  object-position: top center;
}
@media (min-width: 768px) {
  #quote-modal .quote-popup-visual-img {
    min-height: 100%;
    max-height: none;
    height: 100%;
  }
}
#quote-modal .quote-popup-form-wrap {
  padding: 24px 20px 20px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  #quote-modal .quote-popup-form-wrap { padding: 32px 32px 28px; max-height: min(92vh, 880px); }
}
#quote-modal .quote-popup-brand {
  margin: 0 0 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
#quote-modal .quote-popup-header h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  #quote-modal .quote-popup-header h2 { font-size: 1.5rem; }
}
#quote-modal .quote-popup-desc {
  margin: 0;
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: var(--leading-body);
  font-weight: 400;
}
#quote-modal .quote-popup-desc-note {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: var(--leading-body);
}
#quote-modal .quote-popup-trust {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.4;
}
#quote-modal .quote-popup-steps { display: flex; gap: 6px; margin: 20px 0 16px; }
#quote-modal .quote-popup-step {
  flex: 1;
  padding: 8px 6px;
  border-radius: 10px;
  text-align: center;
  background: var(--gold-soft);
  border: 1px solid var(--border-light);
}
#quote-modal .quote-popup-step span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-red);
  letter-spacing: 0.04em;
}
#quote-modal .quote-popup-step small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-top: 2px;
  line-height: 1.25;
}
#quote-modal .quote-popup-step.active {
  background: var(--primary-red-soft);
  border-color: rgba(92, 10, 24, 0.35);
}
#quote-modal .quote-popup-step.active small { color: var(--heading); }
#quote-modal .quote-popup-step-heading {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
}
#quote-modal .quote-popup-step-sub {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.5;
}
#quote-modal .quote-popup-plans { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  #quote-modal .quote-popup-plans { grid-template-columns: 1fr 1fr; }
}
#quote-modal .quote-plan-select {
  position: relative;
  display: block;
  width: 100%;
  padding: 14px 14px 14px 16px;
  border-radius: 14px;
  cursor: pointer;
  border: 2px solid var(--border-light);
  background: var(--bg-card);
  text-align: left;
}
#quote-modal .quote-plan-select.selected {
  border-color: var(--primary-red);
  background: var(--primary-red-soft);
}
#quote-modal .quote-plan-select-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-red);
  color: var(--on-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  opacity: 0;
}
#quote-modal .quote-plan-select.selected .quote-plan-select-check { opacity: 1; }
#quote-modal .quote-plan-select-body { display: flex; align-items: flex-start; gap: 12px; }
#quote-modal .quote-plan-select-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
#quote-modal .quote-plan-select.selected .quote-plan-select-icon {
  background: var(--primary-red);
  color: var(--on-gold);
}
#quote-modal .quote-plan-select-text { display: flex; flex-direction: column; gap: 4px; padding-right: 20px; }
#quote-modal .quote-plan-select-label { font-size: 14px; font-weight: 700; color: var(--heading); line-height: 1.3; }
#quote-modal .quote-plan-select-desc { font-size: 12px; color: var(--muted-foreground); line-height: 1.45; }
#quote-modal .quote-popup-fields { display: grid; gap: 16px; }
#quote-modal .quote-field label,
#quote-modal .quote-field-label { display: block; font-size: 13px; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
#quote-modal .quote-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  font-size: 14px;
  background: var(--bg);
  color: var(--heading);
}
#quote-modal .quote-field input.invalid { border-color: #ef4444; }
#quote-modal .quote-toggle button.active {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--on-gold);
  box-shadow: none;
}
#quote-modal .quote-popup-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
@media (min-width: 480px) {
  #quote-modal .quote-popup-actions { flex-direction: row; }
}
#quote-modal .quote-popup-actions .btn { flex: 1; width: 100%; }
#quote-modal #quote-popup-back[hidden] { display: none !important; }
#quote-modal .quote-popup-success { text-align: center; padding: 32px 16px; }
#quote-modal .quote-popup-success-icon { font-size: 48px; color: var(--gold); margin-bottom: 16px; }
#quote-modal .quote-popup-panel[hidden] { display: none !important; }
@media (max-width: 767px) {
  #quote-modal { padding: 24px 18px; align-items: center; }
  #quote-modal .quote-popup {
    width: 90%;
    max-width: 420px;
    max-height: 86vh;
    border-radius: 22px;
  }
  #quote-modal .quote-popup-visual { max-height: 175px; }
  #quote-modal .quote-popup-visual-img { min-height: 170px; max-height: 175px; }
  #quote-modal .quote-popup-form-wrap { padding: 18px 16px 16px; }
}

/* ============================================================
   HOME STORY SECTIONS — Testimoni, Career (Silver & Black theme)
   ============================================================ */
#home-story-sections {
  --pru-red: #D9DEE5;
  --pru-red-soft: rgba(217, 222, 229, 0.12);
  --pru-red-rgb: 217, 222, 229;
  --bsn-teal: #B8BEC7;
  --bsn-teal-soft: rgba(184, 190, 199, 0.12);
  --bsn-teal-rgb: 184, 190, 199;
  --ink: #FFFFFF;
  margin-top: 8px;
}
#home-story-sections[hidden] { display: none !important; }
#career-content[hidden] { display: none !important; }
#career-content:not([hidden]) { display: block; }
[data-home-extra][hidden] { display: none !important; }
#testimoni,
#career,
#career-content {
  scroll-margin-top: calc(var(--header-height) + 16px);
}
[data-tm-panel][hidden] { display: none !important; }

/* ---- Shared swipe carousel (mobile) ---- */
@media (max-width: 767px) {
  #home-story-sections .swipe-track:not(.tm-gallery-track) {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -16px;
    padding: 4px 16px 12px;
    grid-template-columns: none;
  }
  #home-story-sections .swipe-track:not(.tm-gallery-track)::-webkit-scrollbar { display: none; }
  #home-story-sections .swipe-track:not(.tm-gallery-track) > * {
    flex: 0 0 220px;
    width: 220px;
    max-width: 220px;
    scroll-snap-align: start;
  }
  #home-story-sections .team-kami-track.swipe-track > * {
    flex: 0 0 155px;
    width: 155px;
    max-width: 155px;
  }
}
@media (min-width: 640px) and (max-width: 767px) {
  #home-story-sections .swipe-track:not(.tm-gallery-track) {
    margin-inline: -24px;
    padding-inline: 24px;
    scroll-padding-inline: 24px;
  }
}

/* ---- Testimoni galleries ---- */
.tm-gallery {
  padding: 40px 0 16px;
  background: var(--bg-section);
}
@media (min-width: 640px) {
  .tm-gallery { padding: 56px 0 24px; }
}
.tm-gallery-header { text-align: center; }
.tm-gallery-title {
  margin-top: 0;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--ink);
  line-height: 1.2;
}
.tm-gallery-sub {
  margin: 10px auto 0;
  max-width: 640px;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 1.6;
  color: var(--muted-foreground);
}
.tm-cats {
  margin: 24px auto 0;
  display: flex;
  gap: 8px;
  padding: 6px;
  max-width: 520px;
  width: 100%;
  background: var(--soft-grey);
  border-radius: 999px;
  border: 1px solid var(--gold-border);
}
.tm-cat-btn {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}
.tm-cat-btn:hover { color: var(--gold); }
.tm-cat-btn.active {
  background: var(--btn-gradient);
  color: var(--on-silver);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}
@media (max-width: 479px) {
  .tm-cats { gap: 4px; padding: 5px; }
  .tm-cat-btn { padding: 8px 8px; font-size: 12px; }
}
.tm-carousel {
  --tm-gap: 20px;
  --tm-per-view: 3;
  position: relative;
  margin-top: 24px;
  padding: 0 48px;
}
@media (min-width: 768px) {
  .tm-carousel { margin-top: 32px; }
}
@media (max-width: 1023px) {
  .tm-carousel { --tm-per-view: 2; --tm-gap: 12px; }
}
@media (max-width: 639px) {
  .tm-carousel { padding: 0 36px; }
}
.tm-carousel-viewport {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
}
.tm-carousel-viewport.is-dragging { cursor: grabbing; }
.tm-carousel-track {
  display: flex;
  align-items: stretch;
  gap: var(--tm-gap);
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.tm-carousel-track.is-jumping { transition: none; }
.tm-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(200, 205, 211, 0.45);
  background: var(--bg-card);
  color: var(--silver);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}
.tm-carousel-arrow.prev { left: 0; }
.tm-carousel-arrow.next { right: 0; }
.tm-carousel-arrow:hover:not(:disabled) {
  background: rgba(217, 222, 229, 0.12);
  color: var(--silver-hi);
  border-color: var(--silver);
}
.tm-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
@media (max-width: 639px) {
  .tm-carousel-arrow { width: 36px; height: 36px; }
}

/* ---- Media Carousel (Team, Recognition) ---- */
.media-carousel {
  --mc-gap: 16px;
  --mc-per-view: 4;
  --mc-peek: 0.35;
  position: relative;
  margin-top: 24px;
}
@media (min-width: 768px) {
  .media-carousel { margin-top: 28px; }
}
@media (max-width: 1023px) {
  .media-carousel { --mc-per-view: 2; --mc-gap: 12px; }
}
.pengiktirafan-carousel-block .media-carousel {
  margin-top: 0;
}
.team-kami .media-carousel {
  margin-top: 20px;
}
#pencapaian .media-carousel {
  margin-top: 24px;
}
@media (min-width: 768px) {
  #pencapaian .media-carousel { margin-top: 32px; }
}
#pencapaian .media-carousel-card {
  border-radius: 20px;
}
#pencapaian .media-carousel-media {
  aspect-ratio: 4 / 3;
}
#pencapaian .media-carousel-media img {
  object-fit: cover;
  object-position: center;
}
.media-carousel-stage {
  position: relative;
  padding: 0 48px;
}
@media (max-width: 639px) {
  .media-carousel-stage { padding: 0 36px; }
}
.media-carousel-viewport {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
  cursor: grab;
}
.media-carousel-viewport.is-dragging { cursor: grabbing; }
.media-carousel-track {
  display: flex;
  align-items: stretch;
  gap: var(--mc-gap);
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.media-carousel-track.is-jumping { transition: none; }
.media-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(200, 205, 211, 0.45);
  background: var(--bg-card);
  color: var(--silver);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}
.media-carousel-arrow.prev { left: 0; }
.media-carousel-arrow.next { right: 0; }
.media-carousel-arrow:hover:not(:disabled) {
  background: rgba(217, 222, 229, 0.12);
  color: var(--silver-hi);
  border-color: var(--silver);
}
.media-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
@media (max-width: 639px) {
  .media-carousel-arrow { width: 36px; height: 36px; }
}
.media-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  min-height: 12px;
  padding-bottom: 4px;
}
.media-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(200, 205, 211, 0.28);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.media-carousel-dot.active {
  background: #D9DEE5;
  transform: scale(1.15);
}
.media-carousel-dot:hover:not(.active) { background: rgba(200, 205, 211, 0.45); }
.media-carousel-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid rgba(200, 205, 211, 0.35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
@media (hover: hover) {
  .media-carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(200, 205, 211, 0.18);
    border-color: #D9DEE5;
  }
}
.media-carousel-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-elevated);
  overflow: hidden;
}
.media-carousel-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.25s ease;
  -webkit-user-drag: none;
  user-select: none;
}
.media-carousel-card.has-image img { opacity: 1; }
.media-carousel-card.has-image .tm-story-placeholder { display: none; }
.media-carousel-card.is-placeholder { cursor: default; }
.media-carousel-empty {
  flex: 1 1 100%;
  padding: 48px 24px;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.5;
  background: var(--bg-card);
  border: 1px dashed rgba(200, 205, 211, 0.45);
  border-radius: 16px;
}
.media-carousel-empty i {
  display: block;
  font-size: 28px;
  color: #D9DEE5;
  margin-bottom: 12px;
  opacity: 0.75;
}

.tm-story-card {
  display: flex;
  flex-direction: column;
  width: 200px;
  max-width: 200px;
  height: auto;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid rgba(200, 205, 211, 0.35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.tm-carousel-track .tm-story-card {
  width: auto;
  max-width: none;
  height: auto;
  min-height: 100%;
  box-sizing: border-box;
}
.tm-carousel-track .tm-story-card img {
  -webkit-user-drag: none;
  user-select: none;
}
@media (hover: hover) {
  .tm-story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: #D9DEE5;
  }
}
.tm-story-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--soft-grey);
  overflow: hidden;
}
.tm-story-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.pengiktirafan-shot.has-image img,
.tm-story-card.has-image img,
.media-carousel-card.has-image img,
.career-hero-media.has-image img,
.team-kami-card.has-image img,
.career-shot.has-image img,
.tag-fc-shot.has-image img { opacity: 1; }
.tm-story-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bsn-teal);
  font-size: 28px;
  background: linear-gradient(180deg, rgba(200, 205, 211, 0.10) 0%, rgba(200, 205, 211, 0.08) 100%);
}
.pengiktirafan-shot.has-image .tm-story-placeholder,
.tm-story-card.has-image .tm-story-placeholder,
.media-carousel-card.has-image .tm-story-placeholder,
.career-hero-media.has-image .tm-story-placeholder,
.team-kami-card.has-image .tm-story-placeholder,
.career-shot.has-image .tm-story-placeholder,
.tag-fc-shot.has-image .tm-story-placeholder { display: none; }
.tm-story-caption {
  margin: 0;
  height: 42px;
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
  overflow: hidden;
}
@media (max-width: 768px) {
  #testimoni .tm-cats {
    width: 100%;
    max-width: none;
    height: 48px;
    padding: 0;
    gap: 0;
    margin-top: 24px;
    box-sizing: border-box;
  }
  #testimoni .tm-cat-btn {
    flex: 1 1 50%;
    width: 50%;
    height: 48px;
    padding: 0 8px;
    font-size: 13px;
    box-sizing: border-box;
  }
  #testimoni .tm-story-card {
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid rgba(200, 205, 211, 0.35);
  }
  #testimoni .tm-story-media {
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }
  #testimoni .tm-story-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    object-fit: cover;
    object-position: center;
  }
  #testimoni .tm-story-caption {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    width: 100%;
    min-height: 44px;
    height: 44px;
    margin: 0;
    padding: 4px 6px;
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--heading);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tm-carousel-track { transition: none; }
}

/* ---- Career / Be Part of Us ---- */
.career-section.career-embedded {
  padding: 32px 0 16px;
  background: transparent;
  overflow-x: hidden;
}
@media (min-width: 640px) {
  .career-section.career-embedded { padding: 48px 0 24px; }
}

.career-hero {
  display: grid;
  gap: 22px;
  min-width: 0;
  align-items: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.career-section.is-inview .career-hero {
  opacity: 1;
  transform: none;
}
@media (min-width: 900px) {
  .career-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
  }
}

.career-hero-media {
  position: relative;
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}
.career-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.25s ease;
}
@media (min-width: 900px) {
  .career-hero-media {
    aspect-ratio: 4 / 5;
    border-radius: 28px;
    max-height: 560px;
  }
}

.career-hero-copy { min-width: 0; }
.career-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(var(--pru-red-rgb), 0.18);
}
.career-tagline {
  margin-top: 10px;
  color: var(--bsn-teal);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.career-hero-title {
  margin-top: 10px;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--ink);
  line-height: 1.15;
}
.career-hero-sub {
  margin-top: 12px;
  max-width: 520px;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.65;
  color: var(--muted-foreground);
}

.career-block {
  margin-top: 48px;
  min-width: 0;
}
@media (min-width: 640px) {
  .career-block { margin-top: 64px; }
}
.career-block-title {
  font-size: clamp(1.35rem, 3vw, 1.875rem);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--heading);
  line-height: 1.2;
}
.career-block-sub {
  margin: 10px auto 0;
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.career-gallery {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 768px) {
  .career-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
  }
}
.career-shot {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.career-shot[hidden],
.career-block[hidden] {
  display: none !important;
}
.career-shot img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
@media (hover: hover) {
  .career-shot:hover { border-color: rgba(var(--bsn-teal-rgb), 0.4); }
}

.recruit-why-grid {
  margin-top: 28px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .recruit-why-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (min-width: 1024px) {
  .recruit-why-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.recruit-why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.35s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.career-section.is-inview .recruit-why-card {
  opacity: 1;
  transform: none;
}
.career-section.is-inview .recruit-why-card:nth-child(1) { transition-delay: 0.04s; }
.career-section.is-inview .recruit-why-card:nth-child(2) { transition-delay: 0.08s; }
.career-section.is-inview .recruit-why-card:nth-child(3) { transition-delay: 0.12s; }
.career-section.is-inview .recruit-why-card:nth-child(4) { transition-delay: 0.16s; }

@media (hover: hover) {
  .career-section.is-inview .recruit-why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(var(--bsn-teal-rgb), 0.35);
    transition-delay: 0s;
  }
}
.recruit-why-card:active { transform: translateY(-2px) scale(0.99); }
.recruit-why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--bsn-teal-soft);
  flex-shrink: 0;
}
.recruit-why-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.35;
}
.recruit-why-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-foreground);
  max-width: 240px;
}

.career-cta-band {
  margin-top: 48px;
  padding: 32px 22px;
  border-radius: 24px;
  background: var(--bg-card);
  color: var(--heading);
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gold-border);
}
@media (min-width: 640px) {
  .career-cta-band { margin-top: 64px; padding: 44px 40px; }
}
.career-cta-title {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
  color: var(--heading);
}
.career-cta-sub {
  margin: 12px auto 0;
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.recruit-cta {
  margin-top: 24px;
  min-width: min(100%, 280px);
  padding: 14px 28px;
  font-size: 1rem;
  background: var(--gold);
  color: var(--on-gold);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(200, 205, 211, 0.22);
}
.recruit-cta:hover { background: var(--gold-hi); color: var(--on-gold); }
.recruit-cta i { font-size: 1.15rem; }

/* ---- Kenali Team Kami ---- */
.career-block.team-kami {
  padding-top: 0;
  overflow: hidden;
}
.team-kami-header { margin-bottom: 4px; }
.team-kami-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--gold-border);
}
.team-kami-title {
  margin-top: 12px;
  font-size: clamp(1.35rem, 3vw, 1.875rem);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--heading);
  line-height: 1.2;
}
.team-kami-sub {
  margin: 10px auto 0;
  max-width: 640px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.team-kami-track {
  margin-top: 20px;
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(3, 180px);
  gap: 12px;
}
@media (min-width: 768px) {
  .team-kami-track { gap: 14px; margin-top: 28px; }
}

.team-kami-card {
  width: 180px;
  max-width: 180px;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
@media (hover: hover) {
  .team-kami-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
  }
}

.team-kami-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(200, 205, 211, 0.10) 0%, rgba(200, 205, 211, 0.08) 100%);
  overflow: hidden;
}
.team-kami-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.team-kami-meta {
  padding: 6px 2px 2px;
}
.team-kami-meta h3 {
  font-size: 0.75rem;
  font-weight: 800;
  color: #171717;
  line-height: 1.25;
}
.team-kami-meta p {
  margin-top: 3px;
  color: var(--bsn-teal);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}

@media (max-width: 639px) {
  .career-hero-media { border-radius: 18px; }
  .career-hero-title { margin-top: 8px; }
  .career-hero-sub { margin-top: 8px; }
  .career-block { margin-top: 36px; }
  .career-cta-band { padding: 28px 18px; border-radius: 20px; }
  .recruit-why-card { padding: 20px 14px; border-radius: 18px; }
  .recruit-why-icon { width: 44px; height: 44px; font-size: 20px; }
  .recruit-why-card h4 { font-size: 0.92rem; }
  .recruit-why-card p { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .career-hero,
  .career-section.is-inview .career-hero,
  .recruit-why-card,
  .career-section.is-inview .recruit-why-card,
  .tm-story-card,
  .team-kami-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.advisor-card .pro-badge i,
.recruit-why-icon,
.tm-story-placeholder,
.sidebar-link-icon,
.hs-badge i,
.awareness-badge i {
  color: var(--gold);
}
.recruit-why-icon {
  background: rgba(200, 205, 211, 0.12);
  border: 1px solid var(--gold-border);
}

/* ---- TAG FC • Team Bola Sepak Agensi ---- */
#tag-fc {
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.tag-fc-header { margin-bottom: 4px; }
.tag-fc-sub {
  max-width: 720px;
}
.tag-fc-sub strong {
  color: var(--heading);
  font-weight: 700;
}
.tag-fc-gallery {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-content: center;
  justify-items: stretch;
  width: 100%;
}
@media (min-width: 768px) {
  .tag-fc-gallery {
    grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: center;
    justify-items: stretch;
    gap: 24px;
    margin-top: 32px;
    width: 100%;
    max-width: calc(420px * 2 + 24px);
    margin-inline: auto;
  }
}
.tag-fc-shot {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  aspect-ratio: 420 / 240;
  height: auto;
  background: var(--bg);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}
@media (min-width: 768px) {
  .tag-fc-shot {
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 420 / 240;
  }
}
.tag-fc-shot img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.3s ease;
}
@media (hover: hover) {
  .tag-fc-shot.has-image:hover img {
    transform: scale(1.05);
  }
}
.tag-fc-info {
  margin-top: 24px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
}
@media (min-width: 640px) {
  .tag-fc-info { padding: 32px 28px; margin-top: 32px; }
}
.tag-fc-info-title {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading);
  line-height: 1.3;
}
.tag-fc-info-lead {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}
.tag-fc-info-heading {
  margin-top: 22px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.3;
}
.tag-fc-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tag-fc-list li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--foreground);
  font-weight: 500;
}
.tag-fc-quote {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 2px solid var(--gold);
  background: rgba(200, 205, 211, 0.08);
  border-radius: 0 12px 12px 0;
  color: var(--heading);
  font-size: 0.95rem;
  line-height: 1.55;
}
.tag-fc-quote strong {
  font-weight: 700;
  color: var(--heading);
}
@media (prefers-reduced-motion: reduce) {
  .tag-fc-shot img { transition: none; }
  .tag-fc-shot.has-image:hover img { transform: none; }
}
