/* ===== BASE & RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239c8a76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

/* ===== NAVBAR ===== */
#navbar { background: transparent; }
#navbar.scrolled { background: rgba(253, 248, 240, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 20px rgba(0,0,0,0.06); }
.nav-link { position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: #C1694F; border-radius: 2px; transition: width 0.3s ease; }
.nav-link:hover::after { width: 100%; }

/* ===== HERO ===== */
#hero { background: linear-gradient(160deg, #FDF8F0 0%, #FCE4D9 50%, #FDF9EE 100%); }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(24px); animation: fadeUp 0.8s ease forwards; }
.fade-in:nth-child(2) { animation-delay: 0.15s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.45s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.4s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.5s; }

/* ===== MOBILE MENU ===== */
.mobile-link { border-bottom: 1px solid #f5f0ea; }
.mobile-link:last-child { border-bottom: none; }

/* ===== SERVICE CARDS ===== */
.service-card { position: relative; overflow: hidden; }
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #C1694F, #e2b04a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }

/* ===== BUTTONS ===== */
button, a[role="button"] { cursor: pointer; }

/* ===== FORM ===== */
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(193, 105, 79, 0.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .font-serif { font-size: 1.75rem; }
  #hero h1 { font-size: 2.5rem; }
}
