/* ── Base & Utilities ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { overflow-x: hidden; }

/* ── Navbar ── */
.nav-fixed {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 39, 68, 0.06);
  transition: box-shadow 0.3s ease;
}
.nav-fixed.scrolled {
  box-shadow: 0 4px 24px rgba(13, 24, 41, 0.08);
}
.nav-logo-text {
  transition: color 0.3s ease;
}
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4a843;
  border-radius: 1px;
  transition: width 0.25s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* ── Buttons ── */
.btn-gold {
  background: #d4a843;
  color: #0d1829;
  transition: all 0.25s ease;
}
.btn-gold:hover {
  background: #c49a35;
  box-shadow: 0 8px 32px rgba(212, 168, 67, 0.35);
}
.btn-navy {
  background: #0d1829;
  color: #ffffff;
  transition: all 0.25s ease;
}
.btn-navy:hover {
  background: #1a2744;
  box-shadow: 0 8px 32px rgba(13, 24, 41, 0.3);
}
.btn-outline-gold {
  transition: all 0.25s ease;
}

/* ── Badges ── */
.badge-gold {
  background: rgba(212, 168, 67, 0.12);
  color: #9a7824;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
}

/* ── Input Fields ── */
.input-field {
  background: #ffffff;
  transition: all 0.2s ease;
}
.input-field:focus {
  border-color: #d4a843;
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}
.input-field::placeholder {
  color: #94a3b8;
}

/* ── Service Cards ── */
.service-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(26, 39, 68, 0.06);
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(13, 24, 41, 0.04);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 24, 41, 0.1);
  border-color: rgba(212, 168, 67, 0.2);
}
.card-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.service-card:hover .card-icon-wrap {
  transform: scale(1.05) rotate(-2deg);
}

/* ── Testimonial Cards ── */
.testimonial-card {
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(13, 24, 41, 0.08);
}

/* ── FAQ ── */
.faq-item {
  transition: box-shadow 0.2s ease;
}
.faq-item:hover {
  box-shadow: 0 4px 16px rgba(13, 24, 41, 0.06);
}
.faq-btn:hover .faq-icon {
  transform: rotate(90deg);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-content.open {
  max-height: 200px;
}
.faq-icon {
  transition: transform 0.25s ease;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero Background ── */
.hero-bg {
  transition: transform 8s ease;
}
.hero-section:hover .hero-bg {
  transform: scale(1.03);
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── Mobile Menu ── */
.mobile-menu {
  animation: slideDown 0.25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-menu.hidden {
  display: none;
}
.mobile-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(26, 39, 68, 0.06);
}
.mobile-link:last-child {
  border-bottom: none;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .nav-fixed {
    background: rgba(255, 255, 255, 0.97);
  }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .scroll-indicator {
    animation: none;
  }
}
