/* ========================================
   AHASS Naga Sakti - Premium Theme
   ======================================== */

:root {
  --primary: #CC0000;
  --primary-dark: #990000;
  --primary-light: #E63939;
  --primary-glow: rgba(204, 0, 0, 0.25);
  --accent: #FFD700;
  --accent-dark: #FFA500;
  --dark: #0f0f0f;
  --dark-2: #1a1a2e;
  --dark-3: #16213e;
  --gray: #6b7280;
  --gray-light: #f0f2f5;
  --gray-lighter: #f8f9fa;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 25px 80px rgba(0, 0, 0, 0.2);
  --shadow-red: 0 8px 30px rgba(204, 0, 0, 0.3);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;
  --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

p {
  text-align: justify;
}

.section-header p {
  text-align: center;
}

.hero-subtitle {
  text-align: left;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar-top {
  background: linear-gradient(90deg, var(--dark) 0%, #1a1a2e 50%, var(--dark) 100%);
  padding: 7px 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.navbar-top::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
  opacity: 0.4;
}

.navbar-top .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
}

.top-left {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-left span,
.top-right a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.top-left svg,
.top-right svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--primary-light);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-right a {
  color: var(--primary-light);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 8px;
  transition: var(--transition);
}

.top-right a:hover {
  color: var(--white);
  background: rgba(204, 0, 0, 0.2);
}

.navbar-main {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 1000;
}

.navbar-main::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 20%, var(--accent) 50%, var(--primary) 80%, transparent 100%);
  background-size: 200% 100%;
  animation: navBorderShimmer 6s ease-in-out infinite;
}

@keyframes navBorderShimmer {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
}

.navbar-main.scrolled {
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.1);
}

.navbar-main.scrolled .nav-container {
  height: 68px;
}

.navbar-main.scrolled .nav-logo-img {
  width: 50px;
  height: 50px;
}

.navbar-main.scrolled .nav-logo span {
  font-size: 1.2rem;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 1;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.5px;
  text-decoration: none;
  margin-right: 20px;
  flex-shrink: 0;
}

.nav-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 900;
  box-shadow: var(--shadow-red);
  transition: var(--transition);
}

.nav-logo-img {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
}

.nav-logo:hover .nav-logo-img {
  transform: rotate(-5deg) scale(1.05);
  border-color: rgba(204, 0, 0, 0.2);
  box-shadow: 0 4px 20px rgba(204, 0, 0, 0.15);
}

.nav-logo span {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  text-transform: uppercase;
  filter: drop-shadow(0 2px 4px rgba(204, 0, 0, 0.15));
  white-space: nowrap;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: font-size 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  padding: 6px 11px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.8rem;
  transition: var(--transition);
  color: var(--gray);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  letter-spacing: -0.2px;
}

.nav-menu a svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: var(--transition);
  opacity: 0.5;
}

.nav-menu a:hover svg,
.nav-menu a.active svg {
  opacity: 1;
  stroke: var(--primary);
  transform: scale(1.1);
}

.nav-menu a:hover {
  color: var(--primary);
  background: rgba(204, 0, 0, 0.06);
}

.nav-menu a.active {
  color: var(--primary);
  background: rgba(204, 0, 0, 0.08);
  font-weight: 600;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 50%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
  user-select: none;
}

.nav-dropdown-toggle .chevron {
  width: 12px !important;
  height: 12px !important;
  transition: transform 0.25s ease;
  opacity: 0.6 !important;
}

.nav-dropdown:hover > .nav-dropdown-toggle .chevron,
.nav-dropdown-active .nav-dropdown-toggle .chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
  list-style: none;
  padding: 8px;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown-active > .nav-dropdown-menu,
.nav-dropdown.active > .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 14px !important;
  font-size: 0.85rem !important;
  border-radius: 10px;
  color: var(--gray) !important;
  background: transparent !important;
  transition: all 0.2s ease;
  gap: 6px;
  white-space: nowrap;
}

.nav-dropdown-menu li a:hover {
  background: rgba(204, 0, 0, 0.06) !important;
  color: var(--primary) !important;
}

.nav-dropdown-menu li a.active {
  background: rgba(204, 0, 0, 0.08) !important;
  color: var(--primary) !important;
  font-weight: 600 !important;
}

.nav-dropdown-menu li a::after {
  display: none !important;
}

.nav-dropdown-menu li + li {
  margin-top: 2px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.25);
  transition: var(--transition) !important;
  position: relative;
  overflow: hidden;
  margin-left: 6px !important;
  gap: 5px !important;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.nav-cta:hover::before {
  left: 100%;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 8px 25px rgba(204, 0, 0, 0.4) !important;
}

.nav-cta svg {
  width: 14px !important;
  height: 14px !important;
  stroke: #fff !important;
}

.nav-cta::after {
  display: none !important;
}

/* Menu stagger animation */
.nav-menu > li {
  animation: menuSlideIn 0.5s ease forwards;
  opacity: 0;
}

.nav-menu > li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu > li:nth-child(2) { animation-delay: 0.15s; }
.nav-menu > li:nth-child(3) { animation-delay: 0.2s; }
.nav-menu > li:nth-child(4) { animation-delay: 0.25s; }

@keyframes menuSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
  padding: 8px;
  border-radius: 10px;
  transition: var(--transition);
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: var(--primary);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0) translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: var(--primary);
}

.hamburger:hover {
  background: rgba(204, 0, 0, 0.06);
}

.hamburger:hover span {
  background: var(--primary);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  --glow-x: 50%;
  --glow-y: 50%;
  background: linear-gradient(160deg, #0f0f0f 0%, #1a0000 30%, #330000 60%, #1a0000 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ========== ANIMATED WORKSHOP BG ========== */
.hero-workshop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hw-mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 60% 50% at 15% 25%, rgba(204,0,0,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 75%, rgba(255,180,0,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 55% 15%, rgba(204,0,0,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 30% 80%, rgba(255,215,0,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 55% 55% at 70% 40%, rgba(204,0,0,0.07) 0%, transparent 60%);
  animation: meshDrift 20s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  25%  { transform: translate(3%, -2%) rotate(0.5deg) scale(1.02); }
  50%  { transform: translate(-2%, 3%) rotate(-0.3deg) scale(1.04); }
  75%  { transform: translate(1%, -1%) rotate(0.2deg) scale(1.01); }
  100% { transform: translate(-1%, 2%) rotate(-0.5deg) scale(1.03); }
}

.hw-hex {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: hexPulse 8s ease-in-out infinite;
}
@keyframes hexPulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.7; }
}

.hw-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.hw-orb-1 {
  width: 500px; height: 500px;
  top: -10%; left: -5%;
  background: radial-gradient(circle, rgba(204,0,0,0.22) 0%, transparent 70%);
  animation: orb1 14s ease-in-out infinite alternate;
}
.hw-orb-2 {
  width: 450px; height: 450px;
  bottom: -15%; right: -5%;
  background: radial-gradient(circle, rgba(255,195,0,0.14) 0%, transparent 70%);
  animation: orb2 18s ease-in-out infinite alternate;
}
.hw-orb-3 {
  width: 350px; height: 350px;
  top: 35%; left: 45%;
  background: radial-gradient(circle, rgba(204,0,0,0.10) 0%, transparent 65%);
  animation: orb3 12s ease-in-out infinite alternate;
}
@keyframes orb1 {
  0%   { transform: translate(0, 0) scale(1); filter: blur(60px) brightness(1); }
  50%  { transform: translate(60px, 40px) scale(1.15); filter: blur(70px) brightness(1.2); }
  100% { transform: translate(30px, 80px) scale(1.05); filter: blur(55px) brightness(0.9); }
}
@keyframes orb2 {
  0%   { transform: translate(0, 0) scale(1); filter: blur(60px) brightness(1); }
  50%  { transform: translate(-50px, -40px) scale(1.1); filter: blur(70px) brightness(1.3); }
  100% { transform: translate(-80px, -20px) scale(1.05); filter: blur(50px) brightness(1); }
}
@keyframes orb3 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -50px) scale(1.2); }
  100% { transform: translate(-30px, 30px) scale(0.9); }
}

.hw-traces {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hw-trace {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}
.hw-trace-1 { animation: traceDraw 8s ease-in-out 1s infinite; }
.hw-trace-2 { animation: traceDraw 10s ease-in-out 3s infinite; }
.hw-trace-3 { animation: traceDraw 12s ease-in-out 5s infinite; }
@keyframes traceDraw {
  0%   { stroke-dashoffset: 2000; opacity: 0; }
  5%   { opacity: 1; }
  50%  { stroke-dashoffset: 0; opacity: 1; }
  95%  { opacity: 1; }
  100% { stroke-dashoffset: -2000; opacity: 0; }
}

.hw-junc {
  opacity: 0;
  animation: juncPulse 3s ease-in-out infinite;
}
.hw-junc-1 { animation-delay: 0s; }
.hw-junc-2 { animation-delay: 0.5s; }
.hw-junc-3 { animation-delay: 1s; }
.hw-junc-4 { animation-delay: 1.5s; }
.hw-junc-5 { animation-delay: 2s; }
.hw-junc-6 { animation-delay: 2.5s; }
@keyframes juncPulse {
  0%, 100% { opacity: 0; }
  50%      { opacity: 1; }
}

.hw-led {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  overflow: hidden;
}
.hw-led::before {
  content: '';
  position: absolute;
  top: 0; left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(204,0,0,0.6), rgba(255,215,0,0.4), rgba(204,0,0,0.6), transparent);
  border-radius: 1px;
}
.hw-led-top {
  top: 30%;
  opacity: 0;
  animation: ledFade 6s ease-in-out infinite;
}
.hw-led-top::before { animation: ledChase 4s linear infinite; }
.hw-led-bottom {
  top: 70%;
  opacity: 0;
  animation: ledFade 6s ease-in-out 3s infinite;
}
.hw-led-bottom::before { animation: ledChase 5s linear 1s infinite reverse; }
@keyframes ledFade {
  0%, 100% { opacity: 0; }
  30%, 70% { opacity: 1; }
}
@keyframes ledChase {
  0%   { left: -30%; }
  100% { left: 130%; }
}

.hw-center-gear {
  position: absolute;
  width: 500px; height: 500px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  animation: gearSpin 60s linear infinite;
}

.hw-gear {
  position: absolute;
}
.hw-gear-1 {
  width: 220px; height: 220px;
  top: -40px; right: -30px;
  animation: gearSpin 30s linear infinite;
}
.hw-gear-2 {
  width: 160px; height: 160px;
  bottom: -20px; left: 5%;
  animation: gearSpin 22s linear infinite reverse;
}
@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hw-streak {
  position: absolute;
  height: 1px;
  border-radius: 1px;
  opacity: 0;
}
.hw-streak-1 {
  top: 25%; left: -20%; width: 50%;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.3), rgba(255,215,0,0.05), transparent);
  animation: streakSweep 7s ease-in-out infinite;
}
.hw-streak-2 {
  top: 50%; left: 50%; width: 55%;
  background: linear-gradient(90deg, transparent, rgba(204,0,0,0.35), rgba(204,0,0,0.05), transparent);
  animation: streakSweep 9s ease-in-out 2.5s infinite;
}
.hw-streak-3 {
  top: 72%; left: 10%; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.15), transparent);
  animation: streakSweep 11s ease-in-out 5s infinite;
}
@keyframes streakSweep {
  0%   { transform: translateX(-130%); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateX(450%); opacity: 0; }
}

.hw-scanline {
  position: absolute;
  top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, rgba(204,0,0,0.04) 15%, rgba(204,0,0,0.2) 50%, rgba(204,0,0,0.04) 85%, transparent);
  box-shadow: 0 0 40px 8px rgba(204,0,0,0.06), 0 0 100px 25px rgba(204,0,0,0.03);
  animation: scanMove 8s ease-in-out infinite;
}
@keyframes scanMove {
  0%   { left: -2%; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { left: 102%; opacity: 0; }
}

.hw-sparks {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hw-spark {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  opacity: 0;
  animation: sparkRise var(--dur) ease-out var(--delay) infinite;
}
.hw-spark--gold {
  background: #ffd700;
  box-shadow: 0 0 6px 2px rgba(255,215,0,0.7), 0 0 12px 4px rgba(255,215,0,0.3);
}
.hw-spark--red {
  background: #ff3333;
  box-shadow: 0 0 6px 2px rgba(255,50,50,0.7), 0 0 12px 4px rgba(255,50,50,0.3);
}
.hw-spark--white {
  background: #ffffff;
  box-shadow: 0 0 4px 1px rgba(255,255,255,0.8);
}
@keyframes sparkRise {
  0%   { opacity: 0; transform: translateY(0) translateX(0) scale(1); }
  8%   { opacity: 1; }
  70%  { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(calc(-80px - var(--drift))) translateX(var(--xdrift)) scale(0); }
}

.hw-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 65% at 50% 50%, transparent 40%, rgba(10,0,0,0.5) 100%);
}

/* Pulse rings */
.hw-pulse-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(204,0,0,0.15);
  opacity: 0;
}
.hw-pulse-1 { animation: pulseExpand 6s ease-out infinite; }
.hw-pulse-2 { animation: pulseExpand 6s ease-out 2s infinite; }
.hw-pulse-3 { animation: pulseExpand 6s ease-out 4s infinite; }
@keyframes pulseExpand {
  0%   { width: 80px; height: 80px; opacity: 0.5; border-color: rgba(204,0,0,0.3); }
  100% { width: 900px; height: 900px; opacity: 0; border-color: rgba(204,0,0,0); }
}

/* HUD corners */
.hw-hud-corner {
  position: absolute;
  width: 60px; height: 60px;
  z-index: 2;
}
.hw-hud-tl {
  top: 8%; left: 5%;
  border-top: 2px solid rgba(204,0,0,0.2);
  border-left: 2px solid rgba(204,0,0,0.2);
  animation: hudPulse 4s ease-in-out infinite;
}
.hw-hud-tr {
  top: 8%; right: 5%;
  border-top: 2px solid rgba(255,215,0,0.15);
  border-right: 2px solid rgba(255,215,0,0.15);
  animation: hudPulse 4s ease-in-out 1s infinite;
}
.hw-hud-bl {
  bottom: 15%; left: 5%;
  border-bottom: 2px solid rgba(204,0,0,0.2);
  border-left: 2px solid rgba(204,0,0,0.2);
  animation: hudPulse 4s ease-in-out 2s infinite;
}
.hw-hud-br {
  bottom: 15%; right: 5%;
  border-bottom: 2px solid rgba(255,215,0,0.15);
  border-right: 2px solid rgba(255,215,0,0.15);
  animation: hudPulse 4s ease-in-out 3s infinite;
}
@keyframes hudPulse {
  0%, 100% { opacity: 0.3; width: 60px; height: 60px; }
  50%      { opacity: 1; width: 80px; height: 80px; }
}

/* Film grain noise */
.hw-noise {
  position: absolute;
  inset: -50%;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.5;
  animation: noiseShift 0.5s steps(5) infinite;
  pointer-events: none;
}
@keyframes noiseShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-5%, -5%); }
  40%  { transform: translate(3%, -8%); }
  60%  { transform: translate(-7%, 2%); }
  80%  { transform: translate(5%, 6%); }
  100% { transform: translate(0, 0); }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 450px at var(--glow-x) var(--glow-y), rgba(204, 0, 0, 0.14) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  transition: background 0.3s ease;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 85%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 215, 0, 0.5);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ========== MODERN WORKSHOP BACKGROUND ========== */
@media (max-width: 992px) {
  .hw-center-gear { width: 350px; height: 350px; }
  .hw-gear-1 { width: 160px; height: 160px; }
  .hw-gear-2 { width: 120px; height: 120px; }
  .hw-hud-corner { width: 45px; height: 45px; }
}
@media (max-width: 768px) {
  .hw-center-gear { width: 280px; height: 280px; opacity: 0.35; }
  .hw-gear-1 { width: 130px; height: 130px; }
  .hw-gear-2 { width: 90px; height: 90px; }
  .hw-orb-1 { width: 320px; height: 320px; }
  .hw-orb-2 { width: 280px; height: 280px; }
  .hw-orb-3 { width: 220px; height: 220px; }
  .hw-hud-corner { width: 40px; height: 40px; }
  .hw-traces { opacity: 0.6; }
  .hw-noise { opacity: 0.3; }
  .hw-hex { display: none; }
}
@media (max-width: 576px) {
  .hw-center-gear { width: 180px; height: 180px; opacity: 0.25; }
  .hw-gear-1 { width: 90px; height: 90px; }
  .hw-gear-2 { width: 65px; height: 65px; }
  .hw-orb-1 { width: 250px; height: 250px; filter: blur(45px); }
  .hw-orb-2 { width: 220px; height: 220px; filter: blur(45px); }
  .hw-orb-3 { width: 180px; height: 180px; filter: blur(40px); }
  .hw-led { display: none; }
  .hw-hud-corner { display: none; }
  .hw-traces { display: none; }
  .hw-noise { opacity: 0.25; }
  .hw-streak-1 { width: 70%; }
  .hw-streak-3 { display: none; }
  .hw-pulse-ring { border-width: 0.5px; }
  .hw-scanline { width: 1px; }
}

.hero-content {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 120px;
}

.hero-text {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  animation: fadeInDown 0.8s ease forwards;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff88;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 10px #00ff88;
  }

  50% {
    opacity: 0.5;
    box-shadow: 0 0 20px #00ff88;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.hero h1 {
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 28px;
  letter-spacing: -2px;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .line-anim {
  animation: lineReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i) * 0.15s + 0.2s);
  opacity: 0;
  transform: translateY(100%);
}

@keyframes lineReveal {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), #ff6666, #ff3333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  filter: drop-shadow(0 0 20px rgba(204, 0, 0, 0.3));
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), #ff6666, transparent);
  border-radius: 3px;
  animation: underlineGrow 0.8s ease 0.8s forwards;
  transform: scaleX(0);
  transform-origin: left;
}

@keyframes underlineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::after {
  opacity: 1;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

.btn-red {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-red:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(204, 0, 0, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--dark);
  font-weight: 700;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.35);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease 0.4s both;
  position: relative;
}

.hero-card-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.25) 0%, transparent 70%);
  filter: blur(40px);
  animation: heroCardGlow 4s ease-in-out infinite;
  z-index: 0;
}

@keyframes heroCardGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 44px;
  width: 100%;
  max-width: 440px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(204, 0, 0, 0.2), 0 0 40px rgba(204, 0, 0, 0.1);
  border-color: rgba(204, 0, 0, 0.3);
}

.hero-card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: cardShine 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cardShine {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.hero-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.15), rgba(204, 0, 0, 0.05));
  border: 1px solid rgba(204, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  animation: float 4s ease-in-out infinite;
}

.hero-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-card>p {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hero-stats .stat {
  text-align: center;
  padding: 15px 5px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-stats .stat:hover {
  transform: translateY(-4px);
  border-color: rgba(204, 0, 0, 0.3);
}

.hero-stats .stat h2 {
  font-size: 1.9rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stats .stat p {
  font-size: 0.72rem;
  opacity: 0.6;
  margin-bottom: 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero floating badges */
.hero-float {
  position: absolute;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(204, 0, 0, 0.25);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  animation: float 5s ease-in-out infinite;
  z-index: 2;
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-float:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(204, 0, 0, 0.5);
}


.hero-float-2 {
  top: 20%;
  right: 3%;
  animation-delay: 1.5s;
}

.hero-float .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(204, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-float .text {
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-float .sub {
  font-size: 0.68rem;
  opacity: 0.6;
  font-weight: 400;
}

/* ========== SECTIONS COMMON ========== */
.section {
  padding: 110px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 65px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(204, 0, 0, 0.06);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.section-header h2 {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.section-header h2 span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== SERVICES ========== */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid #f0f0f0;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  cursor: pointer;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
  pointer-events: none;
  z-index: 2;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.02), transparent);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.08), rgba(204, 0, 0, 0.03));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  transform: scale(1.1) rotate(-3deg);
  box-shadow: var(--shadow-red);
}

.service-card:hover .service-icon span {
  filter: brightness(10) drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
  position: relative;
  z-index: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.service-card .price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.06), rgba(204, 0, 0, 0.02));
  color: var(--primary);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
  transition: var(--transition);
  align-self: flex-start;
}

.service-card:hover .price {
  background: var(--primary);
  color: var(--white);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* ========== SERVICE MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.service-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: fadeInUp 0.35s ease;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gray-light);
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--gray);
}

.modal-close:hover {
  background: var(--primary);
  color: var(--white);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.1), rgba(204, 0, 0, 0.03));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.modal-header h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.modal-price {
  display: inline-block;
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.8;
  text-align: justify;
  white-space: pre-line;
  margin-bottom: 24px;
}

.modal-section {
  margin-bottom: 24px;
}

.modal-section h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.modal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--gray-light);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--dark);
  font-weight: 500;
}

.modal-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  width: 22px;
  height: 22px;
  background: rgba(204, 0, 0, 0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.modal-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--gray-light);
  border-radius: 12px;
}

.modal-meta-icon {
  font-size: 1.5rem;
}

.modal-meta-item small {
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 2px;
}

.modal-meta-item strong {
  font-size: 0.88rem;
  color: var(--dark);
}

.modal-book-btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
  text-decoration: none;
}

/* ========== ABOUT ========== */
.about {
  background: linear-gradient(180deg, var(--gray-lighter) 0%, var(--white) 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-img-box {
  width: 100%;
  height: 460px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-main-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.about-images.has-1 {
  grid-template-columns: 1fr;
}

.about-img-item {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-images.has-1 .about-img-item {
  height: 460px;
}

.about-img-item img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-img-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.about-img-box::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

.about-float-card {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--white);
  border-radius: 20px;
  padding: 22px 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: float 4s ease-in-out infinite;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.about-float-card .icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.1), rgba(204, 0, 0, 0.03));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.about-float-card .text h4 {
  font-size: 1.3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-float-card .text p {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
}

.about-text h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 22px;
  color: var(--dark);
  letter-spacing: -1px;
  line-height: 1.2;
}

.about-text h2 span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text>p {
  color: var(--gray);
  margin-bottom: 28px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 35px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  transition: var(--transition);
  background: rgba(204, 0, 0, 0.03);
}

.about-feature:hover {
  background: rgba(204, 0, 0, 0.08);
  transform: translateX(5px);
}

.about-feature .check {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  flex-shrink: 0;
  font-weight: 700;
  box-shadow: var(--shadow-red);
}

.about-feature span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

/* ========== GALLERY ========== */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, #e8e8e8, #f5f5f5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gal-fallback {
  font-size: 2.5rem;
  z-index: 1;
  position: relative;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:hover {
  transform: scale(1.02);
  z-index: 1;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.9) 0%, rgba(15, 15, 15, 0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.gallery-overlay .arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  transform: translate(-10px, 10px);
  transition: var(--transition);
}

.gallery-item:hover .arrow {
  transform: translate(0, 0);
}

/* ========== PROMO ========== */
.promo {
  background: linear-gradient(180deg, var(--gray-lighter) 0%, var(--white) 100%);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid #f0f0f0;
}

.promo-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.promo-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.promo-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.promo-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-fallback {
  font-size: 3.5rem;
  position: relative;
  z-index: 0;
}

.promo-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.promo-body {
  padding: 28px;
}

.promo-date {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.promo-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
  line-height: 1.4;
}

.promo-body p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 18px;
  line-height: 1.7;
}

.promo-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.promo-link:hover {
  gap: 14px;
  color: var(--primary-dark);
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: linear-gradient(160deg, #0f0f0f 0%, #1a0000 50%, #0f0f0f 100%);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.08) 0%, transparent 70%);
}

.testimonials .section-header h2 {
  color: var(--white);
}

.testimonials .section-header h2 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonials .section-header p {
  color: rgba(255, 255, 255, 0.5);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(204, 0, 0, 0.15);
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(204, 0, 0, 0.2);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 18px;
  letter-spacing: 3px;
}

.testimonial-card>p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow-red);
}

.testimonial-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.testimonial-info p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  font-style: normal;
  margin-bottom: 0;
  font-weight: 500;
}

/* ========== CONTACT ========== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: var(--gray-lighter);
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
}

.contact-item:hover {
  transform: translateX(8px);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: #f0f0f0;
}

.contact-item-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.08), rgba(204, 0, 0, 0.02));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-item-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: var(--shadow-red);
}

.contact-item:hover .contact-item-icon span {
  filter: brightness(10);
}

.contact-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--dark);
}

.contact-item p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

.contact-item a {
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--primary-dark);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.contact-form h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--dark);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--gray-lighter);
  color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(204, 0, 0, 0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ========== MAP ========== */
.map-section {
  padding: 0;
}

.map-container {
  width: 100%;
  height: 420px;
  background: #e0e0e0;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 100%);
  color: var(--white);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204, 0, 0, 0.3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 45px;
  padding-bottom: 55px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo-img {
  height: 22px;
  width: auto;
  border-radius: 6px;
  flex-shrink: 0;
}

.footer-brand h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 18px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand h3 span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
  line-height: 1.8;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--white);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.footer-bottom {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
  color: var(--primary-light);
  font-weight: 600;
}

/* ========== WHATSAPP FLOATING ========== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: waPulse 2s infinite;
  text-decoration: none;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes waPulse {
  0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-red);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(204, 0, 0, 0.5);
}

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children>* {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: staggerFallback 0s ease 3s forwards;
}

@keyframes staggerFallback {
  to { opacity: 1; transform: translateY(0); }
}

.stagger-children.visible>* {
  animation: none;
}

.stagger-children.visible>*:nth-child(1) {
  transition-delay: 0.1s;
}

.stagger-children.visible>*:nth-child(2) {
  transition-delay: 0.2s;
}

.stagger-children.visible>*:nth-child(3) {
  transition-delay: 0.3s;
}

.stagger-children.visible>*:nth-child(4) {
  transition-delay: 0.4s;
}

.stagger-children.visible>*:nth-child(5) {
  transition-delay: 0.5s;
}

.stagger-children.visible>*:nth-child(6) {
  transition-delay: 0.6s;
}

.stagger-children.visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-height: 700px) and (min-width: 768px) {
  .hero {
    min-height: 100vh;
  }

  .hero-content {
    padding-top: 80px;
    gap: 32px;
  }

  .hero-badge {
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: 2.4rem;
    margin-bottom: 8px;
  }

  .hero-subtitle {
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .hero-card {
    padding: 24px;
  }

  .hero-stats .stat h2 {
    font-size: 1.4rem;
  }

  .hero-stats .stat p {
    font-size: 0.75rem;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-float {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-top {
    display: none;
  }

  .nav-container {
    height: 64px;
  }

  .nav-logo-img {
    width: 44px;
    height: 44px;
  }

  .nav-logo span {
    font-size: 1rem;
    max-width: 160px;
  }

  .navbar-main.scrolled .nav-container {
    height: 56px;
  }

  .navbar-main.scrolled .nav-logo-img {
    width: 38px;
    height: 38px;
  }

  .navbar-main.scrolled .nav-logo span {
    font-size: 0.9rem;
    min-width: 500px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 90px 24px 30px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    align-items: flex-start;
    gap: 2px;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav-overlay.active {
    display: block;
    opacity: 1;
  }

  .nav-menu a {
    width: 100%;
    padding: 13px 18px;
    font-size: 0.95rem;
    border-radius: 12px;
    gap: 10px;
  }

  .nav-menu a svg {
    width: 18px;
    height: 18px;
    opacity: 0.5;
  }

  .nav-menu a:hover svg,
  .nav-menu a.active svg {
    opacity: 1;
  }

  .nav-menu a::after {
    display: none;
  }

  /* Mobile dropdown */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
    padding: 4px 0 4px 12px;
    min-width: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
    padding: 0 0 0 12px;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown.mobile-open > .nav-dropdown-menu {
    opacity: 1;
    max-height: 300px;
    padding: 4px 0 4px 12px;
  }

  .nav-dropdown-toggle .chevron {
    margin-left: auto;
  }

  .nav-dropdown.mobile-open > .nav-dropdown-toggle .chevron {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu li a {
    padding: 10px 14px !important;
    font-size: 0.88rem !important;
    gap: 8px;
  }

  .nav-dropdown-menu li + li {
    margin-top: 1px;
  }

  .nav-menu .nav-divider {
    display: none !important;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 8px;
    text-align: center;
    justify-content: center;
    display: flex !important;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .hero-card {
    padding: 28px;
    max-width: 360px;
    margin: 0 auto;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 180px);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section {
    padding: 80px 0;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .service-modal {
    padding: 28px;
  }

  .modal-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 0 50px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 6px 14px;
  }

  .hero-card {
    padding: 24px;
    max-width: 320px;
  }

  .hero-card h3 {
    font-size: 1.1rem;
  }

  .hero-card p {
    font-size: 0.85rem;
  }

  .hero-stats .stat h2 {
    font-size: 1.3rem;
  }

  .hero-stats .stat p {
    font-size: 0.7rem;
  }

  .hero-buttons .btn {
    max-width: 260px;
    padding: 12px 20px;
    font-size: 0.88rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 160px);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .contact-form {
    padding: 28px;
  }
}

/* ========== MOBILE RESPONSIVE (GLOBAL) ========== */

/* Fix modals on mobile */
@media (max-width: 576px) {
  .modal-overlay {
    padding: 12px;
    align-items: flex-end;
  }
  .service-modal {
    padding: 28px 20px;
    max-height: 90vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-width: 100%;
  }
  .modal-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  .modal-header {
    flex-direction: column;
    gap: 12px;
  }
  .modal-header h2 {
    font-size: 1.2rem;
  }
  .modal-price {
    font-size: 0.85rem;
  }
  .modal-desc {
    font-size: 0.88rem;
  }
  .modal-list li {
    font-size: 0.85rem;
    padding-left: 28px;
  }
  .modal-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .modal-book-btn {
    font-size: 0.9rem;
    padding: 14px 20px;
  }

  #galleryModalImgWrap img {
    max-height: 220px !important;
  }
  #galleryModalFallback {
    font-size: 60px !important;
  }
  #promoModalImgWrap img {
    max-height: 220px !important;
  }

  .hero-card {
    padding: 20px;
    max-width: 100%;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .hero-stats .stat {
    padding: 10px 4px;
  }
  .hero-stats .stat h2 {
    font-size: 1.1rem;
  }
  .hero-stats .stat p {
    font-size: 0.6rem;
  }

  .section {
    padding: 60px 0;
  }
  .section-header h2 {
    font-size: 1.5rem;
  }
  .section-header p {
    font-size: 0.88rem;
  }
  .section-tag {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .service-card {
    padding: 24px 20px;
  }
  .service-card::before {
    transform: scaleX(1);
  }
  .service-card h3 {
    font-size: 1.1rem;
  }
  .service-card p {
    font-size: 0.88rem;
  }

  .promo-card {
    padding: 24px 20px;
  }

  .testimonial-grid {
    gap: 16px;
  }

  .contact-form {
    padding: 24px 18px;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
  .contact-info {
    padding: 24px 18px;
  }

  .footer-brand {
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-col {
    text-align: center;
  }
  .footer-col ul {
    align-items: center;
  }

  .gallery-overlay {
    opacity: 1;
  }
  .gallery-overlay .arrow {
    transform: translate(0, 0);
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }
  .gallery-overlay h4 {
    font-size: 0.88rem;
  }
  .gallery-overlay p {
    font-size: 0.72rem;
  }
  .gallery-overlay {
    padding: 14px;
  }

  .about-content {
    gap: 30px;
  }
  .about-features {
    gap: 10px;
  }
  .about-feature {
    padding: 12px;
    font-size: 0.88rem;
  }

  .map-container {
    height: 280px;
  }

  .navbar-main .nav-container {
    padding: 0 16px;
  }
  .nav-logo span {
    font-size: 1rem;
    max-width: 120px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }

  .booking-steps {
    margin-bottom: 24px;
  }
  .step-label {
    font-size: 0.65rem;
  }
  .step-number {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  .booking-steps::before {
    left: 30px;
    right: 30px;
  }

  .booking-nav {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .booking-nav .btn {
    min-width: 100%;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.4rem;
  }
  .hero-badge {
    font-size: 0.65rem;
    padding: 5px 10px;
  }
  .hero-buttons .btn {
    max-width: 100%;
    font-size: 0.82rem;
    padding: 11px 16px;
  }
  .hero-card h3 {
    font-size: 1rem;
  }
  .hero-stats .stat h2 {
    font-size: 0.95rem;
  }
  .hero-stats .stat p {
    font-size: 0.55rem;
  }
  .service-card h3 {
    font-size: 1rem;
  }
  /* ===== GALERI SLIDER (geser / swipe) ===== */
.gallery-grid {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 16px;
  padding: 4px 4px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(204, 0, 0, 0.35) transparent;
  cursor: grab;
}
.gallery-grid::-webkit-scrollbar {
  height: 6px;
}
.gallery-grid::-webkit-scrollbar-track {
  background: transparent;
}
.gallery-grid::-webkit-scrollbar-thumb {
  background: rgba(204, 0, 0, 0.35);
  border-radius: 99px;
}
.gallery-grid.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.gallery-grid .gallery-item {
  flex: 0 0 auto;
  width: clamp(240px, 28vw, 340px);
  height: 240px;
  scroll-snap-align: start;
}
.gallery-item:nth-child(1) {
  grid-column: auto;
  grid-row: auto;
}
.gallery-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.gallery-nav-btn {
  width: 52px;
  height: 52px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(204, 0, 0, 0.35);
}
.gallery-nav-btn svg {
  width: 22px;
  height: 22px;
}
.gallery-nav-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(204, 0, 0, 0.45);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}
.gallery-nav-btn:active {
  transform: translateY(0) scale(0.95);
}
.gallery-nav-btn:focus-visible {
  outline: 3px solid var(--primary-glow);
  outline-offset: 2px;
}
@media (max-width: 768px) {
  .gallery-grid .gallery-item {
    width: 78vw;
    height: 220px;
  }
  .gallery-nav-btn {
    width: 46px;
    height: 46px;
  }
  .gallery-nav-btn svg {
    width: 19px;
    height: 19px;
  }
}
}

/* ========== PERFORMANCE OPTIMIZATION ========== */
/* Hapus layer dekoratif hero yang berat di layar kecil (HP) */
@media (max-width: 768px) {
  .hw-mesh,
  .hw-hex,
  .hw-orb,
  .hw-traces,
  .hw-junc,
  .hw-led,
  .hw-center-gear,
  .hw-gear,
  .hw-streak,
  .hw-scanline,
  .hw-spark,
  .hw-noise,
  .hw-pulse-ring,
  .hw-hud-corner,
  .hw-vignette,
  .hero-particles {
    display: none !important;
  }

  /* backdrop-filter sangat berat di HP */
  .hero-card,
  .hero-badge,
  .hero-float {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .hero-card-glow {
    display: none;
  }

  .hero-card-shine {
    animation: none !important;
  }

  .hero-card,
  .hero-float,
  .hero-badge {
    animation: none !important;
  }
}

/* Hormati preferensi pengguna: matikan animasi/transisi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
