@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Anton&display=swap");
:root {
--bs-primary: #fef5e9; /* biru navy elegan */
--bs-success: #03994c; /* hijau */
--bs-warning: #ffffff; /* gold */
--bs-danger: #e83847; /* merah */
--bs-info: #0284c7; /* biru muda */

--bs-primary-rgb: 30, 58, 138; /* dari #1e3a8a */
--bs-success-rgb: 3, 153, 76; /* dari #16a34a */
--bs-warning-rgb: 254, 245, 233; /* dari #FEF5E9 */
--bs-danger-rgb: 232, 56, 71; /* dari #E83847 */
}
/* ========================================================================== */
/* LOGO Hover */
/* ========================================================================== */
/* ========================================================================== */
/* LOGO SVG */
/* ========================================================================== */

.logo-link {
  display: inline-block;
  line-height: 0;
}

.logo-svg {
  display: block;
  width: clamp(120px, 14vw, 170px);
  height: auto;
  overflow: visible; /* supaya huruf yang naik tidak terpotong */
}

/* HI = merah, GYM = putih (karena hero gelap) */
.logo-red { fill: var(--bs-danger, #e83847); --flash: #fff; }
.logo-dark { fill: #fff; transition: fill 0.3s ease 0.35s; }

/* Saat menu krem terbuka: GYM jadi gelap (sama seperti perilaku logo lama) */
body.menu-open .logo-dark {
  fill: #161310;
  transition-delay: 1.7s;
}
body.menu-open .logo-red { --flash: #161310; } /* saat menu krem terbuka */

/* ---------- HOVER: huruf melompat bergantian + titik "i" berputar ---------- */
/* ---------- HOVER: lompat squash & stretch + kedip warna + titik "i" memantul ---------- */

.lg,
.i-dot,
.y-dome {
  transform-box: fill-box;
}

.lg { transform-origin: 50% 100%; }          /* skala dari dasar huruf */
.i-dot,
.y-dome { transform-origin: 50% 50%; }

/* HI (merah): lompat + kedip putih */
.logo-link.is-animating .logo-red {
  animation:
    logoJump 0.9s ease-in-out calc(var(--i) * 0.07s) both,
    flashLight 0.9s ease calc(var(--i) * 0.07s) both;
}

/* GYM (putih/gelap): lompat + kedip merah */
.logo-link.is-animating .logo-dark {
  animation:
    logoJump 0.9s ease-in-out calc(var(--i) * 0.07s) both,
    flashRed 0.9s ease calc(var(--i) * 0.07s) both;
}

/* Titik "i": melambung, berputar, memantul */
.logo-link.is-animating .i-dot {
  animation: logoDot 1s ease-in-out 0.35s both;
}

/* Kubah Y: jatuh lalu memantul balik */
.logo-link.is-animating .y-dome {
  animation: logoDome 0.9s ease-in-out 0.21s both;
}

@keyframes logoJump {
  0%   { transform: translateY(0) scale(1, 1); }
  18%  { transform: translateY(0) scale(1.1, 0.82); }       /* jongkok */
  45%  { transform: translateY(-80px) scale(0.92, 1.14); }  /* lompat */
  70%  { transform: translateY(0) scale(1.08, 0.88); }      /* mendarat */
  85%  { transform: translateY(-14px) scale(0.98, 1.03); }  /* mantul kecil */
  100% { transform: translateY(0) scale(1, 1); }
}

@keyframes logoDot {
  0%   { transform: translateY(0) rotate(0) scale(1); }
  35%  { transform: translateY(-150px) rotate(180deg) scale(1.3); }
  65%  { transform: translateY(0) rotate(360deg) scale(0.85); }
  80%  { transform: translateY(-40px) rotate(360deg) scale(1.05); }
  100% { transform: translateY(0) rotate(360deg) scale(1); }
}

@keyframes logoDome {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(60px); }
  55%  { transform: translateY(-18px); }
  75%  { transform: translateY(8px); }
  100% { transform: translateY(0); }
}

/* hanya keyframe tengah: awal & akhir otomatis kembali ke warna asli */
@keyframes flashRed   { 30%, 60% { fill: #e83847; } }
@keyframes flashLight { 30%, 60% { fill: var(--flash); } }

@media (prefers-reduced-motion: reduce) {
  .logo-link.is-animating .logo-red,
  .logo-link.is-animating .logo-dark,
  .logo-link.is-animating .i-dot,
  .logo-link.is-animating .y-dome {
    animation: none;
  }
}


/* ==============================
  CUSTOM SCROLLBAR - HI!GYM
============================== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0B101A;
}

::-webkit-scrollbar-thumb {
    background: #EF3340;
    border-radius: 10px;
    border: 2px solid #0B101A;
}

::-webkit-scrollbar-thumb:hover {
    background: #ab000b;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #EF3340 #0B101A;
}

body {
font-family: "Inter", sans-serif;
}

/* ========================================================================== */
/* Button Hover Pop Up */
/* ========================================================================== */

.btn-repeat {
position: relative;
display: inline-block;
overflow: visible;

padding: 8px 20px;
border: none;
border-radius: 100px;

background-color: #fff;
color: var(--bs-danger, #e83847);

text-transform: uppercase;
text-decoration: none;
font-weight: bold;

cursor: pointer;

transition: all 0.2s;
animation: moveInBottom 5s ease-out backwards;
}

/* Hover Effect */
.btn-repeat:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Active Effect */
.btn-repeat:active {
transform: translateY(-1px);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Background Animation */
.btn-repeat::after {
content: "";
position: absolute;
top: 0;
left: 0;
z-index: -1;

width: 100%;
height: 100%;

border-radius: 100px;
background-color: #fff;

transition: all 0.4s;
}

.btn-repeat:hover::after {
transform: scaleX(1.4) scaleY(1.6);
opacity: 0;
}

/* ========================================================================== */
/* BTN REPEAT 2 */
/* ========================================================================== */

.btn-repeat-2 {
position: relative;
display: inline-block;
overflow: visible;

padding: 8px 40px;
border: none;
border-radius: 100px;

background-color: #D9D9D9;
color: var(--bs-danger, #e83847);

text-transform: uppercase;
text-decoration: none;
font-weight: bold;

cursor: pointer;

transition: all 0.2s;
animation: moveInBottom 5s ease-out backwards;
}

/* Hover Effect */
.btn-repeat-2:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(255, 0, 0, 0.649);
}

/* Active Effect */
.btn-repeat-2:active {
transform: translateY(-1px);
box-shadow: 0 5px 10px rgba(255, 0, 0, 0.649);
}

/* Background Animation */
.btn-repeat-2::after {
content: "";
position: absolute;
top: 0;
left: 0;
z-index: -1;

width: 100%;
height: 100%;

border-radius: 100px;
background-color: rgb(139, 139, 139);

transition: all 0.4s;
}

.btn-repeat-2:hover::after {
transform: scaleX(1.4) scaleY(1.6);
opacity: 0;
}


/* ========================================================================== */
/* Social Media Button Hover */
/* ========================================================================== */

.social-button {
font-family: "Roboto", sans-serif;
color: #ccc;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 2rem;
width: 50px;
height: 50px;
border-radius: 50%;
text-decoration: none;
transition: all 0.3s ease;
}

/* Hover Animation */
.social-button:hover {
color: #fff;
animation: circle-anim 0.3s ease forwards;
}

/* TikTok */
.social-button:has(.fa-tiktok):hover {
background: linear-gradient(135deg, #25f4ee, #000 50%, #fe2c55);
color: #fff;
}

/* Facebook */
.social-button:has(.fa-facebook):hover {
background: linear-gradient(135deg, #1877f2, #0866ff);
color: #fff;
}

/* X */
.social-button:has(.fa-x-twitter):hover {
background: linear-gradient(135deg, #555, #000, #555);
color: #fff;
}

/* Instagram */
.social-button:has(.fa-instagram):hover {
background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcaf45);
color: #fff;
}

/* Animation */
@keyframes circle-anim {
0% {
transform: scale(1);
}

90% {
transform: scale(1.2);
}

100% {
transform: scale(1.1);
}
}
/* ========================================================================== */
/* CSS LOADING */
/* ========================================================================== */
body.is-loading {
overflow: hidden;
}

/* MASK: hitam x hero = hitam, putih (angka) x hero = hero terlihat */
.loader-mask {
position: fixed;
inset: 0;
z-index: 999998;
display: flex;
align-items: center;
justify-content: center;
padding-bottom: 14vh;
background: #000;
color: #fff;
mix-blend-mode: multiply;
transform-origin: 50% 43%;
pointer-events: none;
}

.loader-counter {
font-family: "Anton", "Impact", sans-serif;
font-size: min(55vh, 42vw);
line-height: 0.85;
letter-spacing: -0.01em;
font-variant-numeric: tabular-nums;
user-select: none;
}

/* UI (skip, dumbbell, brand) di atas mask */
.loader-content {
position: fixed;
inset: 0;
z-index: 999999;
padding: 35px 5%;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.loader-header {
display: flex;
justify-content: flex-end;
}

#skip-loader {
color: #fff;
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.35);
padding: 14px 26px;
border-radius: 40px;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 12px;
letter-spacing: 3px;
cursor: pointer;
transition: 0.3s;
}

#skip-loader:hover {
background: #fff;
color: #000;
}

/* DUMBBELL */

.loader-dumbbell-wrap {
position: absolute;
left: 0;
right: 0;
bottom: 17vh;
display: flex;
justify-content: center;
pointer-events: none;
}

.loader-dumbbell {
width: clamp(150px, 20vw, 260px);
animation: dumbbellLift 1.2s ease-in-out infinite;
will-change: transform;
}

.loader-dumbbell svg {
display: block;
width: 100%;
height: auto;
overflow: visible;
}

.db-base rect {
fill: rgba(255, 255, 255, 0.08);
stroke: rgba(255, 255, 255, 0.35);
stroke-width: 1.5;
}

.db-fill rect {
fill: var(--bs-danger, #e83847);
}

@keyframes dumbbellLift {
0%,
100% {
transform: translateY(8px) rotate(-2deg);
}
50% {
transform: translateY(-8px) rotate(2deg);
}
}

/* FOOTER (brand + garis progress, kiri bawah) */

.loader-footer {
display: flex;
align-items: center;
gap: 18px;
}

.loader-logo {
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 14px;
font-weight: 700;
letter-spacing: 3px;
white-space: nowrap;
}

.loader-progress {
width: min(240px, 40vw);
height: 1px;
background: rgba(255, 255, 255, 0.3);
overflow: hidden;
}

.loader-progress-bar {
width: 0;
height: 100%;
background: #fff;
}

/* SAAT 100%: UI hilang, angka zoom lalu memudar -> hero-banner terlihat */

#website-loader.loader-complete .loader-content {
opacity: 0;
pointer-events: none;
transition: opacity 0.35s ease;
}

#website-loader.loader-complete .loader-mask {
animation: numberZoom 1.1s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes numberZoom {
0% {
transform: scale(1);
opacity: 1;
}
40% {
opacity: 1;
}
100% {
transform: scale(7);
opacity: 0;
}
}


/* MOBILE */

@media (max-width: 576px) {
.loader-content {
padding: 25px 20px;
}

#skip-loader {
padding: 10px 18px;
font-size: 10px;
}

.loader-logo {
font-size: 11px;
letter-spacing: 2px;
}
}



/* ========================================================================== */
/* HERO BANNER */
/* ========================================================================== */

.hero-inner {
z-index: 2;
}

/* Background zoom mengikuti progress loading (--p dari JS) */
.hero-bg img {
transform: scale(calc(1 + var(--p, 0) * 0.25));
will-change: transform;
}

/* Setelah loading selesai: background mendarat ke ukuran normal */
body.is-ready .hero-bg img {
--p: 0;
transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- TIMELINE: kapan konten mulai muncul (setelah lengkungan hampir selesai) ---------- */
body {
--content-start: 1.7s;
--arc-out-start: 2.7s; /* kapan lengkungan mulai menghilang */
}

/* ---------- LENGKUNGAN (efek ular) ---------- */

.hero-arcs {
position: absolute;
inset: 0;
z-index: 1;
width: 100%;
height: 100%;
pointer-events: none;
}

.arc {
fill: none;
stroke-linecap: round; /* ujung membulat = kepala ular */
stroke-dasharray: 1 2;
stroke-dashoffset: 1; /* awalnya tersembunyi */
}

.arc--white {
stroke: rgba(255, 255, 255, 0.28); /* sebelumnya 0.55 */
stroke-width: 114;
}

.arc--red {
stroke: rgba(var(--bs-danger-rgb), 0.4); /* sebelumnya 0.78 */
stroke-width: 180;
}

/* Putih: digambar dari kiri melengkung ke kanan */
/* Putih: muncul kiri → kanan, lalu ditarik balik kanan → kiri */
body.is-ready .arc--white {
animation:
arcDraw 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.45s forwards,
arcErase 1.8s cubic-bezier(0.65, 0, 0.35, 1) var(--arc-out-start) forwards;
}

/* Merah: muncul kanan → kiri, lalu ditarik balik kiri → kanan */
body.is-ready .arc--red {
animation:
arcDraw 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.75s forwards,
arcErase 1.8s cubic-bezier(0.65, 0, 0.35, 1) calc(var(--arc-out-start) + 0.25s) forwards;
}

@keyframes arcErase {
from { stroke-dashoffset: 0; opacity: 1; }
99% { opacity: 1; }
to { stroke-dashoffset: 1; opacity: 0; }
}

@keyframes arcDraw {
from { stroke-dashoffset: 1; }
to { stroke-dashoffset: 0; }
}

/* ---------- JUDUL: naik dari topeng per baris ---------- */

.hero-title .line {
display: block;
overflow: hidden;
padding: 0.06em 0;
margin: -0.06em 0;
}

.hero-title .line-inner {
display: block;
transform: translateY(110%);
}

body.is-ready .hero-title .line-inner {
animation: lineUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
animation-delay: calc(var(--content-start) + var(--d, 0s));
}

@keyframes lineUp {
from { transform: translateY(110%); }
to { transform: none; }
}

/* ---------- DUMBBELL: terangkat dari bawah ---------- */

.hero-dumbbell {
clip-path: inset(100% 0 0 0);
}

body.is-ready .hero-dumbbell {
animation: dumbbellIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
animation-delay: calc(var(--content-start) + 0.1s);
}

@keyframes dumbbellIn {
from { clip-path: inset(100% 0 0 0); transform: translateY(30px); }
to { clip-path: inset(0 0 0 0); transform: none; }
}


/* ---------- KONTEN MUNCUL SETELAH LINGKARAN ---------- */

.hero-reveal,
.hero-fade {
opacity: 0;
}

body.is-ready .hero-reveal {
animation: heroRise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
animation-delay: calc(var(--content-start) + var(--d, 0s));
}

body.is-ready .hero-fade {
animation: heroFade 1s ease both;
animation-delay: calc(var(--content-start) + var(--d, 0s));
}

@keyframes heroRise {
from {
opacity: 0;
transform: translateY(40px);
}
to {
opacity: 1;
transform: none;
}
}

@keyframes heroFade {
from {
opacity: 0;
}
to {
opacity: 1;
}
}

/* ---------- JUDUL + DUMBBELL ---------- */

.hero-title-wrap {
display: flex;
align-items: stretch;
gap: clamp(0.8rem, 2vw, 1.6rem);
}

/* Tinggi dumbbell otomatis mengikuti tinggi 3 baris judul */
.hero-dumbbell {
position: relative;
flex: 0 0 auto;
width: clamp(48px, 6vw, 96px);
}

.hero-dumbbell svg {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}

/* Lebih tebal: weight 900 + stroke tipis dengan warna yang sama */
.hero-title {
margin: 0;
font-weight: 900;
font-size: clamp(2.75rem, 8vw, 7rem);
line-height: 0.92;
letter-spacing: -0.02em;
-webkit-text-stroke: 0.045em currentColor;
}


@media (prefers-reduced-motion: reduce) {
.loader-dumbbell,
#website-loader.loader-complete .loader-mask,
body.is-ready .arc,
body.is-ready .hero-reveal,
body.is-ready .hero-fade,
body.is-ready .hero-title .line-inner,
body.is-ready .hero-dumbbell {
animation: none;
}

body.is-ready .hero-bg img { transition: none; }
body.is-ready .hero-reveal,
body.is-ready .hero-fade { opacity: 1; }
body.is-ready .arc { display: none; }
body.is-ready .hero-title .line-inner { transform: none; }
body.is-ready .hero-dumbbell { clip-path: none; }
#website-loader.loader-complete .loader-mask { opacity: 0; }
}

/* ========================================================================== */
/* Icon Menu */
/* ========================================================================== */

.hamburger-dots {
position: relative;
display: grid;
grid-template-columns: repeat(2, 14px);
gap: 10px;
padding: 10px; /* area hover lebih luas, posisi titik tidak bergeser */
margin: -10px;
border-radius: 50%;
cursor: pointer;
transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.hamburger-dots:has(input:focus-visible) {
outline: 2px solid var(--bs-danger);
outline-offset: 2px;
}

/* Lingkaran halus di belakang titik (muncul saat hover) */
.hamburger-dots::before {
content: "";
position: absolute;
inset: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.18);
transform: scale(0.55);
opacity: 0;
transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease,
background-color 0.3s ease;
}

.hamburger-dots:hover::before {
transform: scale(1);
opacity: 1;
}

.hamburger-dots span {
position: relative;
width: 14px;
height: 14px;
border-radius: 50%;
background: #fff;
transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1),
background-color 0.3s ease, border-radius 0.5s ease;
}

/* HOVER (menu tertutup): titik menyebar keluar dan berubah merah */
.hamburger-dots:hover span {
background: var(--bs-danger);
}
.hamburger-dots:hover span:nth-of-type(1) { transform: translate(-3px, -3px); }
.hamburger-dots:hover span:nth-of-type(2) { transform: translate(3px, -3px); }
.hamburger-dots:hover span:nth-of-type(3) { transform: translate(-3px, 3px); }
.hamburger-dots:hover span:nth-of-type(4) { transform: translate(3px, 3px); }

/* MENU TERBUKA: 4 titik menyatu di tengah dan menjadi tanda X */
.hamburger-dots input:checked ~ span {
border-radius: 2px;
background: #161310;
transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1),
background-color 0.35s ease 1.7s, border-radius 0.5s ease;
}
.hamburger-dots input:checked ~ span:nth-of-type(1) { transform: translate(12px, 12px) rotate(45deg) scale(2.3, 0.24); }
.hamburger-dots input:checked ~ span:nth-of-type(2) { transform: translate(-12px, 12px) rotate(-45deg) scale(2.3, 0.24);
}
.hamburger-dots input:checked ~ span:nth-of-type(3) { transform: translate(12px, -12px) rotate(-45deg) scale(2.3, 0.24);
}
.hamburger-dots input:checked ~ span:nth-of-type(4) { transform: translate(-12px, -12px) rotate(45deg) scale(2.3, 0.24);
}

/* HOVER (menu terbuka): X berputar dan berubah merah */
.hamburger-dots:hover input:checked ~ span {
background: var(--bs-danger);
transition-delay: 0s;
}
.hamburger-dots:has(input:checked):hover {
transform: rotate(90deg);
}
.hamburger-dots:has(input:checked)::before {
background: rgba(22, 19, 16, 0.08);
}

/* ========================================================================== */
/* MENU OVERLAY */
/* ========================================================================== */

body.menu-open {
overflow: hidden;
}

.menu-overlay {
--menu-ease: cubic-bezier(0.65, 0, 0.35, 1);
--menu-content: 1.8s; /* isi menu muncul setelah kotak terisi */
--menu-r: 120px; /* radius lengkung kiri bawah (diisi otomatis oleh JS) */

position: fixed;
top: 0;
left: 0;
width: 100%;
height: 85vh;
height: 85dvh;
z-index: 5; /* di bawah navbar (z-index 10), di atas konten hero */
color: #161310;
visibility: hidden;
pointer-events: none;
transition: visibility 0s linear 1.4s; /* tunggu animasi tutup selesai */
}

.menu-overlay.is-open {
visibility: visible;
pointer-events: auto;
transition-delay: 0s;
}

/* ---------- ISI KOTAK: terisi dari bawah ke atas ---------- */

.menu-fill {
position: absolute;
inset: 0;
z-index: 1;
background: var(--bs-primary);
border-bottom-left-radius: var(--menu-r);
clip-path: inset(100% 0 0 0); /* kosong */
transition: clip-path 0.7s cubic-bezier(0.77, 0, 0.18, 1) 0.15s; /* menutup: surut ke bawah */
}

.menu-overlay.is-open .menu-fill {
clip-path: inset(0 0 0 0);
transition: clip-path 0.85s cubic-bezier(0.77, 0, 0.18, 1) 1s; /* membuka: setelah garis selesai */
}

/* ---------- GARIS LENGKUNG (efek ular) ---------- */

.menu-lines {
position: absolute;
inset: 0;
z-index: 2;
width: 100%;
height: 100%;
pointer-events: none;
}

.menu-line {
fill: none;
stroke-width: 14;
stroke-linecap: round;
stroke-dasharray: 1 2;
stroke-dashoffset: 1; /* awalnya tersembunyi */
opacity: 1;
}

.menu-line--white { stroke: #FEF5E9; }
.menu-line--red { stroke: #FEF5E9; }

/* Menutup: garis muncul lagi, lalu ditarik balik (merah dulu, lalu putih) */
.menu-line--red {
transition: stroke-dashoffset 0.8s var(--menu-ease) 0.3s, opacity 0.2s ease 0s;
}
.menu-line--white {
transition: stroke-dashoffset 0.8s var(--menu-ease) 0.42s, opacity 0.2s ease 0s;
}

/* Membuka: putih digambar dulu, merah menyusul, lalu keduanya memudar setelah terisi */
.menu-overlay.is-open .menu-line {
stroke-dashoffset: 0;
opacity: 0;
}
.menu-overlay.is-open .menu-line--white {
transition: stroke-dashoffset 0.9s var(--menu-ease) 0s, opacity 0.5s ease 1.55s;
}
.menu-overlay.is-open .menu-line--red {
transition: stroke-dashoffset 0.9s var(--menu-ease) 0.14s, opacity 0.5s ease 1.6s;
}

/* ---------- PANEL ---------- */

.menu-panel {
position: relative;
z-index: 3;
height: 100%;
overflow-y: auto;
padding: clamp(96px, 16vh, 150px) 5% 4vh; /* ruang untuk navbar di atas */
display: flex;
flex-direction: column;
}

.menu-phone {
font-weight: 600;
color: #161310;
text-decoration: none;
white-space: nowrap;
}

.menu-cta {
display: inline-block;
padding: 14px 28px;
background: #161310;
color: #fff;
font-weight: 700;
text-decoration: none;
white-space: nowrap;
transition: background 0.3s;
}

.menu-cta:hover {
background: var(--bs-danger);
color: #fff;
}
/* ---------- ISI ---------- */

.menu-body {
flex: 1;
width: min(1320px, 100%);
margin: 0 auto;
padding: 4vh 0;
display: grid;
grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
gap: clamp(2rem, 5vw, 5rem);
align-items: center;
}

.menu-links {
display: grid;
grid-template-columns: 1fr 1fr;
column-gap: clamp(1.5rem, 4vw, 4rem);
}

.menu-item {
position: relative;
padding: 1.1rem 0;
border-bottom: 1px solid rgba(22, 19, 16, 0.12);
}

/* Garis merah yang "digambar" saat hover */
.menu-item::after {
content: "";
position: absolute;
left: 0;
bottom: -1px;
width: 100%;
height: 2px;
background: var(--bs-danger);
transform: scaleX(0);
transform-origin: left;
transition: transform 0.5s var(--menu-ease);
}

.menu-item:hover::after {
transform: scaleX(1);
}

.menu-link {
display: block;
font-size: clamp(1.7rem, 2.7vw, 2.6rem);
font-weight: 600;
letter-spacing: -0.045em;
line-height: 1.1;
color: #161310;
text-decoration: none;
transition: color 0.3s, transform 0.5s var(--menu-ease);
}

.menu-item:hover .menu-link {
color: var(--bs-danger);
transform: translateX(12px);
}

.menu-sub {
display: flex;
flex-wrap: wrap;
gap: 0.25rem 1.25rem;
margin-top: 0.9rem;
}

.menu-sub a {
font-size: 0.95rem;
font-weight: 500;
color: rgba(22, 19, 16, 0.6);
text-decoration: none;
transition: color 0.3s;
}

.menu-sub a:hover {
color: var(--bs-danger);
}

/* ---------- FOTO + CTA ---------- */

.menu-aside {
display: flex;
flex-direction: column;
gap: 1.5rem;
}

.menu-photo {
aspect-ratio: 4 / 3;
overflow: hidden;
clip-path: inset(0 0 100% 0);
transition: clip-path 0.4s ease;
}

.menu-photo img {
width: 100%;
height: 100%;
object-fit: cover;
transform: scale(1.25);
transition: transform 0.4s ease;
}

.menu-overlay.is-open .menu-photo {
clip-path: inset(0);
transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.18, 1) calc(var(--menu-content) + 0.2s);
}

.menu-overlay.is-open .menu-photo img {
transform: scale(1);
transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--menu-content) + 0.2s);
}

.menu-aside-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 1rem 2rem;
}

/* ---------- ANIMASI TEKS (naik dari topeng / fade) ---------- */

.m-mask {
display: block;
overflow: hidden;
padding-bottom: 0.12em;
margin-bottom: -0.12em;
}

.m-rise {
display: block;
transform: translateY(115%);
transition: transform 0.4s ease; /* saat menutup: cepat, tanpa jeda */
}

.m-fade {
opacity: 0;
transform: translateY(18px);
transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-overlay.is-open .m-rise {
transform: none;
transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1)
calc(var(--menu-content) + var(--i, 0) * 0.07s);
}

.menu-overlay.is-open .m-fade {
opacity: 1;
transform: none;
transition:
opacity 0.8s ease calc(var(--menu-content) + var(--i, 0) * 0.07s),
transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--menu-content) + var(--i, 0) * 0.07s);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 991.98px) {
.menu-body {
grid-template-columns: 1fr;
align-items: start;
}

.menu-aside {
display: none;
}
}

@media (max-width: 575.98px) {
.menu-panel {
padding: 96px 20px 4vh;
}

.menu-links {
grid-template-columns: 1fr;
}

.menu-item:hover .menu-link {
transform: none;
}
}

/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
.menu-overlay,
.menu-overlay * {
transition-duration: 0.01s !important;
transition-delay: 0s !important;
}
}

/* ========================================================================== */
/* NAVBAR SAAT MENU TERBUKA (posisi tetap, hanya warna yang berubah) */
/* ========================================================================== */

/* Navbar di atas overlay menu */
.hero-inner > header {
position: relative;
z-index: 10;
}

/* Tombol Repeat: putih → gelap */
.btn-repeat {
transition: transform 0.2s, box-shadow 0.2s,
background-color 0.3s ease 0.35s, color 0.3s ease 0.35s;
}
.btn-repeat::after {
transition: transform 0.4s, opacity 0.4s, background-color 0.3s ease 0.35s;
}
body.menu-open .btn-repeat {
background-color: #161310;
color: #fff;
transition-delay: 0s, 0s, 1.7s, 1.7s;
}
body.menu-open .btn-repeat::after {
background-color: #161310;
transition-delay: 0s, 0s, 1.7s;
}

@media (prefers-reduced-motion: reduce) {
.hero-logo a,
.btn-repeat,
.btn-repeat::after,
.hamburger-dots,
.hamburger-dots::before,
.hamburger-dots span {
transition-delay: 0s !important;
transition-duration: 0.01s !important;
}
}

/* ========================================================================== */
/* Profile Singkat */
/* ========================================================================== */


/* ========================================================= */
/* GYM STATISTICS SECTION */
/* ========================================================= */

.gym-statistics {
background: #fff;
overflow: hidden;
color: #000;
}

/* MAIN NUMBER */

.stat-main-number {
display: flex;
align-items: flex-start;
gap: 5px;
margin-bottom: 25px;
}

.stat-main-number h1 {
font-size: clamp(300px, 17vw, 185px);
font-weight: 800;
line-height: .78;
letter-spacing: -10px;
color: #ef3345;
margin: 0;
}

.stat-main-number span {
font-size: clamp(40px, 6vw, 75px);
font-weight: 800;
line-height: .8;
color: #000;
}

.stat-main-label {
    font-size: 50px;
    font-weight: 700;
    color: #000;
    margin-top: 5px;
    margin-bottom: 0;
}

/* PROGRESS BARS */

.stat-bars {
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
}

.stat-bar {
height: 37px;
background: #ef3345;
}

.stat-bar-1 {
width: 100%;
}

.stat-bar-2 {
width: 70%;
}

.stat-bar-3 {
width: 40%;
}

/* RIGHT CONTENT */

.stat-content {
padding: 0 25px;
}

.stat-heading {
font-size: clamp(16px, 1.4vw, 19px);
font-weight: 800;
line-height: 1.25;
color: #000;
margin-bottom: 15px;
}

.stat-description {
font-size: 12px;
font-weight: 400;
line-height: 1.4;
color: #111;
margin-bottom: 10px;
}

/* SMALL STATISTICS */

.stat-small-wrapper {
margin-top: 5px;
}

.stat-small-number {
display: flex;
align-items: flex-start;
gap: 2px;
}

.stat-small-number h2 {
font-size: clamp(145px, 6vw, 68px);
font-weight: 800;
line-height: .9;
letter-spacing: -4px;
color: #ef3345;
margin: 0;
}

.stat-small-number span {
font-size: 48px;
font-weight: 800;
line-height: .8;
color: #000;
}

.stat-small-wrapper p {
font-size: 31px;
font-weight: 700;
color: #000;
margin-top: 5px;
margin-bottom: 0;
}


/* ========================================================= */
/* RESPONSIVE */
/* ========================================================= */

@media (max-width: 991.98px) {

.stat-content {
padding: 0 20px;
}

.stat-main-number h1 {
font-size: clamp(100px, 20vw, 160px);
}

.stat-bar {
height: 30px;
}

}

@media (max-width: 575.98px) {

.gym-statistics {
padding-top: 40px !important;
padding-bottom: 40px !important;
}

.stat-main-number {
margin-bottom: 20px;
}

.stat-main-number h1 {
font-size: 115px;
letter-spacing: -7px;
}

.stat-main-number span {
font-size: 45px;
}

.stat-bar {
height: 25px;
}

.stat-content {
padding: 15px 20px 0;
}

.stat-heading {
font-size: 18px;
}

.stat-description {
font-size: 12px;
}

.stat-small-number h2 {
font-size: 48px;
}

.stat-small-number span {
font-size: 22px;
}

.stat-small-wrapper p {
font-size: 10px;
}

}


/* ========================================================================== */
/* gym-statistics section */
/* ========================================================================== */

/* Bar mulai dari kiri, awalnya kosong. Diisi lewat JS berdasarkan scroll */
.stat-bar {
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

/* Warna awal teks (abu-abu), JS yang mengubahnya ke hitam */
.scroll-word {
    color: #d2d2d2;
}

/* ========================================================================== */
/* Owl carousel */
/* ========================================================================== */

/* SECTION */
.club-marquee-section {
    background: #d8d8d8;
    border: 1px solid #222;
    overflow: hidden;
    padding: 10px 0;
}

/* CAROUSEL */
.club-marquee-carousel {
    overflow: hidden;
}

.club-marquee-carousel .owl-stage {
    display: flex;
    align-items: center;
    transition-timing-function: linear !important;
}

/* ITEM */
/* ITEM */
.club-marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    color: #f2384d;
    text-decoration: none;

    font-size: clamp(40px, 7vw, 90px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -5px;

    white-space: nowrap;
    position: relative;
    padding: 8px 0;

    width: 100%;
    box-sizing: border-box;
}

/* TEXT */
.club-marquee-item span {
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

/* UNDERLINE */
.club-marquee-item span::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;

    width: 100%;
    height: 5px;

    background: currentColor;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

.club-marquee-item:hover span::after {
    transform: scaleX(1);
}

/* DUMBBELL */
.marquee-dumbbell {
    font-size: .65em;
    transform: rotate(-90deg);
    display: inline-block;
    letter-spacing: normal;
    flex-shrink: 0;
}

/* DUMBBELL */
.marquee-dumbbell {
    font-size: .65em;
    transform: rotate(-90deg);
    display: inline-block;
    letter-spacing: normal;
}

/* HOVER */
.club-marquee-item:hover {
    color: #f2384d;
}

/* ---------- AUTO WIDTH: lebar item mengikuti panjang nama ---------- */

.club-marquee-carousel .owl-item {
    flex: 0 0 auto;            /* jangan menyusut; lebar ditentukan isinya */
}

.club-marquee-carousel .club-marquee-item {
    width: auto;               /* menggantikan width: 100% yang lama */
}

/* RESPONSIVE */
@media (max-width: 576px) {
    .club-marquee-item {
        font-size: clamp(34px, 11vw, 48px);
        gap: 12px;
        letter-spacing: -2px;
    }

    .club-marquee-section {
        padding: 8px 0;
    }
}


/* ========================================================================== */
/* PROGRAMS (scroll per nomor + gambar sticky) */
/* ========================================================================== */

.programs-section {
    --p-ease: cubic-bezier(0.65, 0, 0.35, 1);
    background: #fff;
    color: #161310;
    padding: 90px 0 60px;
    /* jangan beri overflow:hidden di sini, sticky akan rusak */
}

.programs-heading {
    font-size: clamp(1.5rem, 2.2vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 2.5rem;
}

/* ---------- LIST ---------- */

.programs-list {
    border-top: 1px solid rgba(22, 19, 16, 0.25);
}

.program-item {
    position: relative;
    display: grid;
    grid-template-columns: clamp(48px, 8vw, 110px) 1fr;
    min-height: 62vh;               /* tinggi per nomor = jarak scroll tiap nomor */
    padding: 2.2rem 0 3rem;
    border-bottom: 1px solid rgba(22, 19, 16, 0.15);
}

/* Garis merah yang "digambar" saat item aktif */
.program-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: var(--bs-danger);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s var(--p-ease);
}

.program-num {
    padding-top: 0.9rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #161310;
    transition: color 0.4s ease;
}

.program-name {
    margin: 0 0 1.4rem;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.95;
    color: #161310;                 /* hitam sebelum gilirannya */
    transition: color 0.4s ease, transform 0.6s var(--p-ease);
}

.program-tagline {
    margin: 0 0 0.6rem;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.program-desc {
    max-width: 480px;
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.program-link {
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: #161310;
    text-decoration: none;
    transition: color 0.3s ease;
}

.program-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--p-ease);
}

.program-link:hover { color: var(--bs-danger); }
.program-link:hover::after { transform: scaleX(1); }

/* ---------- STATE: AKTIF (scroll) atau HOVER = merah ---------- */

.program-item.is-active .program-name,
.program-item:hover .program-name {
    color: var(--bs-danger);
    transform: translateX(10px);
}

.program-item.is-active .program-num,
.program-item:hover .program-num {
    color: var(--bs-danger);
}

.program-item.is-active::after,
.program-item:hover::after {
    transform: scaleX(1);
}

/* ---------- GAMBAR STICKY ---------- */

.program-visual {
    position: sticky;
    top: 12vh;
    height: 76vh;
    border-radius: 18px;
    overflow: hidden;
    background: #161310;
}

.program-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: inset(100% 0 0 0);   /* tersembunyi (menutup ke bawah) */
    transform: scale(1.18);
    transition:
        clip-path 0.9s cubic-bezier(0.77, 0, 0.18, 1),
        transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.program-img.is-active {
    z-index: 2;                     /* gambar baru menutupi yang lama */
    clip-path: inset(0 0 0 0);      /* terbuka dari bawah ke atas */
    transform: scale(1);
}

/* ---------- MOBILE ---------- */

.program-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    margin: 0 0 1.2rem;
}

@media (max-width: 991.98px) {
    .programs-section { padding: 60px 0 40px; }
    .program-item { min-height: 0; padding: 1.8rem 0 2.2rem; }
}

@media (max-width: 575.98px) {
    .program-item.is-active .program-name,
    .program-item:hover .program-name { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .program-img,
    .program-name,
    .program-item::after {
        transition-duration: 0.01s !important;
    }
}

/* ========================================================================== */
/* NEWS SECTION */
/* ========================================================================== */

.news-section {
    --n-ease: cubic-bezier(0.22, 1, 0.36, 1);
    background: #fff;
    color: #161310;
    padding: 50px 0 100px;
}

/* ---------- HEAD: bar + tulisan (scroll-linked lewat JS) ---------- */

.news-head {
    display: flex;
    align-items: center;
    gap: clamp(0.8rem, 2vw, 1.6rem);
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* Bar kosong di awal, JS mengisinya dari kiri ke kanan */
.news-bar {
    flex: 1;
    height: clamp(26px, 3.4vw, 50px);
    background: var(--bs-danger);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

/* Tulisan: huruf naik dari "topeng" (overflow hidden di pembungkus) */
.news-title {
    margin: 0;
    font-size: clamp(4rem, 11vw, 9.5rem);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 0.8;
    color: var(--bs-danger);
    overflow: hidden;
    padding: 0.12em 0.08em 0.06em 0.02em;
}

.news-letter {
    display: inline-block;
    transform: translateY(110%);
    will-change: transform;
}

/* ---------- GRID ---------- */

.news-col {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.6rem);
}

/* ---------- CARD ---------- */

.news-card {
    display: flex;
    flex-direction: column;
    padding-bottom: 1.2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow:
        0 1px 0 rgba(22, 19, 16, 0.12),
        0 10px 20px -16px rgba(22, 19, 16, 0.3);
    transition:
        transform 0.6s var(--n-ease),
        box-shadow 0.6s var(--n-ease),
        opacity 0.4s ease,
        filter 0.4s ease;
}

.news-media {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: var(--ar, 4 / 3);
    background: #161310;
}

.news-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--n-ease);
}

/* Tint merah dari bawah saat hover */
.news-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(232, 56, 71, 0.6), transparent 65%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.news-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0.5rem;
}

.news-card-title {
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    transition: color 0.3s ease, transform 0.5s var(--n-ease);
}

.news-card-text {
    margin: 0 0 1rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(22, 19, 16, 0.75);
}

/* ---------- BUTTON: terisi merah dari kiri ---------- */

.news-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid #161310;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #161310;
    text-decoration: none;
    transition: color 0.35s ease, border-color 0.35s ease;
}

.news-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--bs-danger);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--n-ease);
}

.news-btn i {
    font-size: 0.7rem;
    transition: transform 0.35s var(--n-ease);
}

/* ---------- HOVER ---------- */

.news-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 1px 0 rgba(232, 56, 71, 0.4),
        0 24px 36px -18px rgba(232, 56, 71, 0.5);
}

.news-card:hover .news-media img { transform: scale(1.09); }
.news-card:hover .news-media::after { opacity: 1; }

.news-card:hover .news-card-title {
    color: var(--bs-danger);
    transform: translateX(4px);
}

.news-card:hover .news-btn {
    color: #fff;
    border-color: var(--bs-danger);
}
.news-card:hover .news-btn::before { transform: scaleX(1); }
.news-card:hover .news-btn i { transform: translateX(4px); }

/* Kartu lain meredup saat satu kartu di-hover (hanya perangkat dengan mouse) */
@media (hover: hover) {
    .news-grid:has(.news-card:hover) .news-card:not(:hover) {
        opacity: 0.55;
        filter: grayscale(0.5);
    }
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 575.98px) {
    .news-section { padding: 30px 0 60px; }
    .news-card-title { font-size: 0.9rem; }
    .news-card-text { font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
    .news-card,
    .news-media img,
    .news-media::after,
    .news-card-title,
    .news-btn,
    .news-btn::before,
    .news-btn i {
        transition-duration: 0.01s !important;
    }
}

/* ========================================================================== */
/* FOOTER */
/* ========================================================================== */

.site-footer {
    --f-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    background: var(--bs-danger);
    color: #fff;
    padding: clamp(50px, 7vw, 100px) 0 28px;
    /* jangan beri overflow:hidden, supaya huruf logo yang melompat tidak terpotong */
}

/* ---------- LOGO BESAR ---------- */

.footer-logo-link {
    display: block;
    line-height: 0;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.footer-logo-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 8px;
}

.footer-logo-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Putih saat diam; berubah per huruf (H → M) */
.footer-logo-svg .lg {
    fill: #fff;
    transition: fill 0.4s ease calc(var(--i) * 0.05s);
}

/* Hover / fokus / sedang animasi = hitam pekat */
.footer-logo-link.is-animating .lg,
.footer-logo-link:focus-visible .lg {
    fill: #000;
}

@media (hover: hover) {
    .footer-logo-link:hover .lg { fill: #000; }
}

/* Lompat squash & stretch (keyframe sama dengan logo header, tanpa kedip warna) */
/* Gerakan simple: seluruh logo naik sedikit lalu turun */
.footer-logo-link.is-animating .footer-logo-svg {
    animation: footerLift 0.7s ease-in-out both;
}

@keyframes footerLift {
    0%, 100% { transform: translateY(0); }
    40%      { transform: translateY(-12px); }
}

/* Slash putih bergerak kiri → kanan */
.footer-slash {
    opacity: 0;
    transform: translateX(-300px);
    pointer-events: none;
}

.footer-slash polygon { fill: #fff; }

.footer-logo-link.is-animating .footer-slash {
    animation: footerSlash 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.1s both;
}

@keyframes footerSlash {
    0%   { transform: translateX(-300px); opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { transform: translateX(1000px); opacity: 0; }
}


/* ---------- TAGLINE + GOOGLE PLAY ---------- */

.footer-tagline {
    max-width: 400px;
    margin: 0 0 1.4rem;
    font-size: clamp(0.95rem, 1.25vw, 1.15rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.footer-store {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.1rem 0.5rem 0.9rem;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.5s var(--f-ease), border-color 0.3s ease, box-shadow 0.5s var(--f-ease);
}

.footer-store i { font-size: 1.7rem; }

.footer-store span {
    display: flex;
    flex-direction: column;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.05;
}

.footer-store small {
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.footer-store:hover {
    transform: translateY(-4px);
    border-color: #fff;
    box-shadow: 0 14px 24px -12px rgba(0, 0, 0, 0.6);
    color: #fff;
}

/* ---------- KOLOM LINK ---------- */

.footer-title {
    margin: 0 0 0.7rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.footer-title--spaced { margin-top: 1.8rem; }

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-links a {
    position: relative;
    display: inline-block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.5s var(--f-ease);
}

/* Garis bawah yang "digambar" saat hover */
.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--f-ease);
}

.footer-links a:hover {
    color: #000;
    transform: translateX(5px);
}
.footer-links a:hover::after { transform: scaleX(1); }

/* ---------- BAWAH: SOSMED + COPYRIGHT ---------- */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.5s var(--f-ease);
}

.footer-social a:hover {
    color: #000;
    transform: translateY(-5px) rotate(-8deg);
}

.footer-copy {
    font-size: 0.85rem;
    font-weight: 700;
}

@media (min-width: 992px) {
    .footer-bottom { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
    .footer-logo-link.is-animating .footer-logo-svg,
    .footer-logo-link.is-animating .footer-slash {
        animation: none;
    }
}

/* ========================================================================== */
/* Chat bot  */
/* ========================================================================== */
/* ========================================================================== */
/* FLOATING BUTTONS (Chatbot + Scroll to Top) */
/* ========================================================================== */

.fab-group {
    --fab-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --fab-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
    position: fixed;
    right: clamp(16px, 2.5vw, 32px);
    bottom: calc(clamp(16px, 2.5vw, 32px) + env(safe-area-inset-bottom, 0px));
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none; /* hanya tombolnya yang bisa diklik */
}

/* Sembunyi saat menu terbuka */
body.menu-open .fab-group {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.float-btn {
    --fab-bg: var(--bs-danger, #e83847);
    --fab-fg: #fff;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    min-width: 52px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 100px;
    background: var(--fab-bg);
    color: var(--fab-fg);
    font-size: 1.15rem;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45);
    transition:
        transform 0.5s var(--fab-ease),
        opacity 0.4s ease,
        background-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.4s var(--fab-ease);
}

.float-btn:hover {
    box-shadow: 0 16px 28px -10px rgba(0, 0, 0, 0.55);
}

.float-btn:focus-visible {
    outline: 2px solid var(--bs-danger, #e83847);
    outline-offset: 3px;
}

.fab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

/* ---------- SCROLL TO TOP ---------- */

.fab-top {
    --fab-bg: #161310;
    opacity: 0;
    transform: translateY(28px) scale(0.6);
    pointer-events: none;
}

.fab-top.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.fab-top:hover {
    --fab-bg: var(--bs-danger, #e83847);
    transform: translateY(-4px);
}

/* Ring progress scroll */
.fab-ring {
    position: absolute;
    inset: -2px;
    width: 52px;
    height: 52px;
    transform: rotate(-90deg); /* mulai dari atas */
    pointer-events: none;
}

.fab-ring circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
}

.fab-ring-track { opacity: 0.2; }

/* Panah bergerak naik-turun saat hover */
.fab-top:hover i { animation: fabArrow 0.7s ease-in-out infinite; }

@keyframes fabArrow {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

/* Saat diklik: panah melesat keluar atas, masuk lagi dari bawah */
.fab-top.is-launching i { animation: fabLaunch 0.65s ease both; }

@keyframes fabLaunch {
    0%   { transform: translateY(0); opacity: 1; }
    49%  { transform: translateY(-28px); opacity: 0; }
    50%  { transform: translateY(28px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ---------- CHATBOT ---------- */

.fab-chat {
    opacity: 0;
    pointer-events: none;
}

/* Muncul setelah intro hero selesai */
body.is-ready .fab-chat {
    opacity: 1;
    pointer-events: auto;
    animation: fabPop 0.7s var(--fab-pop) 3.4s backwards;
}

@keyframes fabPop {
    from { opacity: 0; transform: translateY(30px) scale(0.3); }
}

/* Ring berdenyut */
.fab-chat::after {
    content: "";
    position: absolute;
    inset: -2px;
    border: 2px solid var(--fab-bg);
    border-radius: inherit;
    pointer-events: none;
    animation: fabPulse 2.6s ease-out 4.2s infinite;
}

@keyframes fabPulse {
    0%   { transform: scale(1); opacity: 0.7; }
    70%, 100% { transform: scale(1.5); opacity: 0; }
}

.fab-chat:hover {
    --fab-bg: #161310;
    transform: translateY(-4px);
}

.fab-chat:hover::after { animation: none; opacity: 0; }

.fab-chat:hover .fab-icon i { transform: rotate(-10deg) scale(1.12); }
.fab-icon i { transition: transform 0.4s var(--fab-ease); }

/* Label melebar ke kiri saat hover */
.fab-label {
    max-width: 0;
    margin-left: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0;
    transition: max-width 0.5s var(--fab-ease), margin 0.5s var(--fab-ease), opacity 0.3s ease;
}

.fab-chat:hover .fab-label,
.fab-chat:focus-visible .fab-label {
    max-width: 120px;
    margin-left: 18px;
    opacity: 1;
}

/* ---------- SAAT DI ATAS FOOTER (background merah) ---------- */

.fab-group.on-footer .float-btn {
    --fab-bg: #fff;
    --fab-fg: var(--bs-danger, #e83847);
}

.fab-group.on-footer .float-btn:hover {
    --fab-bg: #161310;
    --fab-fg: #fff;
}

/* Supaya teks © di footer tidak tertutup tombol */
.footer-bottom { padding-right: 76px; }

@media (prefers-reduced-motion: reduce) {
    .float-btn,
    .fab-label,
    .fab-icon i { transition-duration: 0.01s !important; }

    body.is-ready .fab-chat,
    .fab-chat::after,
    .fab-top:hover i,
    .fab-top.is-launching i { animation: none; }
}