/* ===== Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* ===== Simple Animations ===== */
.anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-anim.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-child.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Section Labels ===== */
.section-label {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c45a2d;
}

/* ===== Navbar ===== */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #c45a2d;
}

.mobile-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.3s ease;
  display: block;
}

.mobile-link:hover {
  color: #c45a2d;
}

/* ===== Hero Stat Cards ===== */
.hero-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
}

.hero-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #c45a2d;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* ===== Service Cards (Bento) ===== */
.service-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  border-color: rgba(196, 90, 45, 0.3);
  transform: translateY(-4px);
}

.service-card.featured {
  border-color: rgba(196, 90, 45, 0.2);
  background: linear-gradient(135deg, rgba(196, 90, 45, 0.05) 0%, #1a1a1a 100%);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(196, 90, 45, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #c45a2d;
}

/* ===== Equipment Stats ===== */
.equip-stat {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}

.equip-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #c45a2d;
  line-height: 1;
}

.equip-stat-suffix {
  font-size: 1.5rem;
}

.equip-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
}

/* ===== Feature Cards ===== */
.feature-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(196, 90, 45, 0.25);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(196, 90, 45, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #c45a2d;
}

/* ===== Process Timeline ===== */
.timeline-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(196, 90, 45, 0.15);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  gap: 0;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Alternate sides */
.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: calc(50% - 36px);
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.3s ease;
}

.timeline-content:hover {
  border-color: rgba(196, 90, 45, 0.25);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: #0a0a0a;
  border: 2px solid rgba(196, 90, 45, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: #c45a2d;
}

.timeline-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #c45a2d;
}

.timeline-icon {
  color: #c45a2d;
  margin-bottom: 12px;
}

/* Mobile: single column */
@media (max-width: 768px) {
  .timeline-wrap::before {
    left: 24px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 60px;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-dot {
    left: 24px;
    width: 40px;
    height: 40px;
    top: 24px;
  }
}

/* ===== Testimonials ===== */
.testimonial-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.testimonial-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: white;
}

.testimonial-role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

/* ===== Contact Info ===== */
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c45a2d;
}

/* ===== Scroll to Top ===== */
#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ===== Form Success ===== */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  background: rgba(196, 90, 45, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #c45a2d;
}

/* ===== Reduced Motion ===== */
@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;
  }

  .anim, .hero-anim, .stagger-child {
    opacity: 1 !important;
    transform: none !important;
  }
}