/* ─────────────────────────────────────────────────────────────
   1. RESET & CSS VARIABLES
───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary:      #8F1B3A;
  --primary-dark: #6a1029;
  --primary-light:#b82249;
  --primary-pale: #f9eef2;
  --accent:       #d4af6a;
  --dark:         #1a0a0f;
  --text:         #2d1420;
  --text-muted:   #7a5a65;
  --white:        #ffffff;
  --off-white:    #fdf8f9;
  --border:       rgba(143, 27, 58, 0.15);
  --shadow:       0 8px 40px rgba(143, 27, 58, 0.12);
  --nav-h:        72px;
}
/* scroll-behavior: smooth — handled by JS (initSmoothScroll) to avoid double-smooth conflict */
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--off-white);
  overflow-x: hidden;
}
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }


/* ─────────────────────────────────────────────────────────────
   2. NAVBAR
───────────────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  display: flex; align-items: center;
  padding: 0 5%;
  gap: 12px;
  /* backdrop-filter intentionally excluded from transition — animating blur triggers full repaint every frame */
  transition: background .4s, box-shadow .4s, border-color .4s;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(143,27,58,.1);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 700;
  color: #fff; flex-shrink: 0;
  transition: color .4s;
}
#navbar.scrolled .nav-logo { color: var(--primary); }

.logo-img {
  height: 45px; width: auto; display: block;
  filter: brightness(0) invert(1);
  transition: filter .4s;
}
#navbar.scrolled .logo-img {
  filter: none;
}

.nav-links {
  display: flex; align-items: center; gap: 2px;
  margin-left: auto; list-style: none;
}
.nav-links a {
  padding: 6px 14px; font-size: .875rem; font-weight: 500;
  color: rgba(255,255,255,.85); border-radius: 8px;
  transition: background .2s, color .2s; white-space: nowrap;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: left .25s ease, right .25s ease;
}
.nav-links a.active::after,
.nav-links a:hover::after { left: 14px; right: 14px; }
#navbar.scrolled .nav-links a::after { background: var(--primary); }
.nav-links a:hover { background: rgba(255,255,255,.15); color: #fff; }
#navbar.scrolled .nav-links a { color: var(--text); }
#navbar.scrolled .nav-links a:hover { background: var(--primary-pale); color: var(--primary); }
.nav-links a.active { color: #fff; font-weight: 600; }
#navbar.scrolled .nav-links a.active { color: var(--primary); }
.nav-links .btn-contact {
  background: rgba(212,175,106,.18); color: var(--accent);
  border: 1px solid rgba(212,175,106,.55);
  padding: 8px 18px; border-radius: 30px;
  font-size: .85rem; margin-left: 6px;
  transition: background .2s, transform .2s, border-color .2s, color .2s;
  font-weight: 500;
}
.nav-links .btn-contact::after { display: none; }
.nav-links .btn-contact:hover {
  background: rgba(212,175,106,.32);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}
#navbar.scrolled .nav-links .btn-contact {
  background: var(--accent); color: #1a0009; border-color: var(--accent);
  font-weight: 600;
}
#navbar.scrolled .nav-links .btn-contact:hover {
  background: #c9a050; border-color: #c9a050;
}

/* ── Language Toggle ── */
.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 30px;
  padding: 4px 10px;
  flex-shrink: 0;
  transition: background .4s, border-color .4s;
}
#navbar.scrolled .lang-toggle {
  background: var(--primary-pale);
  border-color: var(--border);
}
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  color: rgba(255,255,255,.65);
  padding: 3px 7px; border-radius: 20px;
  font-family: 'DM Sans', sans-serif;
  transition: background .2s, color .2s;
}
.lang-btn:hover { color: #fff; }
.lang-btn.active {
  background: rgba(255,255,255,.25);
  color: #fff;
}
#navbar.scrolled .lang-btn { color: var(--text-muted); }
#navbar.scrolled .lang-btn:hover { color: var(--primary); }
#navbar.scrolled .lang-btn.active {
  background: var(--primary); color: #fff;
}
.lang-sep {
  color: rgba(255,255,255,.3); font-size: .7rem;
  user-select: none; pointer-events: none;
}
#navbar.scrolled .lang-sep { color: var(--border); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; cursor: pointer;
  width: 36px; height: 36px; padding: 4px;
  border: none; background: none; z-index: 1100;
  flex-shrink: 0;
}
.hamburger span {
  display: block; height: 2px; width: 24px;
  background: #fff; border-radius: 2px;
  transition: transform .35s, opacity .35s, width .35s;
  transform-origin: center;
}
#navbar.scrolled .hamburger span { background: var(--primary); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay nav */
.mobile-nav {
  display: flex; position: fixed; inset: 0;
  background: rgba(26,10,15,.97);
  z-index: 1050; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.mobile-nav.active { opacity: 1; pointer-events: all; visibility: visible; }
.mobile-nav a {
  font-size: 1.5rem; font-family: 'Cormorant Garamond', serif;
  font-weight: 600; color: var(--white);
  padding: 10px 30px; border-radius: 8px;
  transition: color .2s;
  position: relative; display: inline-block;
}
.mobile-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 2px; background: var(--accent); border-radius: 2px;
  transition: left .25s ease, right .25s ease;
}
.mobile-nav a.active::after,
.mobile-nav a:hover::after { left: 30px; right: 30px; }
.mobile-nav a.active { color: var(--accent); }
.mobile-nav a:hover  { color: var(--accent); }
.mobile-nav .btn-contact-m {
  margin-top: 12px; background: var(--primary);
  color: #fff; padding: 12px 40px; border-radius: 30px;
  font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 500;
}
.mobile-nav .btn-contact-m::after { display: none; }
/* Mobile language buttons */
.mobile-lang {
  display: flex; gap: 12px; margin-top: 20px;
}
.mobile-lang .lang-btn {
  font-size: .9rem; color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.2);
  padding: 8px 20px; border-radius: 30px;
  font-family: 'DM Sans', sans-serif;
}
.mobile-lang .lang-btn.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.mobile-lang .lang-btn:hover { color: #fff; border-color: rgba(255,255,255,.5); }


/* ─────────────────────────────────────────────────────────────
   3. HERO — Simple, no rotating animation
───────────────────────────────────────────────────────────── */
#home {
  min-height: 100vh; position: relative;
  display: flex; align-items: center;
  /* Same original gradient colors */
  background: linear-gradient(135deg, #1a0a0f 0%, #3d0a1c 50%, #8F1B3A 100%);
  overflow: hidden; padding-top: var(--nav-h);
}

/* Subtle dot pattern */
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: .06;
  background-image: radial-gradient(circle at 2px 2px, #fff 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Radial glow right side */
.hero-glow {
  position: absolute; width: 600px; height: 600px;
  border-radius: 50%; background: rgba(143,27,58,.4);
  filter: blur(100px); right: -100px; top: 50%;
  transform: translateY(-50%); pointer-events: none;
}

/* Decorative PNG background image — right side, partially visible */
.hero-bg-img {
  position: absolute;
  right: -60px; bottom: -40px;
  width: 520px; max-width: 50vw;
  pointer-events: none; z-index: 1;
  opacity: .08;  /* Very faint — decorative only */
  filter: blur(1px);
}
.hero-bg-img .hero-bg-beet {
  width: 100%; height: auto; display: block;
}

/* Hero content grid */
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 80px 5%; display: grid;
  grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

/* .hero-text { left column } */

.hero-tag {
  display: inline-block; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--accent); font-size: .8rem; letter-spacing: .2em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 30px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 700;
  color: #fff; line-height: 1.1; margin-bottom: 24px;
}
/* "Fingertips" — sama persis dengan "Fuel At Your", hanya beda warna */
.hero-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}
.hero-desc {
  color: rgba(255,255,255,.7); font-size: 1.05rem;
  line-height: 1.7; margin-bottom: 36px; max-width: 480px;
  text-align: justify; hyphens: auto;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--primary);
  padding: 14px 32px; border-radius: 30px;
  font-weight: 600; font-size: .95rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.3); }

.btn-outline {
  border: 2px solid rgba(255,255,255,.4); color: #fff;
  padding: 14px 32px; border-radius: 30px;
  font-weight: 500; font-size: .95rem;
  display: inline-flex; align-items: center; gap: 10px;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); }

.play-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
}

/* Hero visual */
.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}

/* Ring dekoratif luar — gradient crimson tipis */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 440px; height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,106,.2);
  animation: ringRotate 18s linear infinite;
  pointer-events: none;
}

/* Ring tengah — lebih kecil, berlawanan arah */
.hero-visual::after {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  animation: ringRotate 12s linear infinite reverse;
  pointer-events: none;
}

.hero-circle {
  background: none; border: none; box-shadow: none;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
}
.hero-circle::after { display: none; }

/* Ambient glow di belakang beet */
.hero-circle::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,27,58,.55) 0%, rgba(212,175,106,.12) 50%, transparent 70%);
  filter: blur(30px);
  animation: glowPulse 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-beet-img {
  width: 990px; height: auto; display: block; position: relative; z-index: 1;
  filter: drop-shadow(0 28px 52px rgba(0,0,0,.55)) drop-shadow(0 8px 16px rgba(143,27,58,.35));
  /* animation: floatBeet 7s ease-in-out infinite; */
  will-change: transform;
}

@keyframes floatBeet {
  0%   { transform: translateY(0px)   rotate(-1deg); }
  40%  { transform: translateY(-16px) rotate(.6deg); }
  70%  { transform: translateY(-8px)  rotate(-.4deg); }
  100% { transform: translateY(0px)   rotate(-1deg); }
}
@keyframes glowPulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.2); }
}
@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat {
  text-align: center;
  padding: 0 8px;
  position: relative;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: rgba(255,255,255,.18);
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700; color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: .63rem; color: rgba(255,255,255,.55);
  letter-spacing: .1em; text-transform: uppercase;
  margin-top: 5px; white-space: nowrap;
}


/* ─────────────────────────────────────────────────────────────
   4. SECTION BASE (shared utilities)
───────────────────────────────────────────────────────────── */
section { padding: 100px 5%; }
.container { max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-block; background: var(--primary-pale);
  color: var(--primary); font-size: .75rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  /* padding diperbesar — sebelumnya 5px 14px terlalu mepet */
  padding: 7px 20px; border-radius: 30px; margin-bottom: 16px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  color: var(--text); line-height: 1.2;
}
.section-title span { color: var(--primary); }
.section-desc {
  color: var(--text-muted); font-size: 1rem; line-height: 1.75;
  max-width: 600px; margin-top: 12px;
  text-align: justify; hyphens: auto;
}
.divider {
  width: 60px; height: 3px; background: var(--primary);
  margin: 20px 0; border-radius: 2px;
}


/* ─────────────────────────────────────────────────────────────
   5. VIDEO SECTION
───────────────────────────────────────────────────────────── */
#video {
  /* background-attachment:fixed removed — forces full repaint on every scroll frame, disables GPU compositing */
  background: linear-gradient(rgba(250,242,240,0.55), rgba(250,242,240,0.55)), url('/img/Vivabeet%2016x23.webp') center / cover;
  padding: 100px 5%;
}
.video-header {
  text-align: center; margin-bottom: 52px;
}
.video-header .divider { margin: 20px auto; }

/* Player wrapper — 16:9 aspect ratio */
.video-player-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(143,27,58,.18);
}

/* Thumbnail */
.video-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  cursor: pointer;
  background: var(--dark);
}
.video-thumb-img {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform .5s ease;
}
.video-thumb:hover .video-thumb-img { transform: scale(1.04); }

/* Dark overlay on thumbnail */
.video-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,10,15,.65) 0%,
    rgba(26,10,15,.15) 60%,
    transparent 100%
  );
  pointer-events: none;
}

/* Play button */
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,.95);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 40px rgba(0,0,0,.4), 0 0 0 12px rgba(255,255,255,.15);
  transition: transform .25s ease, box-shadow .25s ease, background .2s;
  z-index: 10;
}
.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
  box-shadow: 0 12px 50px rgba(0,0,0,.5), 0 0 0 18px rgba(255,255,255,.2);
}
.video-play-icon {
  color: var(--primary);
  font-size: 1.6rem;
  margin-left: 4px; /* optical center for ▶ */
  line-height: 1;
}

/* Hint text */
.video-hint {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.75);
  font-size: .8rem; font-weight: 400;
  letter-spacing: .08em;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  white-space: nowrap;
  pointer-events: none;
}

/* iframe wrapper */
.video-frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}
.video-frame-wrap iframe {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  border: none;
}

@media (max-width: 640px) {
  .video-play-btn { width: 60px; height: 60px; }
  .video-play-icon { font-size: 1.2rem; }
  .video-hint { display: none; }
}


/* ─────────────────────────────────────────────────────────────
   6. ABOUT
───────────────────────────────────────────────────────────── */
#about { background: linear-gradient(rgba(250,242,240,0.55), rgba(250,242,240,0.55)), url('/img/Vivabeet%2016x23.webp') center / cover; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-main {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(143,27,58,.15);
}
.about-img-main img {
  width: 100%; height: 420px;
  object-fit: cover; object-position: center;
  transition: transform .6s; display: block;
}
@media (max-width: 900px) {
  .about-img-main img { height: auto; aspect-ratio: 4 / 3; }
}
.about-img-main:hover img { transform: scale(1.04); }
.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 20px; border-radius: 12px;
  background: var(--off-white); border: 1px solid var(--border);
  transition: border-color .2s, transform .2s;
}
.feature-item:hover { border-color: var(--primary); transform: translateX(4px); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--primary-pale); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.feature-text h4 { font-size: .95rem; font-weight: 600; margin-bottom: 3px; }
.feature-text p  { font-size: .83rem; color: var(--text-muted); line-height: 1.5; text-align: justify; hyphens: auto; }


/* ─────────────────────────────────────────────────────────────
   7. BACKGROUND
───────────────────────────────────────────────────────────── */
#background { background: linear-gradient(rgba(250,242,240,0.55), rgba(250,242,240,0.55)), url('/img/Vivabeet%2016x23.webp') center / cover; }
.bg-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.bg-img {
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); order: 2;
}
.bg-img img {
  width: 100%; height: 400px;
  object-fit: cover; object-position: center; display: block;
}
@media (max-width: 900px) {
  .bg-img img { height: auto; aspect-ratio: 4 / 3; }
}
.bg-content { order: 1; }


/* ─────────────────────────────────────────────────────────────
   8. BENEFITS
───────────────────────────────────────────────────────────── */
#benefits {
  background: linear-gradient(135deg, rgba(143,27,58,0.88) 0%, rgba(90,10,30,0.92) 100%),/* url('/img/Vivabeet%2016x23.webp')*/ center / cover;
  position: relative; overflow: hidden;
}
#benefits::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
#benefits .section-title { color: #fff; }
#benefits .section-tag   { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
#benefits .section-desc  { color: rgba(255,255,255,.75); }
.benefits-header { text-align: center; margin-bottom: 60px; }
.benefits-header .divider { margin: 20px auto; }
.benefits-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 20px; position: relative; z-index: 1;
}
.benefit-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px; padding: 32px 16px; text-align: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .3s, transform .3s; min-width: 0; overflow: hidden;
}
.benefit-card:hover { background: rgba(255,255,255,.18); transform: translateY(-6px); }
.benefit-num   { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 700; color: var(--accent); line-height: 1; }
.benefit-unit  { font-size: .85rem; color: rgba(255,255,255,.7); font-weight: 300; }
.benefit-label { font-size: .88rem; color: #fff; font-weight: 500; margin-top: 10px; line-height: 1.3; }
.benefit-sub   { font-size: .75rem; color: rgba(255,255,255,.6); margin-top: 4px; }


/* ─────────────────────────────────────────────────────────────
   9. SCROLL ANIMATIONS
───────────────────────────────────────────────────────────── */
.js-loaded .fade-in       { opacity: 0; transform: translateY(30px);  transition: opacity .7s ease, transform .7s ease; will-change: opacity, transform; }
.js-loaded .fade-in-left  { opacity: 0; transform: translateX(-30px); transition: opacity .7s ease, transform .7s ease; will-change: opacity, transform; }
.js-loaded .fade-in-right { opacity: 0; transform: translateX(30px);  transition: opacity .7s ease, transform .7s ease; will-change: opacity, transform; }
.fade-in.visible, .fade-in-left.visible, .fade-in-right.visible { opacity: 1; transform: translate3d(0,0,0); will-change: auto; }
@media print {
  .fade-in, .fade-in-left, .fade-in-right { opacity: 1 !important; transform: none !important; }
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ─────────────────────────────────────────────────────────────
   10. WA FLOAT
───────────────────────────────────────────────────────────── */
.wa-btn {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 99;
  background: #25D366; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.2); transition: transform .2s;
}
.wa-btn:hover { transform: scale(1.1); }
.wa-btn svg { width: 22px; height: 22px; fill: #fff; }


/* ─────────────────────────────────────────────────────────────
   11. RESPONSIVE
───────────────────────────────────────────────────────────── */
/* ── Hero: collapse to single column on tablets (up to 1100px) ── */
@media (max-width: 1100px) {
  #home { min-height: 100svh; }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
    padding: 70px 8% 80px;
  }
  .hero-text  { display: flex; flex-direction: column; align-items: center; }
  .hero-tag   { align-self: center; }
  .hero-desc  { max-width: 600px; text-align: center; hyphens: none; margin-left: auto; margin-right: auto; }
  .hero-btns  { justify-content: center; }
  .hero-visual  { display: none; }
  .hero-bg-img  { display: none; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 40px;
    padding-top: 28px;
    width: 100%;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
  .stat-label { white-space: normal; font-size: .6rem; }
}

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

@media (max-width: 1200px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .lang-toggle { margin-left: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  /* ── Hero: collapse stats to 3-col on smaller tablets ── */
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    max-width: 420px;
    row-gap: 20px;
  }
  .stat:nth-child(4)::before { display: none; }
  .hero-content { padding: 60px 6% 70px; }

  /* ══ ABOUT: section-tag → gambar → isi konten ══ */
  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .about-grid > .fade-in-right { display: contents; }
  .about-grid .section-tag     { order: 1; align-self: center; }
  .about-img-wrap              { order: 2; }
  .about-grid .section-title   { order: 3; text-align: center; }
  .about-grid .divider         { order: 4; margin: 0 auto; }
  .about-grid .section-desc    { order: 5; text-align: center; }
  .about-grid .about-features  { order: 6; }

  /* ══ BACKGROUND: section-tag → gambar → isi konten ══ */
  .bg-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .bg-content              { display: contents; }
  .bg-grid .section-tag    { order: 1; align-self: center; }
  .bg-img                  { order: 2; }
  .bg-grid .section-title  { order: 3; text-align: center; }
  .bg-grid .divider        { order: 4; margin: 0 auto; }
  .bg-grid .section-desc   { order: 5; text-align: center; }

  .vm-grid    { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
    grid-template-areas: "big" "b" "c" "d" "e";
    gap: 10px;
  }
  .gallery-item:nth-child(1) .overlay .ov-title { font-size: 1.1rem; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-info  { padding: 28px 24px; }
}

@media (max-width: 640px) {
  section { padding: 70px 5%; }
  #center { padding: 60px 4%; }
  /* hero already single-col from 900px; just tweak spacing for small phones */
  .hero-content { padding: 50px 5% 60px; }
  .hero-stats   { max-width: 100%; grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 4px 4px; }
  .stat + .stat::before { top: 10%; bottom: 10%; }
  .benefits-grid { grid-template-columns: 1fr; gap: 12px; }
  .benefit-num   { font-size: 2.2rem; }
  .gallery-grid  {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
    grid-template-areas: "big" "b" "c" "d" "e";
  }
  .form-row      { grid-template-columns: 1fr; }
  .contact-form  { padding: 28px 20px; }
}

/* ══ FOOTER SOCIAL ICONS ══ */
footer {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 28px 6% 24px;
  text-align: center;
}
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.fsoc-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
  transition: transform .22s ease, background .22s, border-color .22s, box-shadow .22s;
  flex-shrink: 0;
}
.fsoc-link svg { width: 17px; height: 17px; fill: rgba(255,255,255,.55); transition: fill .22s; }
.fsoc-link:hover { transform: translateY(-3px); }
.fsoc-link:hover svg { fill: #fff; }

/* per-brand accent on hover */
.fsoc--ig:hover { background: linear-gradient(135deg,#f09433,#dc2743,#bc1888); border-color: transparent; box-shadow: 0 6px 20px rgba(220,39,67,.4); }
.fsoc--tt:hover { background: #010101; border-color: #69c9d0; box-shadow: 0 6px 20px rgba(105,201,208,.3); }
.fsoc--yt:hover { background: #ff0000; border-color: transparent; box-shadow: 0 6px 20px rgba(255,0,0,.4); }
.fsoc--fb:hover { background: #1877f2; border-color: transparent; box-shadow: 0 6px 20px rgba(24,119,242,.4); }
.fsoc--sp:hover { background: #ee4d2d; border-color: transparent; box-shadow: 0 6px 20px rgba(238,77,45,.4); }
.fsoc--wa:hover { background: linear-gradient(135deg,#25d366,#128c7e); border-color: transparent; box-shadow: 0 6px 20px rgba(37,211,102,.4); }

/* ══ CENTER PROGRAM CARDS ══ */
/* horizontal padding 0 diganti 5% agar sinkron dengan section lain */
#center { padding: 80px 5%; }
#center .gallery-header { margin-bottom: 56px; }

.center-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.center-card {
  background: #1a0009;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
  position: relative;
}
.center-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,106,.4);
  box-shadow: 0 20px 56px rgba(0,0,0,.5);
}

/* Image area */
.center-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary-dark, #5c0e25) 0%, var(--primary, #8F1B3A) 100%);
  overflow: hidden;
  flex-shrink: 0;
}
.center-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform .5s ease;
}
.center-card:hover .center-card__img-wrap img { transform: scale(1.05); }

/* Gradient overlay on image */
.center-card__img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,5,8,.7) 0%, transparent 50%);
  pointer-events: none;
}

/* Big number */
.center-card__num {
  position: absolute;
  bottom: 12px; left: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: rgba(255,255,255,.12);
  line-height: 1;
  z-index: 2;
  user-select: none;
}

/* Tag badge */
.center-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent, #d4af6a);
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(212,175,106,.35);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 30px;
  z-index: 2;
  font-weight: 600;
}

/* Accent top bar on hover */
.center-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary, #8F1B3A), var(--accent, #d4af6a));
  opacity: 0;
  transition: opacity .3s;
  z-index: 5;
}
.center-card:hover::before { opacity: 1; }

/* Body */
.center-card__body {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #1a0009;
}
.center-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}
.center-card__text {
  font-size: .86rem;
  line-height: 1.8;
  color: rgba(255,255,255,.6);
  flex: 1;
  margin-bottom: 22px;
}
.center-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent, #d4af6a);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,175,106,.4);
  padding-bottom: 4px;
  width: fit-content;
  transition: color .2s, border-color .2s, gap .2s;
}
.center-card__cta::after { content: '→'; transition: transform .2s; }
.center-card__cta:hover {
  color: #f5d27a;
  border-color: rgba(245,210,122,.7);
  gap: 12px;
}
.center-card__cta:hover::after { transform: translateX(4px); }

/* Responsive */
@media (max-width: 900px) {
  .center-cards { grid-template-columns: 1fr; gap: 18px; }
  .center-card__img-wrap { aspect-ratio: 16/7; }
}
@media (max-width: 600px) {
  .center-card__body { padding: 22px 18px 20px; }
  .center-card__title { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .center-card, .center-card__img-wrap img { transition: none; }
}
