@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
  background-color: #F9FBFB;
  color: #0B3C5D;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Sora', sans-serif;
}

/* Scrolled header */
.header-scrolled {
  background-color: rgba(11, 60, 93, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

/* Active nav link */
a.nav-link.active,
a.mobile-nav-link.active { color: #FF9F1C; }

/* Marquee */
@keyframes esf-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.esf-marquee { animation: esf-marquee 28s linear infinite; }
@media (prefers-reduced-motion: reduce) { .esf-marquee { animation: none; } }

/* Hero entrance */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-animate { animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Toast */
.esf-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 24rem;
  transition: opacity 0.3s ease;
}
.esf-toast--success { background: #0B3C5D; color: #fff; }
.esf-toast--error   { background: #dc2626; color: #fff; }
.esf-toast__title   { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.95rem; }
.esf-toast__msg     { font-size: 0.875rem; opacity: 0.8; margin-top: 0.2rem; }
.esf-toast.fade-out { opacity: 0; }

/* Form */
.form-input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgba(11, 60, 93, 0.2);
  background: #fff;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: #0B3C5D;
  font-family: 'Manrope', sans-serif;
  transition: box-shadow 0.2s, border-color 0.2s;
  outline: none;
}
.form-input:focus { border-color: transparent; box-shadow: 0 0 0 2px #FF9F1C; }
.form-input::placeholder { color: rgba(11, 60, 93, 0.35); }
textarea.form-input { resize: none; }

.field-error { color: #dc2626; font-size: 0.75rem; margin-top: 0.25rem; display: block; }
