/* ============================
   JOGLO SABLON KAOS BLITAR
   Professional Website CSS
   ============================ */

/* ===== CSS VARIABLES ===== */
/* ===== CSS VARIABLES — DARK (default) ===== */
:root,
[data-theme="dark"] {
  --red: #C0392B;
  --red-dark: #96281B;
  --red-light: #E74C3C;
  --dark: #0D0D0D;
  --dark-card: #141414;
  --dark-elevated: #1C1C1C;
  --dark-border: #2A2A2A;
  --text-primary: #F5F5F5;
  --text-secondary: #A0A0A0;
  --text-muted: #666;
  --gold: #FFD700;
  --wa-green: #25D366;
  --gradient-red: linear-gradient(135deg, #C0392B, #E74C3C);
  --gradient-dark: linear-gradient(135deg, #141414, #1C1C1C);
  --gradient-hero: linear-gradient(135deg, #0D0D0D 0%, #1a0808 50%, #0D0D0D 100%);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-red: 0 8px 32px rgba(192, 57, 43, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  /* Toggle specific */
  --toggle-track-bg: #2A2A2A;
  --toggle-thumb-bg: #C0392B;
  --toggle-text: #A0A0A0;
}

/* ===== CSS VARIABLES — LIGHT ===== */
[data-theme="light"] {
  --dark: #F4F4F2;
  --dark-card: #FFFFFF;
  --dark-elevated: #EAEAEA;
  --dark-border: #D5D5D5;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #888;
  --gradient-hero: linear-gradient(135deg, #F4F4F2 0%, #fde8e6 50%, #F4F4F2 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.1);
  --shadow-red: 0 8px 32px rgba(192, 57, 43, 0.25);
  /* Toggle specific */
  --toggle-track-bg: #E0E0E0;
  --toggle-thumb-bg: #F5F5F5;
  --toggle-text: #4A4A4A;
}

/* Light mode — specific overrides */
[data-theme="light"] body {
  background: var(--dark);
  color: var(--text-primary);
}
[data-theme="light"] .navbar.scrolled {
  background: rgba(244, 244, 242, 0.95);
}
[data-theme="light"] .navbar:not(.scrolled) {
  background: rgba(244,244,242,0.7);
  backdrop-filter: blur(12px);
}
[data-theme="light"] .logo-main { color: #1A1A1A; }
[data-theme="light"] .nav-link { color: #4A4A4A; }
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active { color: #1A1A1A; background: rgba(0,0,0,0.05); }
[data-theme="light"] .hamburger span { background: #1A1A1A; }
[data-theme="light"] .hero-badge {
  background: rgba(192,57,43,0.08);
  border-color: rgba(192,57,43,0.2);
}
[data-theme="light"] .hero-title { color: #1A1A1A; }
[data-theme="light"] .hero-desc { color: #4A4A4A; }
[data-theme="light"] .stat-number { color: #1A1A1A; }
[data-theme="light"] .hero-badge-float {
  background: rgba(255,255,255,0.95);
  border-color: #D5D5D5;
  color: #1A1A1A;
}
[data-theme="light"] .brand-bar {
  background: #FFFFFF;
  border-color: #D5D5D5;
}
[data-theme="light"] .brand-bar-item { color: #4A4A4A; }
[data-theme="light"] .brand-bar-dot { background: #D5D5D5; }
[data-theme="light"] .layanan { background: #F4F4F2; }
[data-theme="light"] .layanan-card {
  background: #FFFFFF;
  border-color: #D5D5D5;
}
[data-theme="light"] .layanan-card h3 { color: #1A1A1A; }
[data-theme="light"] .layanan-card p,
[data-theme="light"] .layanan-features li { color: #4A4A4A; }
[data-theme="light"] .layanan-icon {
  background: rgba(192,57,43,0.08);
}
[data-theme="light"] .produk { background: #EAEAEA; }
[data-theme="light"] .produk-card { background: #FFFFFF; }
[data-theme="light"] .produk-info h3 { color: #1A1A1A; }
[data-theme="light"] .produk-info p { color: #4A4A4A; }
[data-theme="light"] .proses { background: #F4F4F2; }
[data-theme="light"] .proses-step {
  background: #FFFFFF;
  border-color: #D5D5D5;
}
[data-theme="light"] .proses-step h3 { color: #1A1A1A; }
[data-theme="light"] .proses-step p { color: #4A4A4A; }
[data-theme="light"] .step-icon { background: rgba(192,57,43,0.08); }
[data-theme="light"] .testimoni { background: #EAEAEA; }
[data-theme="light"] .rating-big {
  background: #FFFFFF;
  border-color: rgba(255,215,0,0.3);
}
[data-theme="light"] .rating-count { color: #4A4A4A; }
[data-theme="light"] .testi-card {
  background: #FFFFFF;
  border-color: #D5D5D5;
}
[data-theme="light"] .testi-card.featured-testi {
  background: linear-gradient(135deg, rgba(192,57,43,0.05) 0%, #FFFFFF 100%);
  border-color: rgba(192,57,43,0.2);
}
[data-theme="light"] .testi-text { color: #4A4A4A; }
[data-theme="light"] .testi-author { border-top-color: #D5D5D5; }
[data-theme="light"] .testi-info strong { color: #1A1A1A; }
[data-theme="light"] .testi-info span { color: #888; }
[data-theme="light"] .testi-google-link a {
  background: #FFFFFF;
  border-color: #D5D5D5;
  color: #4A4A4A;
}
[data-theme="light"] .kontak { background: #F4F4F2; }
[data-theme="light"] .kontak-card {
  background: #FFFFFF;
  border-color: #D5D5D5;
}
[data-theme="light"] .kontak-card h4 { color: #888; }
[data-theme="light"] .kontak-card p,
[data-theme="light"] .kontak-card span { color: #1A1A1A; }
[data-theme="light"] .kontak-map {
  background: #FFFFFF;
  border-color: #D5D5D5;
}
[data-theme="light"] .map-header h3 { color: #1A1A1A; }
[data-theme="light"] .map-header p { color: #888; }
[data-theme="light"] .map-overlay-btn {
  background: rgba(255,255,255,0.95);
  border-color: #D5D5D5;
  color: #1A1A1A;
}
[data-theme="light"] .cta-section { background: #EAEAEA; border-color: #D5D5D5; }
[data-theme="light"] .cta-content h2 { color: #1A1A1A; }
[data-theme="light"] .cta-content p { color: #4A4A4A; }
[data-theme="light"] .btn-outline-white {
  color: #1A1A1A;
  border-color: #D5D5D5;
}
[data-theme="light"] .btn-outline-white:hover { border-color: var(--red); color: var(--red-light); }
[data-theme="light"] .footer { background: #E0E0E0; }
[data-theme="light"] .footer-top { background: #FFFFFF; border-bottom: 1px solid #D5D5D5; }
[data-theme="light"] .footer-logo-main { color: #1A1A1A; }
[data-theme="light"] .footer-tagline,
[data-theme="light"] .footer-rating span { color: #888; }
[data-theme="light"] .footer-links h4,
[data-theme="light"] .footer-contact h4 { color: #1A1A1A; }
[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-contact-item { color: #888; }
[data-theme="light"] .footer-bottom { border-top-color: #D5D5D5; }
[data-theme="light"] .footer-bottom p { color: #888; }
[data-theme="light"] .nav-links {
  background: transparent;
}
[data-theme="light"] .section-title { color: #1A1A1A; }
[data-theme="light"] .section-desc { color: #4A4A4A; }
[data-theme="light"] .btn-outline {
  color: #1A1A1A;
  border-color: #D5D5D5;
}
[data-theme="light"] .btn-outline:hover { border-color: var(--red); color: var(--red-light); }
[data-theme="light"] .hero-gradient {
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(192,57,43,0.06) 0%, transparent 70%);
}

/* ===== GLOBAL TRANSITION for theme switch ===== */
body, .navbar, .layanan-card, .testi-card, .kontak-card, .proses-step,
.produk-card, .footer, .brand-bar, .cta-section, .rating-big {
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--dark-border);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 14px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.logo-sub {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 10px;
  color: var(--red-light);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.btn-wa-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--wa-green);
  color: white;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-wa-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  background: #20bd5a;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 120px 48px 80px;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(192, 57, 43, 0.08) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 20% 80%, rgba(192, 57, 43, 0.05) 0%, transparent 60%);
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  font-family: var(--font-main);
  animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title-accent {
  background: var(--gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-green);
  color: white;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 50px;
  border: 1px solid var(--dark-border);
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red-light);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-main);
  font-size: 32px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--dark-border);
}

/* Hero Image */
.hero-image-wrap {
  position: relative;
  z-index: 2;
  animation: fadeInRight 0.8s ease 0.2s both;
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(192, 57, 43, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.hero-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card), 0 0 60px rgba(192, 57, 43, 0.1);
  position: relative;
  z-index: 1;
}

.hero-badge-float {
  position: absolute;
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--dark-border);
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-main);
  z-index: 3;
  box-shadow: var(--shadow-card);
  animation: float 3s ease-in-out infinite;
}

.badge-float-1 {
  top: 24px;
  right: -20px;
  color: var(--gold);
  animation-delay: 0s;
}

.badge-float-2 {
  bottom: 40px;
  left: -20px;
  color: var(--wa-green);
  animation-delay: 1.5s;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: bounce 2s infinite;
}

/* ===== BRAND BAR ===== */
.brand-bar {
  background: var(--dark-elevated);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 20px 0;
}

.brand-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.brand-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.brand-bar-dot {
  width: 4px;
  height: 4px;
  background: var(--dark-border);
  border-radius: 50%;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  background: rgba(192, 57, 43, 0.12);
  border: 1px solid rgba(192, 57, 43, 0.3);
  color: var(--red-light);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== LAYANAN ===== */
.layanan {
  background: var(--dark);
}

.layanan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.layanan-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.layanan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-red);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.layanan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 57, 43, 0.3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(192, 57, 43, 0.1);
}

.layanan-card:hover::before {
  transform: scaleX(1);
}

.layanan-card.featured {
  background: var(--gradient-red);
  border-color: transparent;
  color: white;
}

.layanan-card.featured::before {
  display: none;
}

.layanan-card.featured:hover {
  box-shadow: var(--shadow-red);
  border-color: transparent;
}

.layanan-badge-popular {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-main);
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.layanan-icon {
  width: 64px;
  height: 64px;
  background: rgba(192, 57, 43, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent, #C0392B);
  transition: var(--transition);
}

.layanan-card.featured .layanan-icon {
  background: rgba(255,255,255,0.15);
  color: white;
}

.layanan-card h3 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.layanan-card.featured h3 { color: white; }

.layanan-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.layanan-card.featured p { color: rgba(255,255,255,0.85); }

.layanan-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.layanan-features li {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.layanan-card.featured .layanan-features li { color: rgba(255,255,255,0.85); }

/* ===== PRODUK ===== */
.produk {
  background: var(--dark-elevated);
}

.produk-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.produk-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  background: var(--dark-card);
}

.produk-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.produk-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.produk-card.large .produk-img-wrap {
  aspect-ratio: 3/2;
}

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

.produk-card:hover .produk-img-wrap img {
  transform: scale(1.05);
}

.produk-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.produk-card:hover .produk-overlay {
  opacity: 1;
}

.produk-tag {
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-main);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.produk-cta {
  background: white;
  color: var(--dark);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 50px;
  transition: var(--transition);
}

.produk-cta:hover {
  background: var(--red);
  color: white;
}

.produk-info {
  padding: 16px 20px;
}

.produk-info h3 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.produk-info p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===== PROSES ===== */
.proses {
  background: var(--dark);
}

.proses-flow {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.proses-step {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.proses-step:hover {
  border-color: rgba(192, 57, 43, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: white;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 800;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: rgba(192, 57, 43, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--red-light);
}

.proses-step h3 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.proses-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.proses-arrow {
  color: var(--red);
  font-size: 24px;
  margin-top: 60px;
  align-self: flex-start;
  flex-shrink: 0;
}

.proses-cta-wrap {
  text-align: center;
}

/* ===== TESTIMONI ===== */
.testimoni {
  background: var(--dark-elevated);
}

.rating-overview {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.rating-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--dark-card);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-xl);
  padding: 32px 48px;
}

.rating-number {
  font-family: var(--font-main);
  font-size: 56px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.rating-stars {
  display: flex;
  gap: 4px;
}

.rating-count {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.testimoni-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.testi-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testi-card:hover {
  border-color: rgba(192, 57, 43, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.testi-card.featured-testi {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  background: linear-gradient(135deg, rgba(192,57,43,0.08) 0%, var(--dark-card) 100%);
  border-color: rgba(192, 57, 43, 0.2);
}

.testi-quote {
  font-size: 80px;
  font-family: serif;
  color: rgba(192, 57, 43, 0.3);
  line-height: 0.5;
  height: 40px;
}

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

.testi-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.featured-testi .testi-text {
  font-size: 16px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--dark-border);
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
}

.testi-info strong {
  display: block;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.testi-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.testi-google-link {
  text-align: center;
  margin-top: 40px;
}

.testi-google-link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 50px;
  transition: var(--transition);
}

.testi-google-link a:hover {
  border-color: rgba(66, 133, 244, 0.3);
  color: #4285F4;
  transform: translateY(-2px);
}

/* ===== KONTAK ===== */
.kontak {
  background: var(--dark);
}

.kontak-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.kontak-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kontak-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.kontak-card:hover {
  border-color: rgba(192, 57, 43, 0.2);
}

.kontak-icon {
  width: 44px;
  height: 44px;
  background: rgba(192, 57, 43, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  flex-shrink: 0;
}

.kontak-card h4 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kontak-card p, .kontak-card span {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.6;
}

.kontak-link {
  display: inline-block;
  color: var(--red-light);
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  transition: var(--transition);
}

.kontak-link:hover {
  color: var(--red);
}

.jam-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jam-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  gap: 16px;
}

.jam-time {
  font-weight: 700;
  font-family: var(--font-main);
  color: var(--text-primary);
}

.jam-row.closed .jam-time {
  color: var(--text-muted);
}

.kontak-map {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-header {
  padding: 20px 24px 12px;
}

.map-header h3 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.map-header p {
  font-size: 13px;
  color: var(--text-muted);
}

.map-embed {
  position: relative;
}

.map-overlay-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--dark-border);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.kontak-map a:hover .map-overlay-btn {
  background: var(--red);
  border-color: var(--red);
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: var(--dark-elevated);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(192, 57, 43, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-main);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--wa-green);
  color: white;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 16px;
  padding: 18px 36px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
}

.btn-primary-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(37, 211, 102, 0.5);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 16px;
  padding: 18px 36px;
  border-radius: 50px;
  border: 1px solid var(--dark-border);
  transition: var(--transition);
}

.btn-outline-white:hover {
  border-color: var(--red);
  color: var(--red-light);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  background: #080808;
}

.footer-top {
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-main {
  display: block;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 14px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.footer-logo-sub {
  display: block;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 10px;
  color: var(--red-light);
  letter-spacing: 1px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-stars {
  display: flex;
  gap: 2px;
}

.footer-rating span {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links h4 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--red-light);
  transform: translateX(4px);
  display: inline-block;
}

.footer-contact h4 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-contact-item a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-contact-item a:hover {
  color: var(--wa-green);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--dark-border);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== FLOATING WA ===== */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  position: fixed;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 48px rgba(37, 211, 102, 0.6);
}

.wa-float-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--wa-green);
  z-index: -1;
  animation: pulse-ring 2s ease-out infinite;
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--dark-border);
  border-radius: 50px;
  padding: 6px 12px 6px 6px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  color: var(--toggle-text);
}

.theme-toggle:hover {
  border-color: var(--red);
  transform: scale(1.04);
}

/* The pill track */
.theme-toggle-track {
  width: 44px;
  height: 24px;
  background: var(--toggle-track-bg);
  border-radius: 50px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.4s ease;
}

/* The sliding thumb */
.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--toggle-thumb-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.4s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Dark mode: moon on left */
[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(0);
}
/* Light mode: sun slides right */
[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(20px);
  background: #F5A623;
}

/* Toggle icon visibility */
.icon-moon, .icon-sun { position: absolute; transition: opacity 0.3s ease; }
[data-theme="dark"] .icon-moon { opacity: 1; color: white; }
[data-theme="dark"] .icon-sun { opacity: 0; }
[data-theme="light"] .icon-moon { opacity: 0; }
[data-theme="light"] .icon-sun { opacity: 1; color: white; }

/* Toggle label text */
.theme-toggle-label {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--toggle-text);
  transition: color 0.4s ease;
  white-space: nowrap;
}

/* Track color per theme */
[data-theme="dark"] .theme-toggle-track { background: #2A2A2A; }
[data-theme="light"] .theme-toggle-track { background: #d0e8ff; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 100px 32px 60px;
    min-height: auto;
  }

  .hero-content { order: 1; }
  .hero-image-wrap { order: 2; max-width: 560px; margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-scroll-indicator { display: none; }
  .badge-float-1 { right: 0; }
  .badge-float-2 { left: 0; }

  .layanan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border-left: 1px solid var(--dark-border);
    gap: 4px;
  }

  [data-theme="light"] .nav-links {
    background: rgba(244, 244, 242, 0.98);
    border-left-color: #D5D5D5;
  }

  .nav-links.open { right: 0; }

  .nav-link {
    width: 100%;
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--dark-border);
    border-radius: 0;
  }

  .btn-wa-nav {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
  }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  .hero { padding: 80px 20px 48px; gap: 32px; }
  .hero-badge-float { display: none; }

  .brand-bar-container { gap: 16px; }
  .brand-bar-dot { display: none; }

  .layanan-grid { grid-template-columns: 1fr; gap: 16px; }

  .produk-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .produk-card.large .produk-img-wrap { aspect-ratio: 16/9; }

  .proses-flow {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .proses-arrow { display: none; }
  .proses-step { max-width: 100%; min-width: auto; width: 100%; }

  .testimoni-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .testi-card.featured-testi { grid-row: auto; }

  .kontak-layout { grid-template-columns: 1fr; }

  .cta-buttons { flex-direction: column; align-items: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  .wa-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .theme-toggle-label { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 80px 16px 40px; }
  .hero-stats { gap: 20px; }
  .stat-number { font-size: 24px; }
  .container { padding: 0 16px; }
  .nav-container { padding: 0 16px; }
  .rating-big { padding: 24px 32px; }
  .rating-number { font-size: 48px; }
}
