﻿/* ==========================================================================
   Toko Emas Maju Sari - Main Stylesheet
   Redesain total mengikuti tokoemas.co.id, identitas visual Maju Sari
   ========================================================================== */

/* --- CSS Variables --- */
:root {
  /* Warna dominan logo Maju Sari (emas) */
  --primary-gold: #D4AF37;
  --primary-gold-dark: #B8860B;
  --primary-gold-light: #F3E5AB;
  --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
  --gold-glow: 0 10px 25px rgba(212, 175, 55, 0.25);

  /* Dark teal premium (background utama, mirip referensi tokoemas.co.id) */
  --dark-teal: #174344;
  --dark-teal-darker: #113536;
  --dark-teal-surface: #1E293B;

  /* Background & surface */
  --bg-light: #f7f7f7;
  --bg-white: #ffffff;
  --border-color: #E2E8F0;
  --dwhite: #dae1e3;
  --white2: #f5f5f5;

  /* Aksen */
  --accent-green: #059669;
  --accent-green-hover: #047857;
  --text-dark: #174344;
  --text-muted: #64748B;
  --text-light: rgba(255,255,255,0.9);

  /* Typography (Lato, sama referensi) */
  --font-main: 'Lato', sans-serif;

  /* Transitions & Shadows */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 32px rgba(15, 23, 42, 0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* --- Global Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-padding {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--dark-teal); }
.text-white { color: #FFFFFF !important; }

/* --- Text Utilities --- */
.text-center { text-align: center; }
.text-gold { color: var(--primary-gold-dark) !important; }
.text-green { color: var(--accent-green) !important; }
.text-gray { color: var(--text-muted) !important; }
.mt-3 { margin-top: 1rem; }

/* --- Typography Hierarchy --- */
.kicker {
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-gold-dark);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-full { width: 100%; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

.btn-gold {
  background: var(--dark-teal);
  color: #FFFFFF;
  border-color: var(--dark-teal);
}

.btn-gold:hover {
  background: var(--primary-gold-dark);
  border-color: var(--primary-gold-dark);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary-gold-dark);
  color: var(--primary-gold-dark);
}

.btn-outline:hover {
  background: var(--primary-gold-dark);
  color: #FFFFFF;
}

.btn-wa {
  background: #1FA855;
  color: #FFFFFF;
  border: 1px solid #1FA855;
  border-radius: 9999px;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(31,168,85,0.28);
}

.btn-wa:hover {
  background: #178542;
  border-color: #178542;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(31,168,85,0.35);
  transform: translateY(-1px);
}
.btn-wa:active { transform: translateY(0); }
.btn-wa .fa-whatsapp { font-size: 1.05em; }

.mt-3 { margin-top: 1rem; }

/* --- Header (Sticky, mirip referensi) --- */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.985);
  border-bottom-color: rgba(226, 232, 240, 0.95);
  box-shadow: 0 8px 26px rgba(23, 67, 68, 0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--dark-teal);
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-main);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-gold-dark);
  margin-top: 3px;
}

.homepage .brand {
  flex: 0 0 auto;
  padding: 0.25rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px;
  background: #fffaf0;
  box-shadow: 0 3px 12px rgba(23, 67, 68, 0.08);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

.homepage .brand:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(23, 67, 68, 0.14);
}

.homepage .brand-logo-img {
  width: 96px;
  height: 56px;
  border-radius: 8px;
  object-fit: contain;
}

/* Navigation */
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav .nav-list {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  position: relative;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--primary-gold-dark);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--primary-gold-dark);
  background: rgba(212, 175, 55, 0.06);
}

.nav-indicator {
  position: absolute;
  bottom: 2px;
  left: 0;
  z-index: 2;
  width: 22px;
  height: 2.5px;
  border-radius: var(--radius-full);
  background: var(--primary-gold-dark);
  box-shadow: 0 1px 5px rgba(184, 134, 11, 0.24);
  pointer-events: none;
  transition: width 260ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-indicator.no-transition {
  transition: none;
}

.main-nav .nav-link {
  z-index: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: #fffaf0;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  font-size: 1.15rem;
  color: var(--text-dark);
  cursor: pointer;
  z-index: 1020;
  align-items: center;
  justify-content: center;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.mobile-toggle:hover {
  background: rgba(212,175,55,0.12);
  border-color: rgba(184, 134, 11, 0.5);
  box-shadow: 0 4px 12px rgba(23, 67, 68, 0.08);
}

.mobile-toggle:active {
  transform: scale(0.96);
}

.mobile-toggle i {
  transition: transform 220ms ease;
}

.mobile-toggle[aria-expanded="true"] i {
  transform: rotate(90deg);
}

.site-header .header-actions .btn-wa {
  transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.site-header .header-actions .btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 168, 85, 0.3), 0 2px 8px rgba(23, 67, 68, 0.08);
}

.site-header .header-actions .btn-wa:active {
  transform: translateY(0);
}

.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 2px solid var(--primary-gold-dark);
  outline-offset: 3px;
}

/* --- HERO SECTION (Full-height slider, mirip referensi) --- */
.hero-section {
  position: relative;
  background: var(--dark-teal);
  color: #FFFFFF;
  overflow: hidden;
  width: 100%;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide.active .hero-text {
  animation: hero-content-in 650ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes hero-content-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 1.25rem;
  width: 100%;
  position: relative;
  z-index: 5;
}

.hero-text {
  max-width: 620px;
  z-index: 3;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--primary-gold-light);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 3.25rem;
  color: #FFFFFF;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-desc {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 560px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

/* Carousel nav buttons */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(6px);
}

.hero-nav:hover {
  background: var(--primary-gold-dark);
  border-color: var(--primary-gold-dark);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
  transform: translateY(-50%) scale(1.08);
}

.prev { left: 1.5rem; }
.next { right: 1.5rem; }

/* Indicator dots */
.hero-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.6rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot.active {
  background: var(--primary-gold-light);
  width: 32px;
  border-radius: var(--radius-full);
}

/* --- KATALOG PRODUK --- */
.prod-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-white);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-main);
}

.form-select {
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-gold-dark);
}

.product-card {
  animation: card-enter 420ms backwards;
}

.product-card:nth-child(3n + 2) {
  animation-delay: 50ms;
}

.product-card:nth-child(3n) {
  animation-delay: 100ms;
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-thumb {
  position: relative;
  width: 100%;
  height: 220px;
  background: #F8FAFC;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--dark-teal);
  color: var(--primary-gold-light);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.product-availability {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  width: fit-content;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-dark);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-details {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat-name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-gold-dark);
  margin-bottom: 0.25rem;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark-teal);
  line-height: 1.3;
}

.product-specs {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark-teal);
  margin-top: auto;
  margin-bottom: 1rem;
}

.product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 0.5rem;
  margin-top: auto;
}

.product-actions .btn {
  min-width: 0;
  padding: 0.55rem 0.65rem;
  font-size: 0.8rem;
}

.btn-ghost {
  background: var(--bg-light);
  color: var(--dark-teal);
  border-color: var(--border-color);
}

.btn-ghost:hover {
  border-color: var(--dark-teal);
  background: var(--dark-teal);
  color: #fff;
}

/* --- KALKULATOR EMAS --- */
.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}

.calc-layout > * {
  min-width: 0;
}

.calc-box {
  background: linear-gradient(145deg, var(--dark-teal) 0%, var(--dark-teal-darker) 100%);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg);
  color: #FFFFFF;
}

.calc-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 0 1rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  margin-bottom: 1rem;
}

.calc-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.calc-select,
.calc-input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  transition: border-color var(--transition-fast);
}

.calc-weight-field {
  position: relative;
}

.calc-weight-field .calc-input {
  padding-right: 4.2rem;
}

.calc-weight-field > span {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.calc-help,
.calc-validation {
  min-height: 1.15em;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  line-height: 1.4;
}

.calc-validation {
  color: #ffd1c7;
}

.calc-input[aria-invalid="true"] {
  border-color: #ff9b85;
  box-shadow: 0 0 0 3px rgba(255, 155, 133, 0.14);
}

.calc-select:focus,
.calc-input:focus {
  outline: none;
  border-color: var(--primary-gold-dark);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.toggle-mode {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  background: rgba(0, 0, 0, 0.18);
  padding: 0.3rem;
  border-radius: var(--radius-md);
}

.mode-btn {
  flex: 1;
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-main);
}

.mode-btn.active {
  background: var(--primary-gold-dark);
  color: #FFFFFF;
}

.calc-result {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(243, 229, 171, 0.24);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
}

.calc-result-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 700;
}

.calc-result strong {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.25;
  color: var(--primary-gold-light);
}

.calc-breakdown {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.5;
}

.calc-disclaimer {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  line-height: 1.55;
}

/* Info card (right side of calculator) */
.info-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  color: var(--text-dark);
}

.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.rate-source-note {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.rate-source-note a {
  color: var(--primary-gold-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.rate-table th,
.rate-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.925rem;
  text-align: left;
}

.rate-table th {
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  display: block;
}

/* --- Modal Detail Produk --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
body.modal-open { overflow: hidden; }
.modal-dialog {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.open .modal-dialog { transform: none; }
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--bg-white);
  color: var(--text-dark);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.modal-close:hover { background: var(--primary-gold-dark); color: #fff; }
.modal-media {
  position: relative;
  background: var(--white2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 260px;
}
.modal-media img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.modal-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--dark-teal);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}
.modal-body { padding: 2rem 2rem 1.75rem; }
.modal-kode {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.modal-body h2 {
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0.25rem 0 0.6rem;
  line-height: 1.3;
}
.modal-badge {
  display: inline-block;
  background: var(--primary-gold-light);
  color: var(--primary-gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}
.modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.modal-specs { margin-bottom: 1.1rem; }
.modal-specs li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.88rem;
}
.modal-specs li span { color: var(--text-muted); }
.modal-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  margin-bottom: 1.1rem;
}
.modal-price-label { font-size: 0.85rem; color: var(--text-muted); }
.modal-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-gold-dark);
}

.modal-cat[hidden],
.modal-kode[hidden],
.modal-badge[hidden],
.modal-desc[hidden],
.modal-specs[hidden],
.modal-price-row[hidden],
.modal-note[hidden] {
  display: none;
}
.modal-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.modal-note {
  margin-top: 0.9rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* --- Responsif section baru --- */
@media (max-width: 1024px) {
  .grafik-layout { grid-template-columns: minmax(0, 1fr) 250px; }
}
@media (max-width: 768px) {
  .modal-dialog { grid-template-columns: 1fr; }
  .modal-media { min-height: 200px; padding: 1.5rem; }
  .modal-body { padding: 1.5rem 1.25rem 1.25rem; }
  .grafik-chart-box,
  .chart-fallback { height: 400px; }
  .grafik-layout { grid-template-columns: minmax(0, 1fr); }
}
/* --- Kurangi gerakan (prefers-reduced-motion) --- */
@media (prefers-reduced-motion: reduce) {
  .modal-overlay,
  .modal-dialog,
  .partner-card,
  .btn-ghost {
    transition: none !important;
  }
  .modal-dialog {
    transform: none !important;
  }
}
/* --- Homepage chart --- */
.grafik-card {
  padding: 2rem;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.grafik-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.grafik-card-head h2 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.3rem;
  line-height: 1.35;
}

.grafik-badge {
  flex: 0 0 auto;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(5, 150, 105, 0.1);
  color: var(--accent-green-hover);
  font-size: 0.78rem;
  font-weight: 700;
}

.grafik-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 280px);
  gap: 1rem;
  align-items: stretch;
}

.grafik-chart-box,
.chart-fallback {
  min-width: 0;
  height: 500px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-white);
}

.gold-chart-embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--bg-white);
}

.gold-live-widget {
  height: 260px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
}

.gold-live-widget iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--bg-white);
}

.chart-source-note {
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.chart-source-note a {
  color: var(--primary-gold-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chart-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--text-muted);
  text-align: center;
}

.chart-fallback[hidden] {
  display: none;
}

.chart-fallback a {
  color: var(--primary-gold-dark);
  font-weight: 700;
  text-decoration: underline;
}

.snapshot-card {
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-light);
}

.snapshot-card h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.snapshot-list li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.snapshot-list strong {
  color: var(--dark-teal);
  font-size: 1rem;
}

.snapshot-time,
.snapshot-note {
  margin: 0.85rem 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* --- Homepage contact, partners and footer --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-desc {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.contact-card,
.glass-card {
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
}

.contact-item + .contact-item {
  border-top: 1px solid var(--border-color);
}

.contact-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.14);
  color: var(--primary-gold-dark);
}

.contact-item strong {
  display: block;
  margin-bottom: 0.15rem;
}

.contact-item p {
  color: var(--text-muted);
}

.contact-link {
  color: var(--dark-teal);
  font-weight: 700;
}

.contact-link:hover {
  color: var(--primary-gold-dark);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
}

.form-control {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text-dark);
  font: inherit;
}

.form-control:focus,
.search-input:focus,
.form-select:focus {
  outline: 2px solid rgba(184, 134, 11, 0.3);
  outline-offset: 1px;
  border-color: var(--primary-gold-dark);
}

.form-group textarea {
  resize: vertical;
}

.partner-strip {
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-white);
}

.partner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}

.partner-logo {
  display: flex;
  width: 130px;
  height: 66px;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter var(--transition-fast), opacity var(--transition-fast);
}

.partner-logo:hover {
  filter: none;
  opacity: 1;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.site-footer {
  background: var(--dark-teal-darker);
  color: rgba(255, 255, 255, 0.82);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(150px, 0.7fr) minmax(220px, 1fr);
  gap: clamp(1.75rem, 5vw, 4rem);
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.brand-footer h2,
.footer-col h3 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
}

.brand-footer h2 {
  color: var(--primary-gold-light);
  letter-spacing: 0.08em;
}

.brand-footer {
  min-width: 0;
}

.brand-footer-logo {
  display: inline-flex;
  width: 100px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  background: #fffaf0;
}

.brand-footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-desc {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.75;
}

.social-links {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.social-links a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #fff;
}

.social-links a:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold-light);
}

.footer-links {
  display: grid;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links li {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-links h3 {
  margin-bottom: 0.2rem;
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
}

.footer-address {
  max-width: 34ch;
  line-height: 1.7;
}

.footer-links a:hover {
  color: var(--primary-gold-light);
}

.footer-bottom {
  padding: 1.1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.5;
}

.scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--dark-teal);
  color: #fff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.scroll-top:hover {
  background: var(--primary-gold-dark);
}

.homepage .section-padding:not(#beranda) {
  content-visibility: auto;
  contain-intrinsic-size: auto 680px;
}

.homepage .section-padding > .container,
.homepage .partner-strip > .container {
  transition: opacity 550ms ease, transform 550ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.homepage .section-padding.reveal-pending:not(.is-visible) > .container,
.homepage .partner-strip.reveal-pending:not(.is-visible) > .container {
  opacity: 0;
  transform: translateY(18px);
}

.homepage .section-padding.is-visible > .container,
.homepage .partner-strip.is-visible > .container {
  opacity: 1;
  transform: translateY(0);
}

.hero-dots .dot {
  padding: 0;
  border: 0;
}

.product-thumb .card-img {
  cursor: pointer;
}

.product-empty {
  grid-column: 1 / -1;
  padding: 2rem;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  text-align: center;
}

.rate-table-wrap {
  overflow-x: auto;
}

.rate-table {
  min-width: 360px;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .calc-layout {
    gap: 1.5rem;
  }

  .grafik-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
}

@media (max-width: 900px) {
  .site-header .header-inner {
    position: relative;
  }

  .site-header .mobile-toggle {
    display: flex;
  }

  .site-header .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    padding: 0.75rem 1.25rem 1rem;
    border-top: 1px solid var(--border-color);
    background: #fff;
    box-shadow: 0 12px 22px rgba(23, 67, 68, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease, transform 260ms ease, visibility 200ms;
  }

  .site-header .main-nav.show {
    max-height: 420px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header .main-nav .nav-list {
    align-items: stretch;
    flex-direction: column;
    gap: 0.2rem;
  }

  .site-header .nav-link {
    display: block;
    padding: 0.72rem 0.85rem;
    border-radius: var(--radius-sm);
  }

  .site-header .nav-link:hover {
    transform: translateX(3px);
  }

  .site-header .nav-indicator {
    display: none;
  }

  .site-header .nav-link.active {
    color: var(--primary-gold-dark);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: inset 2px 0 0 var(--primary-gold-dark);
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .hero-slider {
    height: min(76vh, 660px);
    min-height: 500px;
  }

  .hero-content {
    padding: 3rem 4.25rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 7vw, 3rem);
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-nav {
    width: 40px;
    height: 40px;
  }

  .prev {
    left: 0.75rem;
  }

  .next {
    right: 0.75rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .product-thumb {
    height: 190px;
  }

  .calc-layout,
  .contact-layout,
  .grafik-layout {
    grid-template-columns: 1fr;
  }

  .grafik-card {
    padding: 1.25rem;
  }

  .grafik-chart-box { height: 360px; }

  .grafik-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 520px) {
  .header-inner {
    gap: 0.75rem;
  }

  .calc-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .homepage .brand {
    padding: 0.15rem;
  }

  .homepage .brand-logo-img {
    width: 78px;
    height: 46px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .header-actions .btn-wa {
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
  }

  .prod-controls {
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem;
  }

  .search-box {
    min-width: 100%;
  }

  .prod-controls .form-select {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-thumb {
    height: 230px;
  }

  .product-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  }

  .calc-box,
  .info-card,
  .contact-card,
  .glass-card {
    padding: 1.25rem;
  }

  .hero-content {
    padding-right: 3.5rem;
    padding-left: 3.5rem;
  }

  .hero-actions {
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .partner-logo {
    width: 100px;
  }

  @media (max-width: 768px) {
    .footer-top {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 2rem 1.5rem;
      padding-top: 2.25rem;
      padding-bottom: 2.25rem;
    }

    .brand-footer {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 520px) {
    .footer-top {
      grid-template-columns: minmax(0, 1fr);
      gap: 1.75rem;
    }

    .brand-footer {
      grid-column: auto;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-slide,
  .hero-nav,
  .dot,
  .partner-logo,
  .scroll-top {
    transition: none;
  }
}

/* --- About page --- */
.about-page .brand,
.contact-page .brand {
  flex: 0 0 auto;
  padding: 0.25rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px;
  background: #fffaf0;
  box-shadow: 0 3px 12px rgba(23, 67, 68, 0.08);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

.about-page .brand:hover,
.contact-page .brand:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(23, 67, 68, 0.14);
}

.about-page .brand-logo-img,
.contact-page .brand-logo-img {
  width: 96px;
  height: 56px;
  border-radius: 8px;
  object-fit: contain;
}

.about-hero {
  padding: 3rem 0;
  background:
    radial-gradient(ellipse at 15% 15%, rgba(212, 175, 55, 0.09), transparent 40%),
    var(--bg-light);
}

.about-hero-grid,
.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.about-hero-copy {
  max-width: 560px;
  animation: about-content-in 550ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.about-hero-copy .section-title {
  margin-bottom: 0.9rem;
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
}

.about-lead {
  max-width: 46ch;
  margin-bottom: 0.75rem;
  color: var(--dark-teal);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
}

.about-copy {
  color: var(--text-muted);
  line-height: 1.8;
}

.about-hero-actions {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.about-hero-media,
.about-story-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--dark-teal);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.about-hero-media {
  animation: about-content-in 650ms 100ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.about-hero-media img,
.about-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: calc(100% - 2rem);
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.about-photo-caption i {
  color: var(--primary-gold-dark);
}

.about-story {
  background: var(--bg-white);
}

.about-story-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.about-story-copy .section-title {
  max-width: 17ch;
  margin-bottom: 0.85rem;
}

.about-facts {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.about-facts > div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.about-facts > div > i {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.14);
  color: var(--primary-gold-dark);
}

.about-facts span,
.about-facts strong {
  display: block;
}

.about-facts strong {
  margin-bottom: 0.1rem;
  color: var(--text-dark);
}

.about-offerings {
  background: var(--bg-light);
}

.about-section-heading {
  max-width: 620px;
  margin: 0 auto 1.6rem;
  text-align: center;
}

.about-section-heading .section-desc {
  margin-bottom: 0;
}

.about-offering-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-offering {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  transition: background var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.about-offering:hover {
  transform: translateY(-3px);
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.about-offering-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--dark-teal);
  color: var(--primary-gold-light);
  font-size: 1rem;
}

.about-offering > span:nth-child(2) {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.about-offering strong {
  color: var(--text-dark);
  font-size: 1rem;
}

.about-offering small {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.about-offering-arrow {
  margin-left: auto;
  color: var(--primary-gold-dark);
  transition: transform var(--transition-fast);
}

.about-offering:hover .about-offering-arrow {
  transform: translateX(3px);
}

.about-contact {
  padding: 2.75rem 0;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(212, 175, 55, 0.17), transparent 40%),
    var(--dark-teal);
  color: #fff;
}

.about-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.about-contact .kicker {
  color: var(--primary-gold-light);
}

.about-contact h2 {
  margin-bottom: 0.45rem;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.25;
}

.about-contact p {
  color: rgba(255, 255, 255, 0.82);
}

.about-contact-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.about-contact .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.about-contact .btn-outline:hover {
  border-color: var(--primary-gold-light);
  background: var(--primary-gold-light);
  color: var(--dark-teal);
}

@keyframes about-content-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .about-offering-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .about-contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.35rem;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 2.35rem 0 2.75rem;
  }

  .about-hero-grid,
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-hero-copy .section-title {
    font-size: clamp(2rem, 8vw, 2.7rem);
  }

  .about-hero-media {
    order: -1;
  }

  .about-story-copy .section-title {
    max-width: none;
  }

  .about-contact {
    padding: 2.25rem 0;
  }
}

@media (max-width: 520px) {
  .about-page .brand,
  .contact-page .brand {
    padding: 0.15rem;
  }

  .about-page .brand-logo-img,
  .contact-page .brand-logo-img {
    width: 78px;
    height: 46px;
  }

  .about-hero-actions,
  .about-contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .about-hero-actions .btn,
  .about-contact-actions .btn {
    width: 100%;
  }

  .about-offering {
    padding: 0.9rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-copy,
  .about-hero-media {
    animation: none;
  }
}
/* Maju Sari Gold brand adaptation */
:root{--primary-gold:#b78a19;--primary-gold-dark:#916707;--primary-gold-light:#f3e5b7;--dark-teal:#342715;--dark-teal-darker:#21190e;--dark-teal-surface:#463721;--text-dark:#342715;--text-muted:#807562;--border-color:#e8e2d8;--bg-light:#fbfaf6}
.brand-logo-img{width:80px!important;height:70px!important;max-height:none!important;object-fit:contain}
.hero-slider{height:85vh!important;min-height:460px!important;max-height:760px}
.hero-dots{bottom:30px!important}.hero-section{padding-top:0}.hero-content{padding-top:85px;padding-bottom:95px}
.site-header .header-actions .btn-wa{background:#fcf7e9;color:#89620c;border:1px solid #e5d5ab;border-radius:30px;padding:11px 18px;box-shadow:none}
.site-header .header-actions .btn-wa:hover{background:#f1e3bd;color:#654706}.site-header .header-actions .btn-wa i{font-size:20px}
.product-actions{display:flex;gap:8px}.product-actions .btn{flex:1}.product-thumb img{object-fit:cover}
.floating-wa{position:fixed;bottom:24px;right:24px;z-index:850;display:flex;align-items:center;gap:10px;border-radius:50px;padding:15px 21px;background:#175b42;color:#fff;box-shadow:0 8px 32px #163d3430;font-size:14px;font-weight:700;transition:transform .2s}
.floating-wa i{font-size:28px}.floating-wa:hover{transform:translateY(-3px);color:#fff;background:#114a35}.scroll-top{right:30px!important;bottom:100px!important}
.brand-footer-logo{display:inline-flex;background:#fffdf6;padding:14px 18px;border-radius:10px}.brand-footer-logo img{max-width:240px;max-height:90px;object-fit:contain}.footer-col .footer-links{overflow-wrap:anywhere}
@media(max-width:700px){.brand-logo-img{width:68px!important;height:60px!important}.hero-slider{height:78svh!important;min-height:470px!important}.header-actions .btn-wa{padding:9px!important;font-size:0!important}.header-actions .btn-wa i{font-size:22px}.floating-wa span{display:none}.floating-wa{padding:15px;bottom:20px;right:18px}.product-actions .btn{padding:10px;font-size:12px}.hero-content{padding-bottom:80px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.catalog-pagination{display:flex;gap:18px;align-items:center;justify-content:center;margin-top:30px;flex-wrap:wrap;font-size:12px;color:var(--text-muted)}.catalog-pagination button:disabled{opacity:.35;cursor:default}.hero-actions .btn-outline{color:#f8eac1;border-color:#d2b35e}.hero-actions .btn-outline:hover{background:#f8eac1;color:#4a391c}
/* Maju Sari Gold v1.0.2 */
.site-header .brand,.homepage .site-header .brand{background:transparent;border-color:transparent;box-shadow:none;transition:background .25s,border-color .25s,box-shadow .25s,transform .25s}
.site-header .brand:hover,.site-header .brand:focus-visible{background:#fffaf0;border-color:rgba(212,175,55,.28);box-shadow:0 6px 18px rgba(52,39,21,.12);transform:translateY(-1px) scale(1.025)}
.calc-box .mode-btn:not(.active){background:#fbfaf6;color:#514329;border:1px solid #e5dcc6}
.calc-box .mode-btn:not(.active):hover{background:#f5eedc;color:#805e17}
.calc-box .mode-btn.active{background:var(--primary-gold-dark);color:#fff;border:1px solid var(--primary-gold-dark)}
.calc-box #btnCalc2{border:1px solid #c4a15a;color:#fff4d4;box-shadow:0 0 0 1px rgba(196,161,90,.08)}
.calc-box #btnCalc2:hover{background:#876619;border-color:#d4b676;color:#fff}
.snapshot-card{display:flex;flex-direction:column;height:100%;min-width:0}
.snapshot-card .gold-live-widget{flex:1;min-height:330px;height:auto}
.snapshot-card .gold-live-widget iframe{min-height:330px;height:100%}
.snapshot-card .snapshot-note{margin-bottom:0}
.site-footer .brand-footer-logo{width:132px;height:118px;max-width:100%;padding:4px;background:#fffdf6}
.site-footer .brand-footer-logo img{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}
@media(max-width:900px){.snapshot-card{height:auto}.snapshot-card .gold-live-widget{height:340px;flex:none}.snapshot-card .gold-live-widget iframe{height:340px}}
/* Footer and landing elements — v1.0.4 */
.site-credits .credit-copyright{font-size:16px;line-height:1.7}.site-credits .credit-powered{font-size:11px;margin-top:4px;line-height:1.6;color:#a39a81}.credit-powered a{color:inherit;text-decoration:none}.credit-powered a:hover{text-decoration:underline}.lp-custom-block .section-title,.lp-custom-block .section-desc{text-align:center}.lp-text{max-width:850px;margin:25px auto 0;line-height:1.9;font-size:16px;color:#6a604d}.lp-link-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:15px;margin-top:26px}.lp-link-grid .btn{min-width:220px;justify-content:space-between}.lp-poster{display:block;width:auto;max-width:100%;max-height:850px;margin:25px auto 0;border-radius:18px}.lp-video{max-width:950px;aspect-ratio:16/9;margin:25px auto 0}.lp-video iframe{width:100%;height:100%;border:0;border-radius:15px}.lp-location{padding:25px;border:1px solid #e8e0ce;border-radius:17px;max-width:800px;margin:25px auto 0;background:#fffdf8}.lp-location .btn-outline{color:#85671b;border-color:#c9b573}.lp-location p{line-height:1.8}@media(max-width:600px){.site-credits .credit-copyright{font-size:15px}.lp-link-grid{flex-direction:column}.lp-text{font-size:14px}.lp-video{margin-top:18px}}

@media(max-width:360px){.site-header .header-inner{padding:0 12px;gap:8px}.site-header .brand-logo-img{width:68px!important;height:60px!important}.site-header .header-actions{gap:5px}}

/* The editor uses the real mobile viewport, with overlay-style scrollbars. */
html.editor-preview{scrollbar-width:none}html.editor-preview::-webkit-scrollbar{width:0;height:0}

html.editor-preview .hero-slide{transition:none!important}html.editor-preview .hero-slide .hero-text{animation:none!important}
.rate-table tbody th{font-size:.9rem;font-weight:400;text-transform:none;letter-spacing:0;color:var(--text-color);vertical-align:middle;width:36%;padding-right:14px}.rate-table td{vertical-align:middle;padding-right:10px}.public-rate-range{display:inline-grid;grid-template-columns:14px max-content;grid-template-rows:repeat(2,auto);align-items:center;column-gap:9px;row-gap:4px;margin:3px 0;white-space:nowrap}.public-rate-range strong:first-child{grid-column:2;grid-row:1}.public-rate-range strong:last-child{grid-column:2;grid-row:2}.public-rate-range strong{font-size:.85rem;font-weight:700;font-variant-numeric:tabular-nums}.public-rate-symbol{display:block;grid-column:1;grid-row:1 / span 2;width:14px;height:40px;color:var(--text-muted);align-self:center}.rate-range-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.calc-result strong{overflow-wrap:anywhere}#calcTotal{font-size:clamp(1.1rem,2.1vw,1.75rem)}
@media(max-width:600px){.rate-table{min-width:0}.rate-table tbody th{width:34%;font-size:.76rem;padding-right:8px}.rate-table td{padding-right:6px}.public-rate-range{grid-template-columns:11px max-content;column-gap:5px;row-gap:3px}.public-rate-range strong{font-size:.73rem}.public-rate-symbol{width:11px;height:34px}}

.public-rate-source{display:block;font-size:10px;font-weight:400;color:var(--text-muted);margin-top:6px}
