/* ============================================================
   JUSKU — Landing Page CSS
   Premium Green Organic SaaS Style
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --g1: #0a3d1f;
  --g2: #145a2e;
  --g3: #1e8a45;
  --g4: #26c05a;
  --g5: #4ade80;
  --g6: #bbf7d0;
  --g7: #f0fdf4;
  --accent: #f9c23c;
  --accent2: #ff6b35;
  --white: #ffffff;
  --dark: #041208;
  --text: #1a2e22;
  --muted: #4a6d56;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-bg-light: rgba(255, 255, 255, 0.72);
  --glass-border-light: rgba(255, 255, 255, 0.9);
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 20px 60px rgba(10, 61, 31, 0.18);
  --shadow-card: 0 8px 32px rgba(10, 61, 31, 0.12);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  /* Removed scroll-behavior: smooth to prevent fighting with JS custom scroll */
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
  /* Prevent subpixel layout shifts */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}

img {
  max-width: 100%;
  display: block;
  /* Prevent layout shift while images load */
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── NOISE TEXTURE OVERLAY ───────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
  /* Promote to own layer to avoid compositing hero repaint */
  will-change: opacity;
  transform: translateZ(0);
}

/* ── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--g1);
}

::-webkit-scrollbar-thumb {
  background: var(--g4);
  border-radius: 3px;
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.lp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 max(24px, 5vw);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.lp-nav.scrolled {
  background: rgba(4, 18, 8, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(74, 222, 128, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: block;
  height: 44px;
  width: auto;
}

.footer-logo {
  display: block;
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(74, 222, 128, 0.12);
}

/* Active section highlight */
.nav-links a.active {
  color: var(--g5);
  background: rgba(74, 222, 128, 0.15);
  font-weight: 600;
}

/* Active state for mobile drawer links */
.nav-mobile a.active {
  color: var(--g5);
  background: rgba(74, 222, 128, 0.1);
  font-weight: 600;
}

.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--g3), var(--g4));
  color: var(--white) !important;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.25);
  transition: var(--transition);
}

.nav-login:hover {
  background: linear-gradient(135deg, var(--g4), var(--g5)) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(74, 222, 128, 0.35);
  color: var(--dark) !important;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(4, 18, 8, 0.97);
  backdrop-filter: blur(20px);
  padding: 1.5rem max(24px, 5vw) 2rem;
  border-bottom: 1px solid rgba(74, 222, 128, 0.1);
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  display: block;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  border-radius: 12px;
  transition: var(--transition);
}

.nav-mobile a:hover {
  background: rgba(74, 222, 128, 0.1);
  color: var(--white);
}

.nav-mobile .nav-login {
  margin-top: 12px;
  text-align: center;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.lp-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: clamp(24px, 8vw, 120px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../../uploads/menu/herojusku.png');
  background-size: cover;
  background-position: center 30%;
  transform: translateZ(0);
  /* GPU composite layer — no transition needed */
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(4, 18, 8, 0.95) 0%,
      rgba(4, 18, 8, 0.7) 45%,
      transparent 100%);
}

.hero-overlay-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(30, 138, 69, 0.2) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 640px;
  padding: 0 24px;
  animation: heroFadeIn 1.2s ease both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--g5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  /* backdrop-filter removed on badge — negligible visual impact, big perf gain */
  animation: heroFadeIn 1.2s 0.2s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--g4);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--g4);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: heroFadeIn 1.2s 0.3s ease both;
}

.hero-headline em {
  font-style: italic;
  color: var(--g5);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 0 40px 0;
  line-height: 1.8;
  font-weight: 300;
  animation: heroFadeIn 1.2s 0.4s ease both;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  animation: heroFadeIn 1.2s 0.5s ease both;
}

.btn-primary-lp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--g3), var(--g4));
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(74, 222, 128, 0.3);
}

.btn-primary-lp:hover {
  background: linear-gradient(135deg, var(--g4), var(--g5));
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(74, 222, 128, 0.4);
  color: var(--dark);
}

.btn-primary-lp .arrow {
  transition: var(--transition);
}

.btn-primary-lp:hover .arrow {
  transform: translateX(4px);
}

.btn-ghost-lp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.1);
  /* backdrop-filter only on capable browsers — gracefully omitted on mobile */
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

@supports (backdrop-filter: blur(1px)) {
  .btn-ghost-lp {
    backdrop-filter: blur(10px);
  }
}

.btn-ghost-lp:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: heroFadeIn 1.2s 0.8s ease both;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ══════════════════════════════════════════════════════════
   STORY
══════════════════════════════════════════════════════════ */
.lp-story {
  background: var(--g7);
  padding: 120px max(24px, 6vw);
  position: relative;
  overflow: hidden;
}

.lp-story::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.story-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-grid>* {
  min-width: 0;
}

.story-img-wrap {
  position: relative;
  min-width: 0;
}

.story-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-img-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.story-img-frame:hover img {
  transform: scale(1.03);
}

.story-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--g2), var(--g3));
  border-radius: var(--radius);
  padding: 20px 28px;
  color: var(--white);
  box-shadow: 0 12px 40px rgba(10, 61, 31, 0.3);
}

.story-img-badge .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--g5);
  line-height: 1;
}

.story-img-badge .label {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.8;
  margin-top: 4px;
}

.story-dot-deco {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--g4) 0%, transparent 70%);
  opacity: 0.2;
}

.story-copy {
  min-width: 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--g3);
  background: rgba(30, 138, 69, 0.1);
  border: 1px solid rgba(30, 138, 69, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-heading span {
  color: var(--g3);
}

.section-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 32px;
}

.story-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.story-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.story-stat .val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--g3);
  line-height: 1;
}

.story-stat .lbl {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.story-divider {
  width: 1px;
  background: rgba(30, 138, 69, 0.2);
  align-self: stretch;
}

/* ══════════════════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════════════════ */
.lp-marquee {
  background: var(--dark);
  padding: 100px 0;
  overflow: hidden;
  position: relative;
  /* Isolate stacking context for fade overlays */
  isolation: isolate;
}

.lp-marquee::before,
.lp-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}

.lp-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--dark) 30%, transparent);
}

.lp-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--dark) 30%, transparent);
}

.marquee-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

.marquee-header .section-heading {
  color: var(--white);
}

/* Clip each row — no inner overflow hidden (avoids stacking-context rasterization) */
.marquee-track-wrap {
  overflow: hidden;
  margin-bottom: 20px;
  /* Prevent the wrap from participating in scrollbar calculation */
  contain: layout style;
}

/*
  The track is the GPU-animated element.
  - will-change: transform  → promotes to own compositor layer.
  - transform: translateZ(0) → triggers GPU rasterization before animation.
  - display: flex + width: max-content → single-pass layout.
  Do NOT add overflow:hidden here — it forces a new stacking context each frame.
*/
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  /* Use 3D context so GPU can rasterize the layer once */
  -webkit-backface-visibility: hidden;
}

/* Top row: right-to-left */
.marquee-track--left {
  animation: marqueeLeft 50s linear infinite;
}

/* Bottom row: left-to-right (reverse direction) */
.marquee-track--right {
  animation: marqueeRight 50s linear infinite;
}

/*
  Keyframes use only transform (no left/right/margin).
  -50% lands at exactly the midpoint of the duplicated set
  which is a seamless clone of the first set → gapless loop.
  Animation MUST NOT be paused on hover.
*/
@keyframes marqueeLeft {
  0% {
    transform: translateX(0) translateZ(0);
  }

  100% {
    transform: translateX(-50%) translateZ(0);
  }
}

@keyframes marqueeRight {
  0% {
    transform: translateX(-50%) translateZ(0);
  }

  100% {
    transform: translateX(0) translateZ(0);
  }
}

/* Explicitly forbid any pause-on-hover (defensive, some user-agent stylesheets interfere) */
.marquee-track--left:hover,
.marquee-track--right:hover,
.marquee-track-wrap:hover .marquee-track--left,
.marquee-track-wrap:hover .marquee-track--right {
  animation-play-state: running !important;
}

.marquee-card {
  flex-shrink: 0;
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marquee-card:hover {
  /* No transform on card hover — would break compositor layer of the track */
}

.marquee-card-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  display: block;
  /* Explicit dimensions prevent layout reflow when images load */
}

.marquee-card-info {
  padding: 14px 16px;
  text-align: center;
}

.marquee-card-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.marquee-card-sub {
  font-size: 0.75rem;
  color: var(--g5);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════
   ADVANTAGES
══════════════════════════════════════════════════════════ */
.lp-advantages {
  background: linear-gradient(160deg, var(--g1) 0%, #041a0c 100%);
  padding: 120px max(24px, 6vw);
  position: relative;
  overflow: hidden;
}

.lp-advantages::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.advantages-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 72px;
}

.advantages-header .section-heading {
  color: var(--white);
}

.advantages-header .section-body {
  color: rgba(255, 255, 255, 0.6);
}

.adv-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.adv-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
  position: relative;
  group: true;
}

.adv-card:hover {
  transform: translateY(-8px);
  border-color: rgba(74, 222, 128, 0.25);
  box-shadow: 0 24px 64px rgba(74, 222, 128, 0.1);
  background: rgba(74, 222, 128, 0.05);
}

.adv-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.adv-card:hover .adv-card-img {
  transform: scale(1.04);
}

.adv-card-img-wrap {
  overflow: hidden;
  position: relative;
}

.adv-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 18, 8, 0.7) 0%, transparent 60%);
}

.adv-card-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--g3), var(--g4));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(74, 222, 128, 0.3);
}

.adv-card-body {
  padding: 20px;
}

.adv-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.adv-card-desc {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   FRANCHISE
══════════════════════════════════════════════════════════ */
.lp-franchise {
  background: var(--g7);
  padding: 120px max(24px, 6vw);
  overflow: hidden;
}

.franchise-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.franchise-text-side {
  order: 1;
}

.franchise-img-side {
  order: 2;
}

.franchise-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.franchise-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border-light);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.franchise-benefit:hover {
  background: white;
  box-shadow: var(--shadow-card);
  transform: translateX(6px);
}

.franchise-benefit-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--g3), var(--g4));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(30, 138, 69, 0.25);
}

.franchise-benefit-text .ttl {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.franchise-benefit-text .desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(37, 211, 102, 0.4);
  filter: brightness(1.08);
}

.franchise-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.franchise-img-frame img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.franchise-img-frame:hover img {
  transform: scale(1.03);
}

.franchise-img-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(4, 18, 8, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 14px;
  padding: 14px 20px;
  color: var(--white);
}

.franchise-img-badge .badge-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--g5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.franchise-img-badge .badge-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════ */
.lp-testi {
  background: linear-gradient(160deg, #041208 0%, var(--g1) 100%);
  padding: 120px max(24px, 6vw);
  overflow: hidden;
}

.testi-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 72px;
}

.testi-header .section-heading {
  color: var(--white);
}

.testi-header .section-body {
  color: rgba(255, 255, 255, 0.6);
}

.testi-slider-wrap {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.testi-slider {
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: grab;
  user-select: none;
}

.testi-slider:active {
  cursor: grabbing;
}

.testi-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.testi-card {
  flex: 0 0 calc(33.333% - 16px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.testi-card:hover {
  background: rgba(74, 222, 128, 0.06);
  border-color: rgba(74, 222, 128, 0.18);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(74, 222, 128, 0.08);
}

.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testi-star {
  color: var(--accent);
  font-size: 1rem;
}

.testi-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-text::before {
  content: '"';
  font-size: 1.5em;
  color: var(--g5);
  line-height: 0;
  vertical-align: -0.4em;
}

.testi-text::after {
  content: '"';
  font-size: 1.5em;
  color: var(--g5);
  line-height: 0;
  vertical-align: -0.4em;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(74, 222, 128, 0.3);
  background: linear-gradient(135deg, var(--g2), var(--g3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--g5);
  font-weight: 700;
  flex-shrink: 0;
}

.testi-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.testi-role {
  font-size: 0.78rem;
  color: var(--g5);
  font-weight: 500;
}

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.testi-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.testi-btn:hover {
  background: rgba(74, 222, 128, 0.15);
  border-color: rgba(74, 222, 128, 0.3);
  transform: scale(1.1);
}

.testi-dots {
  display: flex;
  gap: 8px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.testi-dot.active {
  background: var(--g4);
  width: 24px;
  border-radius: 4px;
}

/* ══════════════════════════════════════════════════════════
   LOCATIONS
══════════════════════════════════════════════════════════ */
.lp-locations {
  background: var(--g7);
  padding: 120px max(24px, 6vw);
}

.locations-inner {
  max-width: 800px;
  margin: 0 auto;
}

.locations-header {
  text-align: center;
  margin-bottom: 56px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: var(--white);
  border: 1px solid rgba(30, 138, 69, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(10, 61, 31, 0.06);
  transition: var(--transition);
}

.accordion-item.open {
  box-shadow: 0 8px 32px rgba(10, 61, 31, 0.12);
  border-color: rgba(30, 138, 69, 0.25);
}

.accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  transition: var(--transition);
}

.accordion-head:hover {
  background: rgba(74, 222, 128, 0.04);
}

.accordion-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.accordion-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--g3), var(--g4));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(30, 138, 69, 0.2);
}

.accordion-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.accordion-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.accordion-chevron {
  font-size: 1rem;
  color: var(--g3);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.open .accordion-body {
  max-height: 500px;
}

.accordion-content {
  padding: 0 24px 24px;
  border-top: 1px solid rgba(30, 138, 69, 0.08);
  padding-top: 20px;
}

.accordion-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.accordion-map {
  width: 100%;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(30, 138, 69, 0.12);
}

.accordion-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.lp-footer {
  background: linear-gradient(160deg, var(--dark) 0%, var(--g1) 100%);
  padding: 72px max(24px, 6vw) 40px;
  border-top: 1px solid rgba(74, 222, 128, 0.08);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(140px, 0.7fr) minmax(220px, 0.95fr) minmax(240px, 1.2fr);
  align-items: start;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

.footer-social {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  text-decoration: none;
}

.social-btn:hover {
  background: linear-gradient(135deg, var(--g3), var(--g4));
  border-color: transparent;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74, 222, 128, 0.25);
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g5);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-contact-item:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.footer-map-col {
  min-width: 0;
}

.footer-map-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.footer-map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.footer-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-copy a {
  color: var(--g5);
}

/* ══════════════════════════════════════════════════════════
   FLOATING WHATSAPP
══════════════════════════════════════════════════════════ */
.float-wa {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9998;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: floatWA 0.8s 1.5s ease both;
  text-decoration: none;
}

@keyframes floatWA {
  from {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.float-wa:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 12px 48px rgba(37, 211, 102, 0.5);
}

.float-wa::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATION
══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  /* Use individual properties instead of all — avoids animating box-shadow etc. */
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  /* Reset will-change after animation to release GPU memory */
  will-change: auto;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid,
  .franchise-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .franchise-img-side {
    order: -1;
  }

  .franchise-img-frame img {
    height: 380px;
  }

  .story-img-frame img {
    height: 380px;
  }

  /* Reduce marquee card width slightly on tablet */
  .marquee-card {
    width: 200px;
  }

  .marquee-card-img {
    height: 150px;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-login.desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-headline {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

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

  .btn-primary-lp,
  .btn-ghost-lp {
    padding: 14px 28px;
    font-size: 0.92rem;
  }

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

  .testi-card {
    flex: 0 0 calc(100% - 0px);
  }

  .lp-story,
  .lp-advantages,
  .lp-franchise,
  .lp-testi,
  .lp-locations {
    padding: 80px max(20px, 4vw);
  }

  .lp-marquee {
    padding: 72px 0;
  }

  /* Smaller marquee cards on mobile */
  .marquee-card {
    width: 180px;
  }

  .marquee-card-img {
    height: 130px;
  }

  /* Reduce fade overlay width to not eat too much card space */
  .lp-marquee::before,
  .lp-marquee::after {
    width: 60px;
  }

  /* Disable navbar backdrop-filter on mobile for perf */
  .lp-nav.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(4, 18, 8, 0.96);
  }

  .story-grid {
    gap: 32px;
  }

  .story-img-wrap {
    width: 100%;
    max-width: 100%;
    padding-bottom: 16px;
  }

  .story-img-frame {
    width: 100%;
    max-width: 100%;
  }

  .story-img-frame img {
    height: clamp(300px, 82vw, 380px);
  }

  .story-img-badge {
    right: 16px;
    bottom: 0;
    max-width: calc(100% - 32px);
    padding: 14px 18px;
  }

  .story-img-badge .num {
    font-size: 2rem;
  }

  .story-img-badge .label {
    font-size: 0.72rem;
  }

  .story-dot-deco {
    top: -18px;
    left: -18px;
    width: 84px;
    height: 84px;
  }

  .story-copy {
    display: flex;
    flex-direction: column;
  }

  .story-copy>.story-stats {
    order: 1;
    margin-bottom: 24px;
  }

  .story-copy> :not(.story-stats) {
    order: 2;
  }

  .story-stats {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .story-stat {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    min-width: 0;
    padding: 4px 0;
  }

  .story-divider {
    display: block;
    width: 1px;
    flex: 0 0 1px;
    align-self: stretch;
  }

  .story-stat .val {
    font-size: clamp(1rem, 4.6vw, 1.25rem);
    line-height: 1.05;
  }

  .story-stat .lbl {
    font-size: clamp(0.62rem, 2.6vw, 0.74rem);
    line-height: 1.35;
    text-wrap: balance;
  }

  .story-stat .val,
  .story-stat .lbl,
  .section-heading,
  .section-body {
    overflow-wrap: anywhere;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .adv-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-wrap {
    flex-direction: column;
  }

  .btn-primary-lp,
  .btn-ghost-lp {
    width: 100%;
    justify-content: center;
  }

  .float-wa {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }
}