/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', system-ui, sans-serif; color: #2D2D2D; background: #FDF8F4; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Scroll-reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
/* If JS is disabled or prefers-reduced-motion, content is always visible */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ── Header ── */
#site-header {
  background: rgba(253, 248, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 170, 150, 0.15);
  transition: box-shadow 0.3s ease;
}
#site-header.scrolled {
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2D2D2D;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #E86A5B;
  border-radius: 1px;
  transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover { color: #E86A5B; }
.nav-link:hover::after { width: 100%; }

/* ── Mobile menu ── */
.mobile-nav-link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #2D2D2D;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav-link:hover { background: #FFF3F0; color: #E86A5B; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #FDF8F4 0%, #FFF3F0 50%, #F5E6E0 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,170,150,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,170,150,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #E86A5B;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: #D4513E;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 106, 91, 0.3);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #2D2D2D;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 1.5px solid rgba(45, 45, 45, 0.2);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-secondary:hover {
  border-color: #E86A5B;
  color: #E86A5B;
  transform: translateY(-2px);
}

/* ── Inputs ── */
.input-field {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E8E4DF;
  border-radius: 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: #2D2D2D;
  background: #FDF8F4;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.input-field::placeholder { color: #B0A89F; }
.input-field:focus {
  border-color: #E86A5B;
  box-shadow: 0 0 0 3px rgba(232, 106, 91, 0.12);
}

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: #E86A5B;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(232, 106, 91, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  z-index: 40;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: #D4513E; }

/* ── Responsive tweaks ── */
@media (max-width: 640px) {
  .hero h1 { font-size: 2.5rem; }
}
