/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }
select, input, textarea { font-family: inherit; font-size: inherit; }

/* ── Hero Gradient ── */
.hero-gradient {
  background: linear-gradient(135deg, #C4725A 0%, #D4856A 25%, #E8A878 50%, #D4856A 75%, #C4725A 100%);
}

/* ── Hero Animations ── */
.hero-eyebrow {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}
.hero-title {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}
.hero-subtitle {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}
.hero-cta {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}
.hero-scroll {
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.2s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Navbar ── */
#nav.scrolled {
  background: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
#nav.scrolled .font-serif { color: #3D2F20; }

/* ── Mobile Menu ── */
#mobileMenu.open { opacity: 1; pointer-events: all; }
#mobileMenu.closed { opacity: 0; pointer-events: none; }
.mobile-link { transition: opacity 0.3s ease; }
#mobileMenu.open .mobile-link { animation: fadeUp 0.4s ease forwards; }
#mobileMenu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobileMenu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(5) { animation-delay: 0.25s; }

/* ── Section Eyebrow ── */
.section-eyebrow {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-eyebrow.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section Title ── */
.section-title {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Service Cards ── */
.service-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Gallery Items ── */
.gallery-item {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.gallery-item.visible {
  opacity: 1;
  transform: scale(1);
}

/* ── Testimonial Cards ── */
.testimonial-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── FAQ Items ── */
.faq-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.faq-btn:hover span:first-child { color: #C4725A; }
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-content.open {
  max-height: 200px;
}
.faq-icon svg {
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon svg {
  transform: rotate(45deg);
}

/* ── Button Submit ── */
.btn-submit {
  position: relative;
  overflow: hidden;
}
.btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-submit:hover::after { opacity: 1; }

/* ── 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; }
  .service-card, .gallery-item, .testimonial-card, .faq-item,
  .section-eyebrow, .section-title {
    opacity: 1;
    transform: none;
  }
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .hero-title { font-size: 2.75rem; }
  .section-title { font-size: 2.5rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-title { font-size: 4.5rem; }
}
