/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  color: #4d2841;
  background: #faf4f8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── NAVBAR ─── */
#site-header {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
#site-header.scrolled {
  background: rgba(250, 244, 248, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(77, 40, 65, 0.08);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 1px;
  background: #ffc130;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* ─── MOBILE MENU ─── */
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }

/* ─── FLOATING CARDS ─── */
.floating-card {
  animation: float 6s ease-in-out infinite;
}
.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: -1.5s; }
.card-3 { animation-delay: -3s; }
.card-4 { animation-delay: -4.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal[data-reveal-state="hidden"] {
  opacity: 0;
  transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
}

/* ─── SERVICE CARDS ─── */
.service-card {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
  .service-card {
    opacity: 0;
    transform: translateY(20px);
  }
  .service-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
}

/* ─── FORM ─── */
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='%238a3d74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ─── FOCUS VISIBLE ─── */
:focus-visible {
  outline: 2px solid #ffc130;
  outline-offset: 2px;
}

/* ─── SELECTION ─── */
::selection {
  background: #e8c6df;
  color: #4d2841;
}
