/* ==========================================================================
   Vibrant Professionalism - Design System & Main Stylesheet
   Company Profile: Event Organizer & Training
   Fonts: Plus Jakarta Sans (loaded via <link> in header.php with CSP)
   ========================================================================== */

/* ==========================================================================
   Certification Tree (Layanan Unggulan section)
   ========================================================================== */
.certification-tree {
  --cert-line: #cbd5e1;
  --cert-line-soft: #e2e8f0;
  --cert-ink: #0b1e36;
  --cert-muted: #64748b;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.cert-node {
  position: relative;
  box-sizing: border-box;
  z-index: 1;
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 32px 26px;
  overflow: hidden;
  text-align: center;
  background: var(--surface-bright);
  border: 1px solid var(--cert-line-soft);
  border-radius: 24px;
  box-shadow: 0 18px 45px -32px rgba(11, 30, 54, 0.45);
}

.cert-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  background: var(--cert-ink);
}

.cert-node-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cert-ink);
  background: #f8fafc;
  border: 1px solid var(--cert-line-soft);
  border-radius: 18px;
  font-size: 24px;
}

.cert-node-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 2.4px;
  color: var(--cert-ink);
}

.cert-node-sub {
  max-width: 330px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--cert-muted);
}

.cert-connector {
  position: relative;
  width: 100%;
  height: 52px;
}

.cert-connector-vertical {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 40px;
  background: var(--cert-line);
  transform: translateX(-50%);
}

.cert-connector-horizontal {
  position: absolute;
  top: 40px;
  left: calc(12.5% - 9px);
  right: calc(12.5% - 9px);
  height: 1px;
  background: var(--cert-line);
}

.cert-branches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.cert-branch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.branch-stem {
  width: 1px;
  height: 24px;
  margin-bottom: 12px;
  background: var(--cert-line);
}

.branch-card {
  width: 100%;
  box-sizing: border-box;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 26px 20px 24px;
  text-align: center;
  background: var(--surface-bright);
  border: 1px solid var(--cert-line-soft);
  border-radius: 20px;
  box-shadow: 0 14px 34px -28px rgba(11, 30, 54, 0.5);
  transition: $10.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.branch-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 20px 42px -30px rgba(11, 30, 54, 0.6);
}

.branch-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cert-ink);
  background: #f8fafc;
  border: 1px solid var(--cert-line-soft);
  border-radius: 16px;
  font-size: 21px;
}

.branch-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--cert-ink);
}

.branch-desc {
  max-width: 220px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--cert-muted);
}

@media (max-width: 992px) {
  .cert-connector {
    height: 48px;
  }

  .cert-connector-vertical {
    height: 36px;
  }

  .cert-connector-horizontal {
    top: 36px;
    left: calc(25% - 6px);
    right: calc(25% - 6px);
  }

  .cert-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cert-node {
    padding: 24px 20px 22px;
    border-radius: 20px;
  }

  .cert-node::before {
    left: 22px;
    right: 22px;
  }

  .cert-node-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 22px;
  }

  .cert-node-title {
    font-size: 18px;
    letter-spacing: 1.8px;
  }

  .cert-connector {
    height: 36px;
  }

  .cert-connector-vertical {
    height: 36px;
  }

  .cert-connector-horizontal {
    display: none;
  }

  .cert-branches {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .branch-stem {
    height: 20px;
    margin-bottom: 10px;
  }

  .branch-card {
    padding: 22px 18px;
    border-radius: 18px;
  }
}

/* Hero CTA buttons */
.hero-cta .btn {
  font-size: 16px;
  padding: 16px 36px;
}

/* Section with light gray background */
.section-alt {
  background-color: var(--surface-container-low);
}

/* Section black background */
.section-deep {
  background-color: var(--primary);
  color: #ffffff;
}

/* Section white background */
.section-bright {
  background-color: var(--surface-container-lowest);
}

/* Section title for sections with subtitle */
.section-title-wrap .section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.2;
  color: var(--on-surface);
  margin-bottom: 12px;
}

.section-title-desc {
  color: var(--on-surface-variant);
  font-size: 16px;
  max-width: 600px;
  margin: 12px auto 0 auto;
}

/* Why-us card headings & body */
.why-us-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.why-us-desc {
  color: var(--on-surface-variant);
  font-size: 14px;
}

/* Counter section */
.counter-item .counter-number {
  color: #ffffff;
}

.counter-item .counter-label {
  color: rgba(255,255,255,0.85);
}

/* ==========================================================================
   Premium card & section polish
   ========================================================================== */
.portfolio-card,
.client-card,
.service-card,
.testimonial-card,
.team-card {
  border: 1px solid var(--outline-variant);
  background-color: var(--surface-bright);
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.06);
}

/* Page hero banner: navy band, no gradient */
.page-hero {
  margin-top: var(--header-height);
  padding: var(--stack-xxl) 0 var(--stack-xl) 0;
  background-color: var(--primary);
  color: #fff;
  border-bottom: 3px solid var(--accent);
  overflow: hidden;
}

.page-hero .headline-lg,
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 2.625rem);
  font-weight: 800;
  line-height: 1.2;
}

.page-hero .body-md,
.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 52ch;
}

.page-hero .text-center .body-md,
.page-hero .text-center .body-lg,
.page-hero .text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* About stat */
.about-stats {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}
.about-stat-number {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
}
.about-stat-label {
  color: var(--on-surface-variant);
}

/* Rounded image with shadow */
.img-rounded {
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(11, 30, 54, 0.12);
  width: 100%;
}

/* Vision/mission icon containers */
.vision-icon {
  background: var(--primary);
  color: var(--on-primary);
}
.mission-icon {
  background: var(--secondary);
  color: var(--on-secondary-container);
}

/* Team member card */
.team-card {
  text-align: center;
}
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 9999px;
  margin: 0 auto 20px auto;
  object-fit: cover;
  border: 3px solid var(--primary);
  display: block;
}
.team-name {
  font-size: 20px;
}
.team-position {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}
.team-desc {
  color: var(--on-surface-variant);
  font-size: 14px;
}

/* Legal document cards */
.legal-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.legal-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface-bright);
  padding: 20px 24px;
  border-radius: 0.75rem;
  border: 1px solid var(--outline-variant);
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.06);
}
.legal-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.legal-icon i {
  font-size: 22px;
  color: #ffffff;
}
.legal-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--on-surface);
}
.legal-value {
  color: var(--on-surface-variant);
  font-size: 15px;
}

/* Social links row */
.social-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--on-surface);
}
.social-circle {
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(11, 30, 54, 0.06);
}
.social-circle i {
  font-size: 32px;
  color: #ffffff;
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-hero {
  margin-top: var(--header-height);
  padding: 60px 0 36px 0;
  background-color: var(--surface-container-low);
  border-bottom: 1px solid var(--outline-variant);
}
.contact-hero p {
  color: var(--on-surface-variant);
  margin-top: 8px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
  font-size: 15px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
}
.contact-info-item .service-icon {
  width: 44px;
  height: 44px;
  font-size: 18px;
  margin: 0;
  flex-shrink: 0;
}
.contact-info-item strong {
  display: block;
}
.contact-info-value {
  color: var(--on-surface-variant);
}

.contact-form-card {
  background: var(--surface-bright);
  padding: 36px;
  border-radius: 0.75rem;
  border: 1px solid var(--outline-variant);
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.06);
}
.contact-form-card h2 {
  margin-bottom: 8px;
}
.contact-form-card .form-tip {
  color: var(--on-surface-variant);
  margin-bottom: 24px;
  font-size: 14px;
}
.contact-form-card .btn {
  width: 100%;
}

.map-section {
  padding-top: 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-card {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-info-card .service-icon {
  width: 44px;
  height: 44px;
  font-size: 18px;
  margin: 0;
  flex-shrink: 0;
}
.contact-info-card .ci-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}
.contact-info-card .ci-value {
  color: var(--on-surface-variant);
  font-size: 13px;
}

.map-embed {
  width: 100%;
  height: 450px;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.06);
  border: 1px solid var(--outline-variant);
}
#map-container {
  height: 450px;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.06);
  border: 1px solid var(--outline-variant);
}

.section-head .section-kicker {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  margin-bottom: 8px;
}
.section-head h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--on-surface);
  margin-bottom: 8px;
}
.section-head h2 .accent {
  color: var(--primary);
}
.section-head p {
  color: var(--on-surface-variant);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

:root {
  /* Colors - Light Theme (Default): white surfaces, bright blue accent */
  --surface: #ffffff;
  --surface-dim: #f3f4f6;
  --surface-bright: #ffffff;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #F8FAFC;
  --surface-container: #f3f4f6;
  --surface-container-high: #e5e7eb;
  --surface-container-highest: #d1d5db;

  --on-surface: #0F172A;
  --on-surface-variant: #475569;
  --inverse-surface: #ffffff;
  --inverse-on-surface: #0B1220;

  --outline: #94a3b8;
  --outline-variant: #E2E8F0;
  --surface-tint: #0EA5E9;

  /* Structural navy: hero bands, deep sections, header fallback (not an accent) */
  --brand: #0B1F3A;

  /* Primary: bright blue (CTA, links, active states) */
  --primary: #2563EB;        /* blue-600 */
  --primary-variant: #1D4ED8; /* blue-700 */
  --on-primary: #ffffff;
  --primary-container: #DBEAFE;
  --on-primary-container: #1E40AF;
  --accent: #0EA5E9;         /* sky-500: kickers, borders, highlights (used sparingly) */

  --secondary: #0EA5E9;
  --on-secondary: #0B1220;
  --secondary-container: #E0F2FE;
  --on-secondary-container: #075985;

  --error: #DC2626;
  --on-error: #ffffff;
  --error-container: #FEE2E2;
  --error-container-on: #991B1B;

  --background: #F8FAFC;
  --on-background: #0F172A;

  /* Typography - Plus Jakarta Sans (fallback: Inter) */
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shapes & Rounded */
  --rounded-sm: 0.25rem;
  --rounded: 0.5rem;
  --rounded-md: 0.75rem;
  --rounded-lg: 1rem;
  --rounded-xl: 1.5rem;
  --rounded-full: 9999px;

  /* Spacing - 8pt scale */
  --container-max: 1280px;
  --gutter: 32px;
  --margin-mobile: 16px;
  --margin-desktop: 48px;
  --stack-xxs: 4px;
  --stack-xs: 8px;
  --stack-sm: 12px;
  --stack-md: 16px;
  --stack-lg: 24px;
  --stack-xl: 32px;
  --stack-xxl: 48px;

  /* Section padding - controlled tokens */
  --section-pad-top: 96px;   /* 12 * 8px */
  --section-pad-bottom: 96px;

  /* Shadows / Elevation */
  --shadow-level-1: 0 4px 12px rgba(11, 30, 54, 0.05);
  --shadow-level-2: 0 8px 30px rgba(11, 30, 54, 0.12);
  --shadow-glass: 0 8px 32px 0 rgba(37, 99, 235, 0.15);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --header-height: 80px;
  --greeting-height: 0;
}

/* Dark Theme: dark navy surfaces, bright blue accent (WCAG AA checked) */
html.dark {
  --surface: #111C33;
  --surface-dim: #0A1220;
  --surface-bright: #16223D;
  --surface-container-lowest: #111C33;
  --surface-container-low: #14203A;
  --surface-container: #16223D;
  --surface-container-high: #1E293B;
  --surface-container-highest: #243352;

  --on-surface: #F1F5F9;
  --on-surface-variant: #94A3B8;
  --inverse-surface: #F1F5F9;
  --inverse-on-surface: #0B1220;

  --outline: #475569;
  --outline-variant: #1E293B;
  --surface-tint: #60A5FA;

  --brand: #111C33;

  --primary: #60A5FA;        /* blue-400 */
  --primary-variant: #38BDF8; /* sky-400 */
  --on-primary: #0B1220;
  --primary-container: #1D4ED8;
  --on-primary-container: #DBEAFE;
  --accent: #38BDF8;

  --secondary: #38BDF8;
  --on-secondary: #0B1220;
  --secondary-container: #7DD3FC;
  --on-secondary-container: #0B1220;

  --background: #0B1220;
  --on-background: #F1F5F9;

  --shadow-level-1: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-level-2: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.4);

  --glass-bg: rgba(17, 28, 51, 0.9);
  --glass-border: rgba(148, 163, 184, 0.14);
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  scroll-behavior: smooth;
  color: var(--on-background);
  background-color: var(--background);
  transition: $10.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: $10.3s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
  color: var(--primary-container);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Classes */
.display-lg {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  line-height: 56px;
  letter-spacing: -0.02em;
}

.headline-lg {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.headline-md {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.body-lg {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.body-md {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.label-md {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.01em;
}

.label-sm {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

/* Layout Container */
.container {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--margin-desktop);
  padding-right: var(--margin-desktop);
}

@media (max-width: 1024px) {
  .container {
    padding-left: var(--margin-mobile);
    padding-right: var(--margin-mobile);
  }
  .display-lg {
    font-size: 34px;
    line-height: 42px;
  }
  .headline-lg {
    font-size: 26px;
    line-height: 34px;
  }
}

/* Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  /* Solid by default. over-hero (homepage) = transparent white over dark hero. scrolled = solid again */
  --hdr-fg: var(--on-surface);
  --hdr-hover: var(--primary);
  --hdr-pill-bg: var(--surface-container);
  --hdr-pill-border: var(--outline-variant);
  background: var(--surface);
  border-bottom: 1px solid var(--outline-variant);
  box-shadow: none;
  transition: $10.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.over-hero {
  --hdr-fg: #FFFFFF;
  --hdr-hover: #7DD3FC;
  --hdr-pill-bg: rgba(255, 255, 255, 0.15);
  --hdr-pill-border: rgba(255, 255, 255, 0.25);
  background: transparent;
  border-bottom: none;
}

.site-header.scrolled {
  --hdr-fg: var(--on-surface);
  --hdr-hover: var(--primary);
  --hdr-pill-bg: var(--surface-container);
  --hdr-pill-border: var(--outline-variant);
  background: var(--surface);
  border-bottom: 1px solid var(--outline-variant);
  box-shadow: var(--shadow-level-1);
}

/* Mobile drawer open: force readable solid header even over hero */
.site-header:has(.main-nav.active) {
  --hdr-fg: var(--on-surface);
  --hdr-hover: var(--primary);
  --hdr-pill-bg: var(--surface-container);
  --hdr-pill-border: var(--outline-variant);
  background: var(--surface);
  border-bottom: 1px solid var(--outline-variant);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--hdr-fg);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--rounded-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-level-1);
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--hdr-fg);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--hdr-hover);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--hdr-hover);
  border-radius: var(--rounded-full);
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle i {
  font-size: 10px;
  margin-left: 4px;
  transition: $10.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--brand);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rounded);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 12px 20px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: $10.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 2px solid transparent;
}

.nav-dropdown-link:hover {
  background: rgba(37, 99, 235, 0.16);
  color: var(--accent);
  border-left-color: var(--accent);
  padding-left: 25px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--hdr-pill-bg);
  border: 1px solid var(--hdr-pill-border);
  color: var(--hdr-fg);
         width: 44px;
         height: 44px;
         border-radius: var(--rounded-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: $10.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 14px;
}

.theme-toggle-btn:hover {
  background: var(--hdr-pill-bg);
  color: var(--hdr-hover);
  transform: scale(1.05);
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--hdr-fg);
  background: var(--hdr-pill-bg);
  border: 1px solid var(--hdr-pill-border);
  border-radius: var(--rounded-full);
  cursor: pointer;
  user-select: none;
}

.lang-switcher button[data-lang] {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 2px 6px;
  font: inherit;
  color: inherit;
  opacity: 0.6;
  transition: $10.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 28px;
  min-width: 30px;
}

.lang-switcher button.active {
  opacity: 1;
  color: var(--hdr-hover);
  font-weight: 800;
  text-shadow: none;
}

.lang-switcher .separator {
  margin: 0 4px;
  opacity: 0.4;
}
.lang-switcher button[data-lang]:hover {
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  min-height: 44px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--rounded);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--on-primary);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 12px rgba(11, 30, 54, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-variant);
  border-color: var(--primary-variant);
  color: var(--on-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 30, 54, 0.3);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--on-secondary);
  border: 1px solid var(--secondary);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-secondary:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--on-secondary);
  filter: brightness(0.92);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--on-primary);
}

/* Hero outline button: white frame + text (hero background is navy) */
.hero-cta .btn-outline {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.hero-cta .btn-outline:hover {
  background-color: #FFFFFF;
  color: var(--primary);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: var(--rounded);
}

/* Pulse Animation for CTA Buttons */
.btn-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(37, 99, 235, 0.55); }
}

/* Portfolio & Client Cards Hover */
.portfolio-card, .client-card {
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.portfolio-card:hover, .client-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-level-2);
}

/* Social Link Hover */
.social-link {
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover {
  transform: translateY(-4px);
}

/* Legal Cards Hover */
.legal-card {
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.legal-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-level-2);
}

/* Event Chips & Badges */
.chip-orange {
  display: inline-block;
  padding: 4px 12px;
  background-color: rgba(254, 166, 25, 0.15);
  color: #b86e00;
  font-weight: 700;
  font-size: 12px;
  border-radius: var(--rounded-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

html.dark .chip-orange {
  background-color: rgba(254, 166, 25, 0.25);
  color: #ffb95f;
}

/* Hero Section - Full Slider */
.hero-section {
  position: relative;
  box-sizing: border-box;
  min-height: 100vh;
  margin-top: 0;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.72);
  z-index: 1;
  animation: heroZoom 20s ease-in-out infinite;
}

@keyframes heroZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-white {
  background: var(--surface-bright);
  background-image: none !important;
  color: var(--on-surface);
}

.hero-white::before {
  display: none;
}

.hero-title-dark {
  color: var(--on-surface) !important;
  text-shadow: none;
}

.hero-subtitle-dark {
  color: var(--on-surface-variant) !important;
}

.services-collage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.service-collage-card {
  position: relative;
  border-radius: var(--rounded-xl);
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 4px 20px rgba(11, 30, 54, 0.08);
  border: 1px solid var(--outline-variant);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  text-decoration: none;
  color: inherit;
  will-change: transform;
}

.service-collage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(11, 30, 54, 0.16);
}

.collage-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.service-collage-card:hover .collage-image {
  transform: scale(1.06);
}

.collage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(11, 31, 58, 0.25) 0%,
    rgba(11, 31, 58, 0.55) 45%,
    rgba(11, 31, 58, 0.88) 100%
  );
  z-index: 1;
  transition: background 0.45s ease;
}

.service-collage-card:hover .collage-overlay {
  background: linear-gradient(
    160deg,
    rgba(11, 31, 58, 0.35) 0%,
    rgba(11, 31, 58, 0.62) 45%,
    rgba(11, 31, 58, 0.92) 100%
  );
}

.collage-content {
  position: relative;
  z-index: 2;
  padding: 36px 28px;
  color: #fff;
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.collage-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  margin-bottom: 18px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-collage-card:hover .collage-icon {
  transform: translateY(-2px);
}

.collage-content h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.collage-content p {
  font-size: 13.5px;
  font-weight: 400;
  opacity: 0.88;
  margin: 0 0 18px 0;
  line-height: 1.55;
  max-width: 280px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.collage-link {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.92;
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1), gap 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.collage-link i {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-collage-card:hover .collage-link {
  opacity: 1;
  gap: 12px;
}

.service-collage-card:hover .collage-link i {
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .services-collage-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: 120px 0 40px 0;
  }
  .hero-title {
    font-size: 32px;
    line-height: 40px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .order-1 { order: 1; }
  .order-2 { order: 2; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 60px 0;
  text-align: left;
}

.hero-title {
  color: #ffffff;
  margin-bottom: var(--stack-md);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  margin-bottom: var(--stack-lg);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Cards & Grid System */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

@media (max-width: 1024px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Service Card */
.service-card {
  background-color: var(--surface-bright);
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded-lg);
  padding: 36px 32px;
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-level-2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--surface-container-low);
  color: var(--primary);
  border-radius: var(--rounded-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--stack-md);
}

/* Service List */
.service-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-list li {
  padding: 16px 20px;
  border-bottom: 1px solid var(--outline-variant, var(--outline-variant));
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.6;
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li i {
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 18px;
}

/* Event Card */
.event-card {
  background-color: var(--surface-bright);
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.06);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-level-2);
}

.event-image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-container-high);
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: $10.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover .event-image {
  transform: scale(1.05);
}

.event-chip-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  background: var(--surface-bright);
}

.event-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--on-surface-variant);
  font-size: 13px;
  margin-bottom: var(--stack-sm);
}

.event-title {
  color: var(--on-surface);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--stack-sm);
  line-height: 1.35;
}

.event-desc {
  color: var(--on-surface-variant);
  font-size: 14px;
  margin-bottom: var(--stack-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--outline-variant);
}

.event-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

/* Testimonial Card */
.testimonial-card {
  background: var(--surface-bright);
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded-lg);
  padding: 36px;
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-quote {
  font-style: italic;
  color: var(--on-surface);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--rounded-full);
  object-fit: cover;
  border: 2px solid var(--primary);
}

.testimonial-name {
  font-weight: 700;
  color: var(--on-surface);
}

.testimonial-role {
  font-size: 13px;
  color: var(--on-surface-variant);
}

/* Section Styling */
.section {
  padding: var(--section-pad-top) 0 var(--section-pad-bottom);
}

.section + .section {
  margin-top: 0;
}

/* Section modifier: flush against previous section */
.section--flush-top {
  padding-top: 0;
}

/* Large button for hero CTAs */
.btn-lg {
  font-size: 16px;
  padding: 16px 36px;
}

.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--stack-xxl) auto;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--stack-lg) auto;
}

.h-section {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--stack-lg) auto;
  margin-bottom: var(--stack-lg);
}

.h-section .headline-lg {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--on-surface);
  margin-bottom: var(--stack-xs);
}

.h-section .body-md {
  color: var(--on-surface-variant);
  font-size: 1rem;
  max-width: 600px;
  margin: var(--stack-xs) auto 0;
}

.section-subtitle {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  margin-bottom: 8px;
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--on-surface);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  background-color: var(--surface-container-lowest);
  color: var(--on-surface);
  border: 1px solid var(--outline);
  border-radius: var(--rounded);
  outline: none;
  transition: $10.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Weather Widget Box */
.weather-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-container-low);
  border: 1px solid var(--outline-variant);
  padding: 12px 20px;
  border-radius: var(--rounded-lg);
  font-size: 14px;
  color: var(--on-surface);
  margin-bottom: 24px;
}

.weather-icon {
  font-size: 24px;
  color: var(--secondary-container);
}

/* Map Container */
#map-container {
  width: 100%;
  height: 380px;
  border-radius: var(--rounded-lg);
  overflow: hidden;
  box-shadow: var(--shadow-level-1);
  border: 1px solid var(--outline-variant);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--inverse-surface);
  color: var(--inverse-on-surface);
  padding: 14px 24px;
  border-radius: var(--rounded-md);
  box-shadow: var(--shadow-level-2);
  animation: slideInRight 0.3s ease forwards;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.form-group .label-optional {
  font-weight: 400;
  color: var(--on-surface-variant);
}

/* ==========================================================================
   CTA band sebelum footer
   ========================================================================== */
.cta-band {
  background: var(--brand);
  color: #ffffff;
  padding: 56px 0;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band-copy {
  flex: 1 1 420px;
  min-width: 0;
}

.cta-band-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-band-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.cta-band .btn-outline:hover {
  background: #ffffff;
  color: var(--brand);
}

@media (max-width: 640px) {
  .cta-band { padding: 40px 0; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* Executive Aesthetic Modern Footer */
.site-footer {
  background-color: var(--surface-container-lowest, #ffffff);
  color: var(--on-surface, #0f172a);
  border-top: 1px solid var(--outline-variant, #e2e8f0);
  padding: 64px 0 32px 0;
  margin-top: auto;
  position: relative;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-executive-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .footer-executive-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Brand Section */
.footer-brand-header {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  border-radius: 8px;
  background: transparent;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-company-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--on-surface, #0f172a);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.footer-company-tagline {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary, #2563eb);
  margin-top: 3px;
}

.footer-executive-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--on-surface-variant, #64748b);
  margin-bottom: 24px;
  max-width: 540px;
}

.footer-social-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-social-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--on-surface-variant, #64748b);
}

.footer-social-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-pills a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-container, #f1f5f9);
  border: 1px solid var(--outline-variant, #e2e8f0);
  color: var(--on-surface, #334155);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.footer-social-pills a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.footer-social-pills a.social-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
}

.footer-social-pills a.social-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
  color: #ffffff;
}

.footer-social-pills a.social-youtube:hover {
  background: #FF0000;
  border-color: #FF0000;
  color: #ffffff;
}

.footer-social-pills a.social-tiktok:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

.footer-social-pills a.social-facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #ffffff;
}

/* Contact Column */
.footer-contact-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--on-surface, #0f172a);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  background: var(--surface-container, #f8fafc);
  border: 1px solid var(--outline-variant, #e2e8f0);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.footer-contact-card:first-child {
  align-items: flex-start;
}

.footer-contact-card.footer-contact-link {
  text-decoration: none;
  cursor: pointer;
}

.footer-contact-card.footer-contact-link:hover {
  border-color: var(--primary, #2563eb);
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.footer-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--primary, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.footer-contact-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--on-surface-variant, #64748b);
  margin-bottom: 2px;
}

.footer-contact-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--on-surface, #1e293b);
  line-height: 1.45;
  margin: 0;
  word-break: break-word;
}

.footer-external-icon {
  font-size: 10px;
  opacity: 0.6;
  margin-left: 4px;
}

.footer-contact-arrow {
  color: var(--on-surface-variant, #94a3b8);
  font-size: 12px;
  margin-left: auto;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  padding-left: 8px;
}

.footer-contact-card:hover .footer-contact-arrow {
  transform: translateX(3px);
  color: var(--primary, #2563eb);
}

.footer-contact-wa-card {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.35);
}

.footer-contact-wa-card:hover {
  background: rgba(37, 211, 102, 0.16);
  border-color: #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.15);
}

.footer-contact-wa-icon {
  background: #25D366 !important;
  color: #ffffff !important;
}

.footer-contact-wa-card:hover .footer-contact-arrow {
  color: #16a34a;
}

/* Bottom Bar */
.footer-bottom-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid var(--outline-variant, #e2e8f0);
  font-size: 13px;
  color: var(--on-surface-variant, #64748b);
}

.footer-legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--on-surface-variant, #64748b);
}

.footer-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  display: inline-block;
}

/* Dark Mode Adaptation */
html.dark .site-footer {
  background-color: #0b1220;
  color: #f1f5f9;
  border-top-color: rgba(255, 255, 255, 0.08);
}

html.dark .footer-company-name {
  color: #ffffff;
}

html.dark .footer-executive-desc,
html.dark .footer-bottom-bar,
html.dark .footer-legal-badge {
  color: #94a3b8;
}

html.dark .footer-social-pills a {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

html.dark .footer-contact-title {
  color: #ffffff;
}

html.dark .footer-contact-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark .footer-contact-card.footer-contact-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary, #38bdf8);
}

html.dark .footer-contact-icon {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
}

html.dark .footer-contact-header {
  color: #94a3b8;
}

html.dark .footer-contact-text {
  color: #f8fafc;
}

html.dark .footer-bottom-bar {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hidden { display: none !important; }

/* Select dropdown styling */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23737686' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Checkbox styling */
input[type="checkbox"] {
  accent-color: var(--primary);
}

/* ==========================================================================
   Loading Screen
   ========================================================================== */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--inverse-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: $10.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: var(--rounded-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  animation: loadingPulse 1.5s ease-in-out infinite;
  box-shadow: 0 10px 40px rgba(11, 31, 58, 0.4);
  margin-bottom: 24px;
}

.loading-logo-img {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  animation: loadingPulse 1.5s ease-in-out infinite;
  margin-bottom: 24px;
  filter: drop-shadow(0 10px 40px rgba(11, 31, 58, 0.4));
}

@keyframes loadingPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.loading-text {
  color: var(--inverse-on-surface);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--secondary-container);
  border-radius: 2px;
  animation: loadingProgress 1.2s ease-in-out infinite;
}

@keyframes loadingProgress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}





/* ==========================================================================
   Header AIofSPB Nav Link Animations
   ========================================================================== */
.nav-links .nav-link .fa-robot {
  display: inline-block;
  animation: navRobotWiggle 5s ease-in-out infinite;
}
@keyframes navRobotWiggle {
  0%, 86%, 100% { transform: rotate(0) scale(1); }
  88% { transform: rotate(-12deg) scale(1.15); }
  90% { transform: rotate(10deg) scale(1.15); }
  92% { transform: rotate(-8deg) scale(1.1); }
  94% { transform: rotate(5deg) scale(1.05); }
  96% { transform: rotate(0) scale(1); }
}
/* AI badge glow pulse */
.nav-links .nav-link span[style*="border-radius: 99px"] {
  animation: aiBadgePulse 2.5s ease-in-out infinite;
}
@keyframes aiBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
  50% { box-shadow: 0 0 10px 3px rgba(0, 240, 255, 0.35); }
}
/* Shimmer sweep across AIofSPB link */
.nav-links li:last-child .nav-link {
  position: relative;
  overflow: hidden;
}
.nav-links li:last-child .nav-link::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 240, 255, 0.12) 50%, transparent 100%);
  animation: navShimmer 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes navShimmer {
  0%, 75%, 100% { left: -100%; opacity: 0; }
  80% { opacity: 1; }
  95% { left: 150%; opacity: 0; }
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 84px;
  width: 48px;
  height: 48px;
  border-radius: var(--rounded-full);
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float .tooltip {
  position: absolute;
  right: 60px;
  background: var(--inverse-surface);
  color: var(--inverse-on-surface);
  padding: 8px 12px;
  border-radius: var(--rounded-sm);
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* Slide animations */
.animate-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-slide-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-slide-right.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Scale animation */
.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scale.animated {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   Counter Animation
   ========================================================================== */
.counter-item {
  text-align: center;
  padding: 24px;
}

.counter-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 48px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.counter-label {
  font-size: 14px;
  color: var(--on-surface-variant);
  font-weight: 500;
}

html.dark .counter-number {
  color: var(--primary);
}

html.dark .counter-label {
  color: var(--on-surface-variant);
}

/* ==========================================================================
   Mobile Navigation
   ========================================================================== */
.mobile-menu-btn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  position: relative;
  z-index: 1001;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mobile-menu-btn:hover {
  background: rgba(148, 163, 184, 0.2);
  border-color: rgba(148, 163, 184, 0.35);
  transform: scale(1.02);
}

.mobile-menu-btn:active {
  transform: scale(0.94);
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  background: var(--hdr-fg);
  border-radius: 2px;
  position: absolute;
  left: 11px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-btn span:nth-child(1) {
  top: 13px;
  width: 20px;
}

.mobile-menu-btn span:nth-child(2) {
  top: 20px;
  width: 14px;
}

.mobile-menu-btn span:nth-child(3) {
  top: 27px;
  width: 20px;
}

.mobile-menu-btn:hover span:nth-child(2) {
  width: 20px;
}

/* Active Hamburger transforms into clean Apple X */
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1),
.mobile-menu-btn.active span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
  width: 20px;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2),
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3),
.mobile-menu-btn.active span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
  width: 20px;
}

/* Dark mode adjustments for mobile button */
html.dark .mobile-menu-btn {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

html.dark .mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* AI Navbar Link Styling */
.nav-ai-link {
  color: #0284c7 !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  position: relative;
  transition: all 0.2s ease;
}

.nav-ai-link i {
  color: #0ea5e9;
  transition: transform 0.2s ease;
}

.nav-ai-link:hover i {
  transform: scale(1.15) rotate(5deg);
}

.nav-ai-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
  padding: 1px 7px;
  border-radius: 99px;
  border: 1px solid rgba(14, 165, 233, 0.25);
  box-shadow: 0 1px 4px rgba(14, 165, 233, 0.1);
  transition: all 0.2s ease;
}

html.dark .nav-ai-link {
  color: #38bdf8 !important;
}

html.dark .nav-ai-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #70d6ff;
  border-color: rgba(56, 189, 248, 0.3);
}

.nav-ai-link:hover .nav-ai-badge {
  background: rgba(14, 165, 233, 0.2);
  border-color: rgba(14, 165, 233, 0.4);
}


  .mobile-close-btn {
    display: flex;
    position: absolute;
    top: 24px;
    right: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
  }

  .mobile-close-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--on-surface);
    position: absolute;
    left: 8px;
    transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-close-btn span:nth-child(1) { top: 10px; }
  .mobile-close-btn span:nth-child(2) { top: 17px; }
  .mobile-close-btn span:nth-child(3) { top: 24px; }

/* ==========================================================================
   Responsive Enhancements
   ========================================================================== */

/* Visibility utilities */
.desktop-only { display: block !important; }
.mobile-only { display: none !important; }

@media (max-width: 992px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
  
  .mobile-menu-btn {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-close-btn {
    display: flex;
  }

  /* ponytail: shrink brand name + ensure hamburger visible on iPhone SE (375px) */
  .logo-brand {
    font-size: 13px;
    gap: 8px;
  }

  .logo-brand span {
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.1;
  }

  .logo-icon, .logo-img {
    width: 28px;
    height: 28px;
  }

  .logo-img {
    max-width: 80px;
  }

  .header-actions {
    gap: 8px;
  }

  /* Mobile contact button (replaces desktop CTA) */
  .btn-mobile-cta {
    padding: 10px 16px;
    font-size: 13px;
    display: inline-flex;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--surface-container-lowest);
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    padding: 80px 24px 24px;
    z-index: 1000;
    transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  .main-nav .nav-link {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--outline-variant);
    font-size: 16px;
    color: var(--on-surface);
    text-decoration: none;
    font-weight: 500;
  }
  
  .main-nav .nav-link:hover,
  .main-nav .nav-link.active {
    color: var(--primary);
  }
  
  .main-nav .nav-link.active {
    border-bottom: 2px solid var(--primary);
  }
  
  /* Mobile: hide Layanan parent, show submenu directly expanded */
  .nav-dropdown-toggle {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    min-width: 0;
    padding: 0 0 0 16px;
    margin: 0;
  }

  .main-nav .nav-dropdown-link {
    display: block;
    padding: 12px 0 12px 12px;
    border-bottom: 1px solid var(--outline-variant);
    border-left: none;
    color: var(--on-surface-variant);
    font-size: 15px;
  }

  .main-nav .nav-dropdown-link:hover,
  .main-nav .nav-dropdown-link:hover {
    color: var(--primary);
    background: transparent;
    padding-left: 18px;
  }
  
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .logo-brand {
    font-size: 13px;
    gap: 8px;
  }
  
  .logo-brand span {
    max-width: 70px;
    line-height: 1.2;
  }
  
  .logo-icon, .logo-img {
    width: 32px;
    height: 32px;
  }
  
  .logo-img {
    height: 32px;
    max-width: 100px;
  }
  
  .hero-section {
    padding: 120px 0 60px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 32px !important;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  
  .counter-number {
    font-size: 36px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 576px) {
  :root {
    --gutter: 16px;
  }
  
  .hero-title {
    font-size: 26px !important;
  }
  
  .headline-lg {
    font-size: 28px;
  }
  
  .headline-md {
    font-size: 20px;
  }
  
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .counter-number {
    font-size: 28px;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 14px;
    min-height: 44px;
  }
  
  .section {
    padding: 40px 0;
  }
}

/* ==========================================================================
   Focus States for Accessibility
   ========================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.section-dark {
  background: var(--primary);
  color: #fff;
}

html.dark .section-dark {
  background: var(--surface-container);
}

/* Social Link Hover Animation */
.social-link {
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover {
  transform: translateY(-8px);
}

.social-link > div:first-child {
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.social-link:hover > div:first-child {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.social-link > span {
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover > span {
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   PREMIUM UI/UX EFFECTS
   ========================================================================== */

/* --- Motion Tokens --- */
:root {
  --motion-fast: 120ms;
  --motion-base: 180ms;
  --motion-medium: 280ms;
  --motion-slow: 400ms;
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0.0, 1, 1);
  --ease-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* --- Button Premium States --- */
.btn {
  transition: transform var(--motion-base) var(--ease-out),
              box-shadow var(--motion-base) var(--ease-out),
              background-color var(--motion-base) var(--ease-out),
              color var(--motion-base) var(--ease-out),
              border-color var(--motion-base) var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
  transition-duration: 60ms;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(11, 31, 58, 0.45);
}

.btn-primary:active {
  box-shadow: 0 2px 8px rgba(11, 31, 58, 0.3);
}

.btn-secondary:hover {
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary:active {
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.2);
}

.btn-outline:active {
  transform: translateY(1px) scale(0.98);
}

/* --- Nav Link Underline Grow from Center --- */
.nav-link {
  position: relative;
  overflow: visible;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: var(--rounded-full);
  transition: width var(--motion-base) var(--ease-out),
              left var(--motion-base) var(--ease-out);
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

.nav-link.active::after {
  width: 100%;
  left: 0;
  background: var(--secondary-container);
}

/* --- Card Premium Hover --- */
.portfolio-card,
.client-card,
.service-card,
.testimonial-card,
.team-card {
  transition: transform var(--motion-medium) var(--ease-out),
              box-shadow var(--motion-medium) var(--ease-out);
}

.portfolio-card:hover,
.client-card:hover,
.service-card:hover,
.testimonial-card:hover,
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(11, 28, 48, 0.15);
}

html.dark .portfolio-card:hover,
html.dark .client-card:hover,
html.dark .service-card:hover,
html.dark .testimonial-card:hover,
html.dark .team-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* --- Service Icon Hover --- */
.service-icon {
  transition: transform var(--motion-base) var(--ease-out),
              box-shadow var(--motion-base) var(--ease-out);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.25);
}

/* --- Form Field Focus Glow --- */
.form-input,
.form-textarea,
.form-select {
  transition: border-color var(--motion-base) var(--ease-out),
              box-shadow var(--motion-base) var(--ease-out);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 74, 198, 0.12);
  outline: none;
}

html.dark .form-input:focus,
html.dark .form-textarea:focus,
html.dark .form-select:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* --- Social Link Premium --- */
.footer-social a {
  transition: transform var(--motion-base) var(--ease-out),
              background var(--motion-base) var(--ease-out),
              box-shadow var(--motion-base) var(--ease-out);
}

.footer-social a:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* --- WhatsApp Float Pulse --- */
.whatsapp-float {
  position: relative;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--rounded-full);
  background: rgba(37, 211, 102, 0.3);
  animation: whatsappPulse 2s ease-in-out infinite;
  z-index: -1;
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0; }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* --- Scroll Reveal Stagger --- */
.stagger-1 { transition-delay: 60ms; }
.stagger-2 { transition-delay: 120ms; }
.stagger-3 { transition-delay: 180ms; }
.stagger-4 { transition-delay: 240ms; }
.stagger-5 { transition-delay: 300ms; }
.stagger-6 { transition-delay: 360ms; }

/* --- Theme Toggle Premium --- */
.theme-toggle-btn {
  transition: transform var(--motion-base) var(--ease-out),
              background var(--motion-base) var(--ease-out),
              box-shadow var(--motion-base) var(--ease-out);
}

.theme-toggle-btn:hover {
  transform: scale(1.08) rotate(15deg);
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.2);
}

.theme-toggle-btn:active {
  transform: scale(0.95);
}

/* --- Language Switcher Premium --- */
.lang-switcher {
  transition: transform var(--motion-base) var(--ease-out),
              background var(--motion-base) var(--ease-out),
              color var(--motion-base) var(--ease-out),
              border-color var(--motion-base) var(--ease-out),
              box-shadow var(--motion-base) var(--ease-out);
}

.lang-switcher:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.2);
}

/* --- Legal Card Slide --- */
.legal-card {
  transition: transform var(--motion-medium) var(--ease-out),
              box-shadow var(--motion-medium) var(--ease-out);
}

.legal-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 30px rgba(11, 28, 48, 0.12);
}

html.dark .legal-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* --- Hero CTA Buttons --- */
.hero-cta .btn {
  position: relative;
  overflow: hidden;
}



/* --- Image Hover Zoom --- */
.portfolio-card img,
.team-card img {
  transition: transform var(--motion-slow) var(--ease-out);
}

.portfolio-card:hover img,
.team-card:hover img {
  transform: scale(1.05);
}

/* --- Section Title Accent Line --- */
.headline-lg::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary-container);
  border-radius: var(--rounded-full);
  margin-top: 12px;
  transition: width var(--motion-medium) var(--ease-out);
}

.animate-on-scroll.animated .headline-lg::after {
  width: 60px;
}

/* ==========================================================================
    PREFERS-REDUCED-MOTION (Accessibility - WCAG 2.1 SC 2.3.3)
    ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll,
  .animate-slide-left,
  .animate-slide-right,
  .animate-scale {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .btn:active,
  .portfolio-card:hover,
  .client-card:hover,
  .service-card:hover,
  .testimonial-card:hover,
  .team-card:hover,
  .hero-ai-console:hover,
  .whatsapp-float:hover,
  .footer-social a:hover,
  .legal-card:hover,
  .lang-switcher:hover,
  .theme-toggle-btn:hover {
    transform: none;
  }

  .nav-link::after {
    transition: none;
  }

  .whatsapp-float::before {
    animation: none;
  }

  .aispb-robot-wrap,
  .f-bot-eye,
  .f-antenna-glow,
  .f-chest-core,
  .f-bot-arm-right,
  .aispb-bubble {
    animation: none;
  }
}

/* Produk Kami - Dark Icon Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.product-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  transform: translateY(-4px);
}

.product-icon {
  width: 72px;
  height: 72px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-item:hover .product-icon {
  transform: scale(1.1);
}

.product-label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
  }

  .product-item {
    padding: 24px 16px;
  }

  .product-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .product-label {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
  }

  .product-item {
    padding: 20px 12px;
  }

  .product-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .product-label {
    font-size: 11px;
  }
}

.hero-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.hero-service-card {
  background: var(--surface-bright);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--outline-variant);
}

.hero-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.hero-card-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  margin: 0 auto 20px;
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-service-card:hover .hero-card-icon {
  transform: scale(1.1);
}

.hero-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.hero-card-desc {
  font-size: 14px;
  color: var(--on-surface-variant);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Service Detail Cards - 3 Main Services with Lists */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-detail-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 40px;
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-detail-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.service-detail-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  flex-shrink: 0;
}

.service-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-detail-list li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-detail-list li:last-child {
  border-bottom: none;
}

.service-detail-list i {
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

/* Responsive - Hero Cards & Service Details */
@media (max-width: 1024px) {
  .hero-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .hero-cards-wrapper {
    margin-top: -40px;
    margin-bottom: 60px;
  }
  
  .hero-service-card {
    padding: 24px;
  }
  
  .services-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .service-detail-card {
    padding: 28px;
  }
  
  .service-detail-header {
    margin-bottom: 20px;
  }
  
  .service-detail-list li {
    font-size: 14px;
    padding: 10px 0;
  }

}

html.dark {
  .cert-node {
    background: var(--surface-container-lowest);
    border-color: var(--outline-variant);
  }
  .cert-node-title { color: var(--on-surface) !important; }
  .cert-node-sub  { color: var(--on-surface-variant) !important; }

  .branch-card {
    background: var(--surface-container-lowest);
    border-color: var(--outline-variant);
  }
  .branch-label {
    color: var(--on-surface) !important;
  }
  .branch-desc {
    color: var(--on-surface-variant) !important;
  }

  .cert-node:hover,
  .branch-card:hover {
    background: var(--surface-container-low);
  }

  .legal-card,
  .contact-form-card,
  .page-hero,
  .hero-white,
  .hero-service-card {
    background: var(--surface-container-lowest);
    border-color: var(--outline-variant);
  }

  .section-alt { background-color: var(--surface-container-low); }
  .service-card,
  .testimonial-card,
  .team-card,
  .client-card,
  .portfolio-card {
    background-color: var(--surface-container-lowest);
    border-color: var(--outline-variant);
  }

  .cert-node-title,
  .section-title-wrap .section-title,
  .hero-card-title,
  .team-name,
  .team-position,
  .legal-title,
  .page-hero .headline-lg,
  .section-head h2,
  .section-head h2 .accent,
  h1, h2, h3, h4, h5, h6 {
    color: var(--on-surface);
  }

  .cert-node-sub,
  .branch-desc,
  .why-us-desc,
  .about-stat-label,
  .team-desc,
  .legal-value,
  .section-title-desc,
  .section-head p,
  .page-hero .body-md,
  .hero-card-desc,
  .contact-form-card .form-tip,
  .contact-info-card .ci-title,
  .contact-info-card .ci-value,
  .contact-value,
  .contact-info-item strong {
    color: var(--on-surface-variant);
  }

  .section-head .section-kicker,
  .service-detail-list i,
  .nav-link.active::after,
  .about-stat-number {
    color: var(--secondary-container);
  }

  .contact-form-card input,
  .contact-form-card textarea,
  .contact-form-card select,
  .form-input,
  .form-textarea,
  .form-select,
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  textarea,
  select {
    background: var(--surface-container-lowest);
    color: var(--on-surface);
    border-color: var(--outline-variant);
  }

  input::placeholder,
  textarea::placeholder {
    color: var(--on-surface-variant);
  }

  .btn-primary {
    background-color: var(--primary);
    color: var(--on-primary);
    border-color: var(--primary);
  }
  .btn-primary:hover {
    background-color: var(--primary-container);
    border-color: var(--primary-container);
    color: var(--on-primary);
  }
  .btn-secondary {
    background-color: var(--secondary-container);
    color: var(--on-secondary-container);
    border-color: var(--secondary-container);
  }
  .btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--on-secondary);
    border-color: var(--secondary);
  }
  .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
  }
  .btn-outline:hover {
    background-color: var(--primary);
    color: var(--on-primary);
  }

  a { color: var(--inverse-on-surface); }
  .social-link { color: var(--on-surface); }

  .site-header .nav-link,
  .site-header .nav-dropdown-toggle,
  .site-header .logo-brand,
  .site-header .nav-dropdown-link {
    color: #ffffff;
  }
  .site-header .nav-link:hover,
  .site-header .nav-link.active,
  .site-header .nav-dropdown-link:hover {
    color: var(--secondary-container);
  }
  .lang-switcher,
  .lang-switcher span:not(.separator),
  .theme-toggle-btn {
    color: #ffffff;
  }
  html.dark .main-nav .nav-link,
  html.dark .main-nav .nav-dropdown-link,
  html.dark .main-nav .lang-switcher,
  html.dark .site-header .main-nav .nav-link,
  html.dark .site-header .main-nav .nav-dropdown-toggle {
    color: #ffffff;
  }

  .counter-item .counter-number { color: var(--on-surface); }
  .counter-item .counter-label  { color: var(--on-surface-variant); }

  .hero-section { color: #ffffff; }

  .service-detail-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
  }
  .hero-service-card { background: var(--surface-container-lowest); }
  .hero-card-title   { color: var(--on-surface); }
  .hero-card-desc    { color: var(--on-surface-variant); }

  .service-detail-list li { color: rgba(255, 255, 255, 0.85); }

  .service-list li,
  .service-list li span,
  .service-list li strong {
    color: var(--on-surface) !important;
  }
  .service-list li i,
  .fa-circle-check,
  i.fa-solid.fa-circle-check {
    color: var(--secondary-container) !important;
  }
  .page-hero {
    background: var(--primary);
    color: #ffffff;
  }
  .page-hero h1,
  .page-hero p,
  .page-hero .headline-lg,
  .page-hero .body-md {
    color: #ffffff !important;
  }
  .service-detail-content h2,
  .service-detail-content h3,
  .service-detail-content p,
  .service-detail-content strong,
  .service-detail-content li {
    color: var(--on-surface);
  }
  
  html.dark .section,
  html.dark .section-alt {
    color: var(--on-surface) !important;
  }
  
  html.dark .service-card,
  html.dark .testimonial-card,
  html.dark .team-card,
  html.dark .client-card,
  html.dark .portfolio-card {
    color: var(--on-surface);
  }
  
  html.dark .service-card h3,
  html.dark .testimonial-card h3,
  html.dark .team-card h3,
  html.dark .client-card h3,
  html.dark .portfolio-card h3 {
    color: var(--on-surface);
  }
  
  html.dark .service-card p,
  html.dark .testimonial-card p,
  html.dark .team-card p,
  html.dark .client-card p,
  html.dark .portfolio-card p {
    color: var(--on-surface-variant);
  }
  
  html.dark .counter-item .counter-number {
    color: var(--on-surface);
  }
  
  html.dark .counter-item .counter-label {
    color: var(--on-surface-variant);
  }
  
  html.dark .legal-card h4,
  html.dark .legal-card p {
    color: var(--on-surface);
  }
  
  html.dark .about-stat-number {
    color: var(--on-surface);
  }
  
  html.dark .about-stat-label {
    color: var(--on-surface-variant);
  }

  .service-list li,
  .service-list li span,
  .service-list li strong {
    color: var(--on-surface) !important;
  }
  .service-list li i,
  .fa-circle-check,
  i.fa-solid.fa-circle-check {
    color: var(--secondary-container) !important;
  }
  .page-hero {
    background: var(--primary);
    color: #ffffff;
  }
  .page-hero h1,
  .page-hero p,
  .page-hero .headline-lg,
  .page-hero .body-md {
    color: #ffffff !important;
  }
  .service-detail-content h2,
  .service-detail-content h3,
  .service-detail-content p,
  .service-detail-content strong,
  .service-detail-content li {
    color: var(--on-surface);
  }

  .about-stat-number { color: var(--secondary-container); }
  .footer-social a { background: rgba(255, 255, 255, 0.12); color: var(--on-primary); }
  .social-circle i   { color: var(--on-surface); }

  #map-container, .map-embed {
    border-color: var(--outline-variant);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
}

/* Gallery Filter Pills */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.gallery-filter-btn {
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--outline-variant);
  background: var(--surface-bright);
  color: var(--on-surface-variant);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-filter-btn:hover {
  background: var(--surface-container-high);
  color: var(--on-surface);
  border-color: #0284c7;
  transform: translateY(-1px);
}

.gallery-filter-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

html.dark .gallery-filter-btn.active {
  background: #38bdf8;
  color: #0b1220;
  border-color: #38bdf8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-card {
  cursor: pointer;
  border-radius: var(--rounded-lg);
  overflow: hidden;
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  transition: opacity 0.25s ease, transform var(--motion-medium) var(--ease-out),
              box-shadow var(--motion-medium) var(--ease-out);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.gallery-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-slow) var(--ease-out);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 30, 54, 0.92) 0%, rgba(11, 30, 54, 0.45) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--motion-base) var(--ease-out);
  color: #fff;
  text-align: left;
}

.gallery-item-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(56, 189, 248, 0.25);
  color: #70d6ff;
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
  width: fit-content;
}

.gallery-item-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
}

.gallery-zoom-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  padding: 14px 16px;
}

.gallery-info h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--motion-base) var(--ease-out),
              visibility var(--motion-base) var(--ease-out);
  padding: 40px 24px;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 90vh;
}

.lightbox-body {
  background: #1a1a1a;
  border-radius: var(--rounded-lg);
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: var(--rounded-full);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--motion-base) var(--ease-out);
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  background: #000;
}

.lightbox-caption {
  padding: 20px 24px;
  text-align: left;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
}

.lightbox-caption h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.lightbox-caption p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 8px;
}

.lightbox-caption span {
  display: inline-block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.lightbox-back {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--rounded-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--motion-base) var(--ease-out);
}

.lightbox-back:hover {
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lightbox-close {
    top: -40px;
    right: 0;
  }
  .lightbox-img {
    max-height: 55vh;
  }
}

html.dark .gallery-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Print Stylesheet */
@media print {
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  a, a:visited {
    text-decoration: underline;
    color: #000 !important;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: normal;
  }

  /* Hide non-essential elements */
  .site-header,
  .loading-screen,
  .aispb-mascot,
  .whatsapp-float,
  .greeting-bar,
  .toast-container,
  .cta-band,
  .nav-overlay,
  .mobile-menu-btn,
  .mobile-close-btn,
  .theme-toggle-btn,
  .lang-switcher,
  footer,
  .section:last-of-type {
    display: none !important;
  }

  /* Show page content */
  .page-hero {
    margin-top: 0 !important;
    padding: 20px 0 !important;
    page-break-after: avoid;
  }

  .section {
    page-break-inside: avoid;
    padding: 20px 0 !important;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h1, h2, h3, h4 {
    page-break-after: avoid;
  }

  /* Container */
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
}

/* ==========================================================================
   LAYOUT & COMPONENT CLASSES
   Replaces inline styles that were duplicated across pages.
   ========================================================================== */

/* Two-column split, collapses to one column on mobile */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--stack-xxl);
  align-items: center;
}

/* Hero pill label */
.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 16px;
  border-radius: var(--rounded-full);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--stack-md);
  color: #fff;
}

/* Centered figure with image inside a hero */
.hero-figure {
  text-align: center;
}

.hero-figure img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: var(--rounded-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Uppercase eyebrow label above a heading */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--stack-sm);
}

/* Section heading */
.h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--on-surface);
  margin-bottom: var(--stack-md);
}

/* Card heading */
.h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--on-surface);
  margin-bottom: var(--stack-sm);
}

/* Body copy */
.lead {
  color: var(--on-surface-variant);
  line-height: 1.8;
  margin-bottom: var(--stack-lg);
}

.muted {
  color: var(--on-surface-variant);
  line-height: 1.6;
}

/* Surface card */
.card {
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded-lg);
  padding: var(--stack-xl);
}

.card--center {
  text-align: center;
}

.card--tight {
  padding: var(--stack-lg);
}

/* Circular icon badge inside a card */
.icon-badge {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: var(--stack-md);
  flex-shrink: 0;
}

.icon-badge--lg {
  width: 64px;
  height: 64px;
  font-size: 24px;
  margin-inline: auto;
  margin-bottom: var(--stack-lg);
}

/* Numbered badge */
.num-badge {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--rounded-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--stack-md);
}

.num-badge--sq {
  border-radius: var(--rounded-lg);
  width: 56px;
  height: 56px;
  min-width: 56px;
  font-size: 1.375rem;
  margin-bottom: 0;
}

/* Checklist with tick icons */
.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--stack-sm);
}

.check-item {
  display: flex;
  align-items: center;
  gap: var(--stack-sm);
  font-size: 0.875rem;
  color: var(--on-surface);
}

.check-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Centered section head block */
.section-head-center {
  text-align: center;
  margin-bottom: var(--stack-xxl);
}

.section-head-center .lead {
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 0;
}

/* Stacked list rows with divider (leadership modules) */
.step-list {
  max-width: 720px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: var(--stack-lg);
  padding-bottom: var(--stack-xl);
  margin-top: var(--stack-xl);
  border-bottom: 1px solid var(--outline-variant);
}

.step-item:first-child {
  margin-top: 0;
}

.step-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.step-body {
  padding-top: var(--stack-xs);
}

.step-title {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--on-surface);
  margin-bottom: 6px;
}

/* Navy CTA band */
.section-cta {
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.section-cta .h2 {
  color: #fff;
  margin-bottom: var(--stack-md);
}

.section-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--stack-xl);
}

.section-cta__inner {
  max-width: 600px;
  margin: 0 auto;
}

/* WhatsApp action button */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--stack-xs);
  background: #25D366;
  color: #052e16;
  padding: 14px 32px;
  border-radius: var(--rounded-md);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  min-height: 48px;
}

.wa-btn:hover {
  background: #1eb455;
  color: #052e16;
}

/* Evenly spaced icon row */
.icon-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--stack-md);
}

/* 404 page */
.error-page {
  margin-top: var(--header-height);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-container-low);
  text-align: center;
}

.error-page__code {
  font-size: clamp(6rem, 20vw, 10rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--stack-xs);
  opacity: 0.15;
}

.error-page__actions {
  display: flex;
  gap: var(--stack-sm);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .split-2 {
    grid-template-columns: 1fr;
    gap: var(--stack-xl);
  }
}

/* Cover image (aspect-ratio 4:3) */
.media-cover {
  width: 100%;
  border-radius: var(--rounded-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Empty gallery state */
.empty-state {
  text-align: center;
  padding: var(--stack-xxl) 20px;
}

.empty-state i {
  font-size: 3rem;
  color: var(--outline);
  margin-bottom: var(--stack-md);
}

/* Preformatted line breaks */
.text-pre-line {
  white-space: pre-line;
}

/* Team member card */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--stack-lg);
  max-width: 800px;
  margin: 0 auto;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--stack-md);
  border: 3px solid var(--primary);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 4px;
}

.team-position {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--stack-sm);
}

.team-desc {
  font-size: 13px;
  color: var(--on-surface-variant);
  line-height: 1.6;
}

/* Social media icons */
.social-icons-row {
  display: flex;
  justify-content: center;
  gap: var(--stack-xl);
  flex-wrap: wrap;
}

.social-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--stack-sm);
  text-decoration: none;
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-link:hover {
  transform: translateY(-6px);
}

.social-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--social-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-link:hover .social-icon-circle {
  box-shadow: 0 8px 30px var(--social-color);
  transform: scale(1.1);
}

.social-icon-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface);
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-link:hover .social-icon-label {
  color: var(--social-color);
}

@keyframes socialBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.social-icon-link:hover .social-icon-circle {
  animation: socialBounce 0.6s ease;
}

/* Security levels grid (2 columns, collapses on mobile) */
.center-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .center-grid-2 {
    grid-template-columns: 1fr;
  }
  .security-about-img,
  .leadership-program-img,
  .about-detail-img {
    display: none;
  }
  .social-icons-row {
    gap: var(--stack-lg);
  }
  .social-icon-circle {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }
  .social-icon-label {
    font-size: 12px;
  }
}

/* Numbered card badge, circle variant */
.num-badge--circle {
  border-radius: 50%;
}

/* Legal / compliance list rows */
.legal-list {
  display: flex;
  flex-direction: column;
  gap: var(--stack-sm);
  max-width: 700px;
  margin: 0 auto;
}

.legal-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded-md);
  text-align: left;
  font-size: 0.875rem;
  color: var(--on-surface);
}

.legal-icon {
  color: var(--primary);
  font-size: 18px;
  min-width: 20px;
}

/* ==========================================================================
   SPB SERVICES SHOWCASE: DUAL PROMO (Emergency Medical + Apple AI Aesthetic)
   ========================================================================== */
.spb-services-showcase {
  background-color: var(--surface-container-low, #f8fafc);
  border-top: 1px solid var(--outline-variant, #e2e8f0);
  border-bottom: 1px solid var(--outline-variant, #e2e8f0);
  position: relative;
  overflow: hidden;
  padding: 70px 0 75px;
}

.spb-showcase-container {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Section Context */
.spb-showcase-header {
  text-align: center;
  margin-bottom: 36px;
}

.spb-showcase-title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  color: var(--on-surface, #0f172a) !important;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}

/* Grid Layout */
.spb-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;
}

/* Base Card Styles */
.spb-emergency-card,
.spb-apple-ai-card {
  border-radius: 24px;
  padding: 38px 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 330px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}

.spb-card-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ==============================================
   CARD 1: SPB RESCUE (Emergency Medical)
   ============================================== */
.spb-emergency-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
}

.spb-emergency-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -10px rgba(220, 38, 38, 0.15), 0 0 0 1px rgba(220, 38, 38, 0.25);
}

.spb-emergency-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, #dc2626, #ef4444, #0284c7);
  border-radius: 24px 24px 0 0;
}

/* Pill Badges */
.spb-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 22px;
}

.rescue-pill {
  background: #fef2f2;
  border: 1px solid rgba(254, 202, 202, 0.85);
  color: #b91c1c;
}

.rescue-pill .badge-emoji {
  display: inline-block;
  font-size: 13px;
}

/* Card Content */
.spb-card-content {
  margin-bottom: 16px;
}

.spb-card-title {
  font-size: clamp(22px, 2.2vw, 25px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 14px;
}

.text-slate-900 {
  color: #0f172a !important;
}

.spb-card-desc {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.text-slate-600 {
  color: #475569;
}

.text-slate-800 {
  color: #1e293b;
}

/* Card Actions & Buttons */
.spb-card-actions {
  margin-top: auto;
  padding-top: 24px;
}

.spb-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  height: 50px;
  min-height: 50px;
  max-height: 50px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.spb-btn span,
.spb-btn .spb-btn-text {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.spb-btn i,
.spb-btn svg,
.spb-btn-svg {
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spb-btn-arrow {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.spb-btn:hover .spb-btn-arrow {
  transform: translateX(4px);
}

.spb-btn-emergency {
  background: #dc2626;
  color: #ffffff !important;
  box-shadow: 0 8px 24px -4px rgba(220, 38, 38, 0.35);
  border: none;
}

.spb-btn-emergency:hover {
  background: #b91c1c;
  filter: brightness(1.05);
  box-shadow: 0 12px 28px -4px rgba(220, 38, 38, 0.45);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.spb-btn-emergency:active {
  transform: scale(0.99);
}

/* ==============================================
   CARD 2: AIOFSPB ASSISTANT (Apple AI Aesthetic)
   ============================================== */
.spb-apple-ai-card {
  background: linear-gradient(135deg, rgba(61, 7, 17, 0.94) 0%, rgba(30, 4, 10, 0.98) 60%, rgba(15, 23, 42, 0.96) 100%);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.35), inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);
  position: relative;
}

.spb-apple-ai-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(186, 230, 253, 0.2) 30%, transparent 60%, rgba(123, 17, 35, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.spb-apple-ai-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.5), inset 0 1px 1px 0 rgba(255, 255, 255, 0.35);
}

.relative-z {
  position: relative;
  z-index: 2;
}

/* Card Ambient Glow Orbs */
.spb-ai-glow-orb {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}

.spb-ai-glow-orb.orb-top {
  top: -64px;
  right: -64px;
  width: 256px;
  height: 256px;
  background: radial-gradient(circle at center, rgba(123, 17, 35, 0.65) 0%, rgba(56, 189, 248, 0.2) 55%, transparent 75%);
  filter: blur(48px);
  opacity: 0.85;
}

.spb-ai-glow-orb.orb-bottom {
  bottom: -80px;
  left: -80px;
  width: 256px;
  height: 256px;
  background: rgba(61, 7, 17, 0.9);
  filter: blur(60px);
}

.spb-ai-glow-orb.orb-mid {
  top: 33%;
  right: 25%;
  width: 128px;
  height: 128px;
  background: rgba(56, 189, 248, 0.1);
  filter: blur(40px);
}

/* Apple Frosted Pill Badge */
.apple-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease;
}

.spb-apple-ai-card:hover .apple-pill {
  background: rgba(255, 255, 255, 0.12);
}

.badge-sparkle {
  color: #7dd3fc;
  font-size: 12px;
}

.badge-text-glacier {
  color: #f0f9ff;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* AI Card Title */
.spb-ai-gradient-title {
  background: linear-gradient(to right, #ffffff 0%, #e0f2fe 50%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-slate-300 {
  color: rgba(203, 213, 225, 0.9);
}

/* AI Action Button */
.spb-btn-apple-ai {
  position: relative;
  background: linear-gradient(to right, #7b1123, #5a0c1b, #0f172a);
  border: 1px solid rgba(125, 211, 252, 0.4);
  color: #ffffff !important;
  box-shadow: 0 8px 25px -4px rgba(123, 17, 35, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.spb-btn-apple-ai:hover {
  border-color: #bae6fd;
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.spb-btn-apple-ai:active {
  transform: scale(0.99);
}

.spb-frosted-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, transparent, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.2));
  pointer-events: none;
}

.text-glacier-200 {
  color: #bae6fd;
}

.text-glacier-300 {
  color: #7dd3fc;
}

/* Micro Footer Status Indicator */
.spb-showcase-microfooter {
  text-align: center;
  margin-top: 32px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-surface-variant, #64748b);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .spb-services-showcase {
    padding: 55px 0 60px;
  }
  .spb-dual-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .spb-emergency-card,
  .spb-apple-ai-card {
    padding: 30px 24px 28px;
    min-height: auto;
  }
  .spb-showcase-header {
    margin-bottom: 28px;
  }
  .spb-card-title {
    font-size: 21px;
  }
  .spb-card-actions {
    margin-top: 26px;
  }
}

@media (max-width: 576px) {
  .spb-emergency-card,
  .spb-apple-ai-card {
    padding: 26px 20px 24px;
  }
  .spb-pill-badge {
    margin-bottom: 16px;
    font-size: 11px;
    padding: 5px 12px;
  }
  .spb-card-title {
    font-size: 19px;
  }
  .spb-card-desc {
    font-size: 14px;
  }
  .spb-btn {
    padding: 12px 18px;
    font-size: 14px;
    min-height: 46px;
  }
}

/* ==========================================================================
   CLIENT LOGOS MARQUEE (mask-image fade is functional, not decorative)
   ========================================================================== */
.clients-section {
  background: var(--surface-container-lowest);
  padding: 70px 0;
  overflow: hidden;
  border-top: 1px solid var(--outline-variant);
}
.clients-title {
  text-align: center;
  margin-bottom: 44px;
}
.clients-title h2 {
  color: var(--on-surface);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.logo-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logo-marquee-track {
  display: flex;
  gap: 60px;
  animation: logoScroll 30s linear infinite;
  width: max-content;
}
.logo-marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.3s;
  padding: 0 20px;
  background: var(--surface-bright);
  border-radius: var(--rounded-sm);
  mix-blend-mode: multiply;
}
.logo-marquee-item:hover {
  opacity: 1;
}
.logo-marquee-track:hover {
  animation-play-state: paused;
}
.logo-marquee-item img {
  max-width: 120px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 8px 4px;
}
@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}
@media (max-width: 768px) {
  .logo-marquee-track { gap: 40px; }
  .logo-marquee-item { padding: 0 12px; }
  .logo-marquee-item img { height: 30px; }
}

/* ==========================================================================
   CONTACT PAGE COMPONENTS
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded-xl);
  padding: 8px 0;
  overflow: hidden;
}
.contact-info-item {
  padding: 22px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  border-bottom: 1px solid var(--outline-variant);
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-info-item:last-child {
  border-bottom: none;
}
.contact-info-item:hover {
  background: var(--surface-container-low);
}
.contact-info-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: var(--primary-container);
  color: var(--on-primary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}
.contact-info-item:hover .contact-info-icon {
  background: var(--primary);
  color: var(--on-primary);
}
.contact-info-text h4 {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 4px 0;
  color: var(--on-surface);
}
.contact-info-text p {
  margin: 0;
  color: var(--on-surface-variant);
  font-size: 14px;
  line-height: 1.55;
}
.operational-hours {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
}
.op-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--on-surface-variant);
}
.text-red {
  color: var(--error);
  font-weight: 600;
}
.contact-form-card {
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded-xl);
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(11, 30, 54, 0.04);
}
.contact-form-card .form-group {
  margin-bottom: 20px;
}
.contact-form-card label {
  display: block;
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 8px;
  color: var(--on-surface);
}
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded-md);
  font-size: 15px;
  background: var(--surface);
  color: var(--on-surface);
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-form-card input:hover,
.contact-form-card textarea:hover {
  border-color: var(--outline);
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.contact-form-card textarea {
  resize: vertical;
  min-height: 120px;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: var(--rounded-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-submit:hover {
  background: var(--primary-variant);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}
.btn-submit:active {
  transform: translateY(0);
}
.contact-map-wrapper {
  position: relative;
  border-radius: var(--rounded-xl);
  overflow: hidden;
  border: 1px solid var(--outline-variant);
}
.map-open-link {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  background: var(--surface);
  color: var(--on-surface);
  padding: 9px 16px;
  border-radius: var(--rounded-md);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-level-1);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: $10.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.map-open-link:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-level-2);
}
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-info-item { padding: 18px 20px; }
  .contact-form-card { padding: 28px 22px; }
  .contact-map-wrapper iframe { height: 300px; }
}
/* Contact map embed fills the framed wrapper on every screen */
.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-submit-wa {
  background: #059669 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.btn-submit-wa:hover {
  background: #10b981 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}

/* ==============================================================
   Trio Showcase (Rescue, Outbound, AIofSPB) & Dark Mode Fix
   ============================================================== */
.spb-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .spb-trio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .spb-trio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.spb-outbound-card {
  border-radius: 24px;
  padding: 38px 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 330px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}

.spb-outbound-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -10px rgba(16, 185, 129, 0.2), 0 0 0 1px rgba(16, 185, 129, 0.35);
}

.spb-outbound-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, #059669, #10b981, #34d399);
  border-radius: 24px 24px 0 0;
}

.outbound-pill {
  background: #ecfdf5;
  border: 1px solid rgba(167, 243, 208, 0.9);
  color: #065f46;
}

.spb-btn-outbound {
  background: #065f46;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(6, 95, 70, 0.25);
  border: none;
}

.spb-btn-outbound:hover {
  background: #047857;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 95, 70, 0.35);
}

/* Dark Mode Overrides for Emergency & Outbound cards */
html.dark .spb-emergency-card {
  background: #14203A;
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 14px 36px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(239, 68, 68, 0.2);
}

html.dark .spb-emergency-card .spb-card-title {
  color: #f8fafc !important;
}

html.dark .spb-emergency-card .spb-card-desc {
  color: #94a3b8 !important;
}

html.dark .spb-emergency-card .spb-card-desc strong {
  color: #f1f5f9 !important;
}

html.dark .rescue-pill {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

html.dark .spb-outbound-card {
  background: #14203A;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 14px 36px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(16, 185, 129, 0.2);
}

html.dark .spb-outbound-card .spb-card-title {
  color: #f8fafc !important;
}

html.dark .spb-outbound-card .spb-card-desc {
  color: #94a3b8 !important;
}

html.dark .spb-outbound-card .spb-card-desc strong {
  color: #f1f5f9 !important;
}

html.dark .outbound-pill {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

html.dark .spb-btn-outbound {
  background: #059669;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
}

html.dark .spb-btn-outbound:hover {
  background: #10b981;
}

/* ==============================================================
   Interactive Certification Cards & Apple Modal
   ============================================================== */
.cert-clickable {
  cursor: pointer !important;
  user-select: none;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  outline: none;
}

.cert-clickable:hover {
  transform: translateY(-6px) !important;
  border-color: #0284c7 !important;
  box-shadow: 0 20px 42px -16px rgba(2, 132, 199, 0.28), 0 0 0 1px rgba(14, 165, 233, 0.35) !important;
}

.cert-clickable:focus-visible {
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.4) !important;
}

.cert-clickable:active,
.cert-clicked {
  transform: scale(0.97) !important;
}

.cert-interactive-pill,
.branch-interactive-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 99px;
  margin-top: 8px;
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.22);
  transition: all 0.25s ease;
}

.cert-clickable:hover .cert-interactive-pill,
.cert-clickable:hover .branch-interactive-pill {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.3);
}

html.dark .cert-interactive-pill,
html.dark .branch-interactive-pill {
  background: rgba(56, 189, 248, 0.12);
  color: #70d6ff;
  border-color: rgba(56, 189, 248, 0.25);
}

html.dark .cert-clickable:hover .cert-interactive-pill,
html.dark .cert-clickable:hover .branch-interactive-pill {
  background: #38bdf8;
  color: #0b1220;
}

.cert-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(11, 18, 32, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.cert-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cert-modal-container {
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  padding: 32px 30px 28px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(226, 232, 240, 0.6);
  position: relative;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.cert-modal-backdrop.active .cert-modal-container {
  transform: scale(1) translateY(0);
}

html.dark .cert-modal-container {
  background: #111c33;
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.cert-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.12);
  border: none;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s ease;
}

.cert-modal-close:hover {
  background: rgba(148, 163, 184, 0.25);
  color: #0f172a;
  transform: scale(1.08);
}

html.dark .cert-modal-close {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

html.dark .cert-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #f8fafc;
}

.cert-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

html.dark .cert-modal-header {
  border-color: rgba(148, 163, 184, 0.15);
}

.cert-modal-icon-squircle {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.25);
}

.cert-modal-title-wrap {
  flex: 1;
}

.cert-modal-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}

html.dark .cert-modal-badge {
  color: #70d6ff;
  background: rgba(56, 189, 248, 0.15);
}

.cert-modal-heading {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

html.dark .cert-modal-heading {
  color: #f8fafc;
}

.cert-modal-section {
  margin-bottom: 20px;
}

.cert-section-label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

html.dark .cert-section-label {
  color: #cbd5e1;
}

.cert-modal-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

html.dark .cert-modal-desc {
  color: #94a3b8;
}

.cert-modal-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .cert-modal-grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.cert-feature-list,
.cert-output-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cert-feature-list li,
.cert-output-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #334155;
}

html.dark .cert-feature-list li,
html.dark .cert-output-list li {
  color: #cbd5e1;
}

.cert-feature-list li i,
.cert-output-list li i {
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 12px;
}

.cert-output-highlight {
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 16px 18px;
}

html.dark .cert-output-highlight {
  background: #14203a;
  border-color: rgba(148, 163, 184, 0.15);
}

.cert-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

html.dark .cert-modal-footer {
  border-color: rgba(148, 163, 184, 0.15);
}

.cert-modal-btn {
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.cert-modal-btn-wa {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.cert-modal-btn-wa:hover {
  background: #10b981;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}

.cert-modal-btn-dismiss {
  background: rgba(148, 163, 184, 0.15);
  color: #475569;
}

.cert-modal-btn-dismiss:hover {
  background: rgba(148, 163, 184, 0.25);
  color: #0f172a;
}

html.dark .cert-modal-btn-dismiss {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

html.dark .cert-modal-btn-dismiss:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #f8fafc;
}

.contact-map-wrapper iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}


/* ==========================================================================
   MODERN FLOATING PILL NAVBAR & GLASSMORPHISM DESIGN SYSTEM
   ========================================================================== */

/* Hide old header if present */
.site-header {
  display: none !important;
}

/* Floating Pill Header - Desktop & Tablet */
.floating-pill-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 999999;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 16px;
  transition: top 0.3s ease;
}

.pill-nav {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 14px 8px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 36px -10px rgba(11, 30, 54, 0.15), 0 0 1px 1px rgba(255, 255, 255, 0.6) inset;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: 1200px;
}

.dark .pill-nav {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.1) inset;
}

/* Logo in Pill */
.pill-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-heading, #0f172a);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.2s ease;
  user-select: none;
}

.dark .pill-logo {
  color: #f8fafc;
}

.pill-logo .logo-img {
  height: 34px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

.pill-logo .logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.pill-brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
}

.pill-expand-hint {
  display: none;
  font-size: 10px;
  color: #0284c7;
  transition: transform 0.3s ease;
}

/* Menu Wrap */
.pill-menu-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-body, #334155);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: transparent;
  border: none;
  cursor: pointer;
}

.dark .pill-link {
  color: #cbd5e1;
}

.pill-link:hover,
.pill-link.active {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
}

.dark .pill-link:hover,
.dark .pill-link.active {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
}

/* AI Pill Special Button */
.pill-ai-btn {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  font-weight: 700;
  padding: 7px 16px;
}

.pill-ai-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}

.pill-ai-badge {
  font-size: 9.5px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.5px;
  font-weight: 800;
}

/* Dropdown */
.pill-dropdown {
  position: relative;
}

.pill-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 210px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 18px;
  padding: 8px;
  list-style: none;
  margin: 0;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
}

.dark .pill-dropdown-menu {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.pill-dropdown:hover .pill-dropdown-menu,
.pill-dropdown.open .pill-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.pill-dropdown-link {
  display: block;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body, #334155);
  text-decoration: none;
  transition: all 0.2s ease;
}

.dark .pill-dropdown-link {
  color: #cbd5e1;
}

.pill-dropdown-link:hover,
.pill-dropdown-link.active {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
}

.dark .pill-dropdown-link:hover,
.dark .pill-dropdown-link.active {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

/* Controls inside Pill (Lang + Theme) */
.pill-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 1px solid rgba(203, 213, 225, 0.6);
  padding-left: 16px;
}

.dark .pill-controls {
  border-left-color: rgba(255, 255, 255, 0.15);
}

/* Language Switcher with Glowing Active Pill */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(241, 245, 249, 0.85);
  padding: 3px;
  border-radius: 9999px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.dark .lang-switcher {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

.lang-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dark .lang-btn {
  color: #94a3b8;
}

/* Distinct glowing highlight on active language */
.lang-btn.active {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(2, 132, 199, 0.65), 0 2px 6px rgba(0, 0, 0, 0.15);
  transform: scale(1.04);
}

.lang-switcher .separator {
  color: #cbd5e1;
  font-size: 11px;
  margin: 0 2px;
}

.dark .lang-switcher .separator {
  color: #475569;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(241, 245, 249, 0.85);
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dark .theme-toggle-btn {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

.theme-toggle-btn:hover {
  color: #0284c7;
  transform: rotate(15deg);
}

.dark .theme-toggle-btn:hover {
  color: #38bdf8;
}

/* ==========================================================================
   SHRINK-ON-SCROLL STATE (HOVER TOWARDS ELEMENT TO REVEAL LAYANAN KAMI)
   ========================================================================== */
.floating-pill-header.shrunk {
  top: 12px;
}

.floating-pill-header.shrunk .pill-nav {
  padding: 6px 16px;
  gap: 10px;
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  cursor: pointer;
  transform: translateY(-2px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

/* Hover bridge around shrunk pill for seamless cursor tracking */
.floating-pill-header.shrunk .pill-nav::after {
  content: '';
  position: absolute;
  top: -12px;
  bottom: -20px;
  left: -20px;
  right: -20px;
  background: transparent;
  pointer-events: auto;
  z-index: -1;
}

/* Shrunk without hover: compact state with smooth luxury dampening */
.floating-pill-header.shrunk:not(:hover):not(.force-expanded):not(:focus-within) .pill-menu-wrap {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  transform: translateX(18px) scale(0.92);
  filter: blur(3px);
  margin: 0;
  gap: 0;
  transition: max-width 0.58s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease, visibility 0.58s, gap 0.58s;
}

.floating-pill-header.shrunk:not(:hover):not(.force-expanded):not(:focus-within) .pill-expand-hint {
  display: inline-flex !important;
  font-size: 10px;
  color: #0284c7;
  margin-left: 4px;
}

/* Shrunk WHEN HOVERED or FORCE-EXPANDED: fluidly expands to reveal Layanan Kami & all menu items */
.floating-pill-header.shrunk:hover .pill-nav,
.floating-pill-header.shrunk.force-expanded .pill-nav,
.floating-pill-header.shrunk:focus-within .pill-nav {
  transform: translateY(0) scale(1);
  padding: 8px 14px 8px 18px;
  gap: 18px;
  cursor: default;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.floating-pill-header.shrunk:hover .pill-menu-wrap,
.floating-pill-header.shrunk.force-expanded .pill-menu-wrap,
.floating-pill-header.shrunk:focus-within .pill-menu-wrap {
  display: flex !important;
  opacity: 1 !important;
  max-width: 950px !important;
  pointer-events: auto !important;
  visibility: visible !important;
  transform: translateX(0) scale(1) !important;
  filter: blur(0) !important;
  overflow: visible !important;
  gap: 18px !important;
  transition: max-width 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease 0.08s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease, visibility 0.65s, gap 0.65s;
}

.floating-pill-header.shrunk:hover .pill-expand-hint,
.floating-pill-header.shrunk.force-expanded .pill-expand-hint {
  display: none !important;
}

/* ==========================================================================
   MOBILE SPLIT NAVIGATION (< 768px)
   Top Mini-Bar + Bottom App Bar
   ========================================================================== */

/* Mobile Top Mini-Bar (Lang + Theme + Mini Brand) */
.mobile-top-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  z-index: 1000;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.dark .mobile-top-bar {
  background: rgba(15, 23, 42, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.mobile-top-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-heading, #0f172a);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.dark .mobile-top-logo {
  color: #f8fafc;
}

.logo-img-sm {
  height: 26px;
  width: auto;
  border-radius: 6px;
}

.logo-icon-sm {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.mobile-top-title {
  font-family: var(--font-heading);
  font-size: clamp(11px, 3.2vw, 13px);
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.mobile-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile Bottom Navigation Bar (5 Items) */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
  padding: 0 6px;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}

.dark .mobile-bottom-nav {
  background: rgba(15, 23, 42, 0.94);
  border-top-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 600;
  padding: 6px 2px;
  border-radius: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark .bottom-nav-item {
  color: #94a3b8;
}

.bottom-nav-icon {
  font-size: 17px;
  transition: transform 0.2s ease;
}

.bottom-nav-item.active {
  color: #0284c7;
  font-weight: 800;
}

.dark .bottom-nav-item.active {
  color: #38bdf8;
}

.bottom-nav-item.active .bottom-nav-icon {
  transform: translateY(-2px);
}

/* Special AI item in bottom bar */
.bottom-nav-ai {
  color: #0284c7;
}

.dark .bottom-nav-ai {
  color: #38bdf8;
}

.bottom-nav-ai .bottom-nav-icon {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

/* Media Query: Toggle Desktop Floating Pill vs Mobile Navigation */
@media (max-width: 900px) {
  .floating-pill-header {
    display: none !important;
  }
  .mobile-top-bar {
    display: flex !important;
  }
  .mobile-bottom-nav {
    display: grid !important;
  }
  /* Offset body padding for fixed top & bottom mobile bars */
  body {
    padding-top: 52px !important;
    padding-bottom: 64px !important;
  }
}

/* ==========================================================================
   3D FLIP CARDS ("MENGAPA SATYA PUTRA BANGSA?")
   ========================================================================== */
.flip-card-container {
  perspective: 1200px;
}

.flip-service-card {
  position: relative;
  width: 100%;
  min-height: 310px;
  height: 100%;
  cursor: pointer;
  background: transparent;
  perspective: 1200px;
  user-select: none;
}

.flip-service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.flip-service-card.is-flipped .flip-service-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 24px;
  box-sizing: border-box;
}

/* Front Face */
.flip-card-front {
  background: var(--surface-bright, #ffffff);
  border: 1px solid var(--border-soft, #e2e8f0);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -10px rgba(11, 30, 54, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.dark .flip-card-front {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

.flip-service-card:hover .flip-card-front {
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 20px 40px -12px rgba(2, 132, 199, 0.18);
  transform: translateY(-4px);
}

.flip-hint-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease, transform 0.3s ease;
}

.flip-service-card:hover .flip-hint-badge {
  color: #0284c7;
  transform: scale(1.1);
}

/* Back Face */
.flip-card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.06), rgba(14, 165, 233, 0.14));
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(2, 132, 199, 0.45);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 40px -10px rgba(2, 132, 199, 0.22);
}

.dark .flip-card-back {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
  border-color: rgba(56, 189, 248, 0.4);
}

.flip-back-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.flip-back-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #0284c7;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.flip-back-title {
  font-size: 15px;
  font-weight: 800;
  color: #0b1e36;
  margin: 0;
  line-height: 1.3;
}

.dark .flip-back-title {
  color: #f8fafc;
}

.flip-back-body {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-body, #334155);
}

.dark .flip-back-body {
  color: #cbd5e1;
}

.flip-back-points {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flip-back-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.45;
}

.flip-back-points li i {
  color: #0284c7;
  margin-top: 3px;
  font-size: 11px;
}

.flip-back-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(2, 132, 199, 0.3);
  font-size: 11.5px;
  color: #0284c7;
  font-weight: 700;
}

/* ==========================================================================
   AESTHETIC GALLERY PAGE ENHANCEMENTS
   ========================================================================== */
.gallery-hero-aesthetic {
  padding: 60px 0 30px;
  text-align: center;
}

.gallery-pills-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 36px;
}

.gallery-pill-btn {
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--surface-bright, #ffffff);
  border: 1px solid var(--border-soft, #e2e8f0);
  color: #64748b;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dark .gallery-pill-btn {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.gallery-pill-btn.active,
.gallery-pill-btn:hover {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.gallery-aesthetic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-item-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 45px -12px rgba(2, 132, 199, 0.3);
}

.gallery-item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-card:hover img {
  transform: scale(1.08);
}

.gallery-glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(11, 30, 54, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.gallery-badge-pill {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(2, 132, 199, 0.85);
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.gallery-card-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px 0;
  line-height: 1.35;
}

.gallery-card-date {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

/* ==========================================================================
   AESTHETIC CONTACT PAGE (NO ADMIN FORM, 100% DIRECT INFO + WA CTA)
   ========================================================================== */
.contact-aesthetic-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin: 20px 0 50px;
}

@media (max-width: 850px) {
  .contact-aesthetic-wrap {
    grid-template-columns: 1fr;
  }
}

.contact-card-glass {
  background: var(--surface-bright, #ffffff);
  border: 1px solid var(--border-soft, #e2e8f0);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: 0 16px 40px -15px rgba(11, 30, 54, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dark .contact-card-glass {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px -15px rgba(0, 0, 0, 0.4);
}

.contact-cta-hero {
  background: linear-gradient(135deg, #0284c7, #0b1e36);
  color: #ffffff;
  border-radius: 28px;
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px -15px rgba(2, 132, 199, 0.4);
  position: relative;
  overflow: hidden;
}

.contact-cta-hero::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.wa-direct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 9999px;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-direct-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 35px rgba(37, 211, 102, 0.55);
  background: #20bd5a;
}


/* Differentiating Specs Pills for Layanan Unggulan */
.cert-card-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 6px 0 8px 0;
}

.spec-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.2px;
}

.spec-durasi {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.dark .spec-durasi {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

.spec-level {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.dark .spec-level {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
}

/* Micro-animations & Smooth UX Polish */
.whatsapp-float {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Smooth button tap feedback */
button:active,
.btn:active,
.pill-link:active,
.bottom-nav-item:active {
  transform: scale(0.96) !important;
  transition: transform 0.1s ease;
}

/* Smooth bounce down animation for pill shrink hint */
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* ============================================================
   BRAND TEXT SHRINK (SATYA PUTRA BANGSA -> SPB)
   ============================================================ */
.pill-brand-text {
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill-brand-text .brand-full {
  display: inline;
}

.pill-brand-text .brand-short {
  display: none;
}

.floating-pill-header.shrunk .pill-brand-text .brand-full,
.pill-nav.shrunk .pill-brand-text .brand-full {
  display: none !important;
}

.floating-pill-header.shrunk .pill-brand-text .brand-short,
.pill-nav.shrunk .pill-brand-text .brand-short {
  display: inline !important;
  font-size: 15px;
  letter-spacing: 0.08em;
}

/* ============================================================
   PILL DROPDOWN MENU (LAYANAN KAMI)
   ============================================================ */
.pill-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.pill-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 6px 12px;
}

.pill-dropdown-toggle i {
  font-size: 10px;
  transition: transform 0.25s ease;
}

.pill-dropdown:hover .pill-dropdown-toggle i,
.pill-dropdown.is-open .pill-dropdown-toggle i,
.pill-dropdown.open .pill-dropdown-toggle i {
  transform: rotate(180deg);
}

.pill-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: 8px;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  padding: 8px;
  min-width: 250px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 1000000;
  list-style: none;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dark .pill-dropdown-menu {
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Invisible hover bridge to eliminate gap between toggle button and dropdown menu */
.pill-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -20px;
  right: -20px;
  height: 16px;
  background: transparent;
  pointer-events: auto;
}

.pill-dropdown:hover .pill-dropdown-menu,
.pill-dropdown:focus-within .pill-dropdown-menu,
.pill-dropdown.is-open .pill-dropdown-menu,
.pill-dropdown.open .pill-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

.pill-dropdown-link {
  display: block;
  padding: 10px 14px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.pill-dropdown-link:hover,
.pill-dropdown-link.active {
  background: #f0f9ff;
  color: #0284c7;
  transform: translateX(4px);
}

.dark .pill-dropdown-link {
  color: #e2e8f0;
}

.dark .pill-dropdown-link:hover,
.dark .pill-dropdown-link.active {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  transform: translateX(4px);
}

/* ============================================================
   HERO MULTI-SLIDE CAROUSEL (4-SECOND AUTO LOOP, NO BUTTONS)
   ============================================================ */
.hero-slider-wrap {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #090d16;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.04);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 13, 22, 0.55) 0%,
    rgba(9, 13, 22, 0.75) 50%,
    rgba(9, 13, 22, 0.94) 100%
  );
  backdrop-filter: blur(1.5px);
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-slide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-slide-title {
  font-family: var(--font-heading, inherit);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-slide-sub {
  font-size: clamp(15px, 2vw, 19px);
  color: #e2e8f0;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.95;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-slider-nav {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.hero-nav-dot {
  position: relative;
  width: 44px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-nav-dot.active {
  width: 64px;
  background: rgba(255, 255, 255, 0.4);
}

.hero-nav-dot-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #38bdf8;
  border-radius: 999px;
}

.hero-nav-dot.active .hero-nav-dot-progress {
  animation: heroDotProgress 4s linear infinite;
}

@keyframes heroDotProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 16px;
}

.hero-slider-arrow:hover {
  background: rgba(56, 189, 248, 0.85);
  border-color: #38bdf8;
  color: #0f172a;
}

.hero-slider-arrow.prev { left: 24px; }
.hero-slider-arrow.next { right: 24px; }

@media (max-width: 768px) {
  .hero-slider-wrap {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
  }
  .hero-slide-content { padding: 90px 18px 50px; }
  .hero-slider-arrow { display: none; }
  .hero-slider-nav { bottom: 20px; }
}


