.site-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #1c2d4f;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  max-width: 320px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.site-toast strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}

[data-slot="accordion-content"] {
  overflow: hidden;
}
.accordion-answer {
  margin: 0;
  padding: 0 0 20px;
  color: #56677e;
  font-size: 15px;
  line-height: 1.6;
}

[data-slot="accordion-trigger"] svg {
  transition: transform 0.2s ease;
}

/* ---------- Forms ---------- */

@keyframes site-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes site-shake {
  10%,
  90% {
    transform: translateX(-1px);
  }
  20%,
  80% {
    transform: translateX(2px);
  }
  30%,
  50%,
  70% {
    transform: translateX(-4px);
  }
  40%,
  60% {
    transform: translateX(4px);
  }
}

/* Newsletter form (dark hero section) */
.site-newsletter-form {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
}
.site-newsletter-form .site-input {
  flex: 1 1 220px;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 15px;
  color: #0f1b2d;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.site-newsletter-form .site-input::placeholder {
  color: #7c8b9e;
}
.site-newsletter-form .site-input:hover {
  border-color: rgba(255, 255, 255, 0.5);
}
.site-newsletter-form .site-input:focus {
  outline: none;
  border-color: #5b8bf0;
  box-shadow: 0 0 0 4px rgba(91, 139, 240, 0.3);
}
.site-newsletter-form .site-input.has-error {
  border-color: #ff8a75;
  box-shadow: 0 0 0 4px rgba(255, 138, 117, 0.25);
  animation: site-shake 0.3s ease;
}
.site-newsletter-form .site-submit {
  border-radius: 999px;
  padding: 14px 30px;
  white-space: nowrap;
}

/* Shared button + input building blocks */
.site-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  background: linear-gradient(135deg, #4c7cf0, #1c2d4f);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 8px 20px rgba(28, 45, 79, 0.25);
}
.site-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(28, 45, 79, 0.35);
}
.site-submit:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(28, 45, 79, 0.3);
}
.site-submit:disabled {
  opacity: 0.75;
  cursor: progress;
}
.site-submit.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: site-spin 0.6s linear infinite;
}

/* Contact form (light card) */
.site-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
}
.site-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.site-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #5b6b81;
  transition: color 0.2s ease;
}
.site-input {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  color: #0f1b2d;
  background: #f8fafc;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.site-input::placeholder {
  color: #9aa8bc;
}
.site-input:hover {
  border-color: #c7d2e0;
}
.site-input:focus {
  outline: none;
  border-color: #4c7cf0;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(76, 124, 240, 0.15);
}
textarea.site-input {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.site-field.has-error .site-input {
  border-color: #e0503b;
  background: #fff5f4;
  animation: site-shake 0.3s ease;
}
.site-field.has-error .site-label {
  color: #e0503b;
}
.site-form .site-submit {
  align-self: flex-start;
  border-radius: 12px;
  padding: 14px 32px;
}

@media (max-width: 640px) {
  .site-form {
    padding: 22px;
    border-radius: 16px;
  }
  .site-form-row {
    grid-template-columns: 1fr;
  }
  .site-newsletter-form {
    flex-direction: column;
  }
  .site-form .site-submit,
  .site-newsletter-form .site-submit {
    width: 100%;
  }
}
