/* wg:design-vars:start */
:root{--wg-surface:#f6f9fc;--wg-surface-alt:#eef2f7;--wg-surface-inverse:#131b26;--wg-ink:#131b26;--wg-ink-muted:#4a596f;--wg-ink-inverse:#f6f9fc;--wg-primary:#5440b1;--wg-primary-hover:#402c8f;--wg-primary-soft:#f8f8ff;--wg-accent:#d08f7f;--wg-accent-soft:#feeeea;--wg-link:#402c8f;--wg-link-inverse:#cfcfff;--wg-line:#dee5ef;--wg-line-inverse:#364356;--wg-primary-on:#ffffff;--wg-accent-on:#050911;--wg-font-display:'Literata', Georgia, 'Times New Roman', serif;--wg-font-body:'Commissioner', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;--wg-radius-ui:9999px;--wg-radius-card:24px;--wg-shadow-card:0 12px 32px -14px rgba(0,0,0,.22);--wg-section:6rem}
/* wg:design-vars:end */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes bloomPop {
  0% { transform: scale(0.9); opacity: 0; }
  60% { transform: scale(1.03); opacity: 1; }
  100% { transform: scale(1); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

body {
  font-family: var(--wg-font-body);
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--wg-font-display);
}

.fade-in-up {
  animation: fadeInUp 0.6s ease both;
}

.section {
  animation: fadeIn 0.5s ease both;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: var(--wg-primary-soft);
  color: var(--wg-ink);
  width: 3rem;
  height: 3rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.icon-badge:hover {
  transform: translateY(-3px) rotate(-4deg);
}

.icon-badge-accent {
  background-color: var(--wg-accent-soft);
}

.badge-floating {
  animation: gentleFloat 4s ease-in-out infinite;
}

.badge-bloom {
  animation: bloomPop 0.5s ease both;
}

.decorative-circle {
  border-radius: 9999px;
  border: 1px dashed var(--wg-line);
}

/* ----- Sticky header ----- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--wg-surface);
  transition: box-shadow 0.3s ease, padding 0.3s ease, background-color 0.3s ease;
}

#site-header.is-scrolled {
  box-shadow: var(--wg-shadow-card);
}

/* ----- Cookie banner ----- */
#cookie-banner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#cookie-banner.cookie-visible {
  opacity: 1;
  visibility: visible;
}

#cookie-banner:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

/* ----- Forms ----- */
input, textarea, select {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--wg-primary);
  box-shadow: 0 0 0 3px var(--wg-primary-soft);
}

input.error, textarea.error, select.error {
  border-color: #dc2626;
  background-color: rgba(220, 38, 38, 0.04);
}

input.error:focus, textarea.error:focus, select.error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  animation: fadeIn 0.3s ease both;
}

.success-message {
  color: #15803d;
  font-size: 0.9rem;
}

/* ----- Back to top ----- */
#back-to-top {
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

#back-to-top:hover {
  transform: translateY(-4px);
}

/* ----- Accordion ----- */
.accordion-header {
  transition: background-color 0.3s ease;
}

.accordion-content {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.accordion-header i {
  transition: transform 0.3s ease;
}

.accordion-header.active i {
  transform: rotate(180deg);
}

/* ----- Mobile menu ----- */
#mobile-menu {
  transition: opacity 0.3s ease;
}

/* ----- Misc hover polish ----- */
a, button {
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.img-frame img {
  transition: transform 0.5s ease;
}

.img-frame:hover img {
  transform: scale(1.04);
}

/* ----- Print ----- */
@media print {
  #site-header,
  #mobile-menu,
  #cookie-banner,
  #back-to-top,
  footer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    padding: 0.5rem 0;
    animation: none;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}