html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Linseed', system-ui, sans-serif;
}

.multicolor-gradient {
  background:
    radial-gradient(circle at 15% 20%, rgba(242, 140, 40, .30), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(128, 90, 213, .24), transparent 28%),
    radial-gradient(circle at 70% 75%, rgba(47, 128, 237, .20), transparent 32%),
    radial-gradient(circle at 15% 85%, rgba(47, 191, 113, .18), transparent 28%),
    linear-gradient(135deg, #fff7ec 0%, #fff 48%, #fff5f0 100%);
}

header.multicolor-gradient {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

header.multicolor-gradient > nav,
header.multicolor-gradient > section {
  position: relative;
  z-index: 1;
}

header.multicolor-gradient::before,
header.multicolor-gradient::after {
  content: '';
  position: absolute;
  inset: -40%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 22% 34%, rgba(242, 140, 40, .50), transparent 68%),
    radial-gradient(closest-side at 66% 24%, rgba(128, 90, 213, .40), transparent 70%),
    radial-gradient(closest-side at 78% 72%, rgba(47, 128, 237, .36), transparent 68%),
    radial-gradient(closest-side at 28% 80%, rgba(47, 191, 113, .36), transparent 70%);
  filter: blur(26px);
  opacity: .92;
  transform-origin: 50% 50%;
  will-change: transform, border-radius, opacity, filter;
}

header.multicolor-gradient::before {
  animation: gradient-pulse 7.5s cubic-bezier(.45, 0, .22, 1) infinite;
  border-radius: 42% 58% 54% 46% / 48% 42% 58% 52%;
}

header.multicolor-gradient::after {
  animation: gradient-pulse-alt 9s cubic-bezier(.45, 0, .22, 1) infinite;
  border-radius: 58% 42% 44% 56% / 42% 56% 44% 58%;
  opacity: .58;
  mix-blend-mode: soft-light;
}

@keyframes gradient-pulse {
  0%, 100% {
    transform: translate3d(-5%, -3%, 0) rotate(-4deg) scale(1);
    border-radius: 42% 58% 54% 46% / 48% 42% 58% 52%;
    opacity: .74;
    filter: blur(30px) saturate(1.05);
  }
  18% {
    transform: translate3d(2%, 2%, 0) rotate(7deg) scale(1.12, .94);
    border-radius: 56% 44% 38% 62% / 36% 62% 38% 64%;
    opacity: 1;
    filter: blur(16px) saturate(1.55);
  }
  36% {
    transform: translate3d(7%, -4%, 0) rotate(-9deg) scale(.96, 1.16);
    border-radius: 34% 66% 62% 38% / 64% 32% 68% 36%;
    opacity: .84;
  }
  58% {
    transform: translate3d(-2%, 5%, 0) rotate(11deg) scale(1.18, .92);
    border-radius: 62% 38% 44% 56% / 44% 68% 32% 56%;
    opacity: 1;
    filter: blur(16px) saturate(1.62);
  }
  78% {
    transform: translate3d(6%, 3%, 0) rotate(3deg) scale(.98, 1.08);
    border-radius: 46% 54% 66% 34% / 58% 40% 60% 42%;
    opacity: .82;
  }
}

@keyframes gradient-pulse-alt {
  0%, 100% {
    transform: translate3d(7%, 3%, 0) rotate(16deg) scale(1.08);
    opacity: .44;
  }
  22% {
    transform: translate3d(-4%, 8%, 0) rotate(2deg) scale(.94, 1.2);
    opacity: .94;
  }
  48% {
    transform: translate3d(-9%, -5%, 0) rotate(24deg) scale(1.18, .9);
    opacity: .52;
  }
  70% {
    transform: translate3d(4%, -7%, 0) rotate(10deg) scale(1.03, 1.16);
    opacity: .96;
  }
}

@media (prefers-reduced-motion: reduce) {
  header.multicolor-gradient::before,
  header.multicolor-gradient::after {
    animation: none;
  }
}

.text-balance {
  text-wrap: balance;
}

.glass-panel {
  background: rgba(255, 255, 255, .46);
  border: 1px solid rgba(255, 255, 255, .58);
  box-shadow: 0 18px 60px rgba(43, 26, 18, 0.10), inset 0 1px 0 rgba(255, 255, 255, .58);
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

.glass-panel-soft {
  background: rgba(255, 255, 255, .38);
  border: 1px solid rgba(255, 255, 255, .52);
  box-shadow: 0 14px 44px rgba(43, 26, 18, 0.08), inset 0 1px 0 rgba(255, 255, 255, .52);
  backdrop-filter: blur(20px) saturate(1.14);
  -webkit-backdrop-filter: blur(20px) saturate(1.14);
}

.ka-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #F28C28, #FF6B6B, #805AD5, #2F80ED, #2FBF71);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.btn-primary,
.btn-secondary {
  position: relative;
  border-radius: 0.625rem;
  border: 1px solid rgba(43, 26, 18, 0.18);
  box-shadow: 0 4px 0 rgba(43, 26, 18, 0.22), 0 14px 34px rgba(43, 26, 18, 0.12);
  transform: translateY(0);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, background-color .16s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(43, 26, 18, 0.22), 0 18px 38px rgba(43, 26, 18, 0.16);
}

.btn-primary:active,
.btn-secondary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(43, 26, 18, 0.22), 0 8px 22px rgba(43, 26, 18, 0.12);
}

.btn-primary {
  background: #F28C28;
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, .92);
  color: #2B1A12;
}

.overview-link {
  border-color: rgba(242, 140, 40, .7);
  color: #F28C28;
}

.accent-announcement {
  color: #F28C28;
}

.btn-primary .btn-icon-circle {
  display: inline-flex;
  width: 1.65rem;
  height: 1.65rem;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'liga';
}

.contact-form {
  display: grid;
  gap: 1.45rem;
}

.field-group {
  display: grid;
  gap: .65rem;
}

.field-group label {
  color: #2B1A12;
  font-weight: 800;
}

.field-group label span,
.agreement em {
  margin-left: .35rem;
  color: #F28C28;
  font-size: .82rem;
  font-style: normal;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(43, 26, 18, .16);
  border-radius: 4px;
  background: rgba(255, 255, 255, .82);
  color: #2B1A12;
  font: inherit;
  line-height: 1.55;
  min-height: 3.25rem;
  padding: .7rem .75rem !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.contact-form input[type="hidden"] {
  display: none;
}

.contact-form select,
.contact-form .form-select {
  display: block !important;
  height: 5.8rem !important;
  min-height: 5.8rem !important;
  padding: 1.7rem 3.25rem 1.7rem .75rem !important;
  line-height: 1.4 !important;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  background-image:
    linear-gradient(45deg, transparent 50%, #2B1A12 50%),
    linear-gradient(135deg, #2B1A12 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) 50%,
    calc(100% - .78rem) 50%;
  background-size: .42rem .42rem, .42rem .42rem;
  background-repeat: no-repeat;
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(242, 140, 40, .78);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 0 0 4px rgba(242, 140, 40, .18), inset 0 1px 0 rgba(255, 255, 255, .85);
  outline: none;
}

.contact-form input[readonly] {
  background: rgba(255, 247, 236, .82);
  color: #57493f;
  cursor: default;
  font-weight: 800;
}

::placeholder {
  color: rgba(87, 73, 63, .58);
}

.agreement {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: #2B1A12;
  font-weight: 800;
  line-height: 1.7;
}

.agreement input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: .28rem;
  flex: 0 0 auto;
  accent-color: #F28C28;
}

.error-message {
  min-height: 0;
  margin: 0;
  color: #b42318;
  font-size: .9rem;
  font-weight: 700;
}

.validator-result-,
.validator-result-1,
.validator-result-success {
  display: none;
}

.validator-result-error,
.validator-result-0 {
  display: block;
}

.form-notice {
  border-left: 4px solid #F28C28;
  background: rgba(255, 247, 236, .74);
  color: #57493f;
  font-weight: 800;
  line-height: 1.8;
  padding: .85rem 1rem;
}

.confirm-view {
  display: grid;
  gap: 1.45rem;
}

.confirm-list {
  display: grid;
  gap: .9rem;
}

.confirm-list div {
  display: grid;
  gap: .45rem;
  border-bottom: 1px solid rgba(43, 26, 18, .12);
  padding-bottom: .9rem;
}

.confirm-list dt {
  color: #F28C28;
  font-size: .85rem;
  font-weight: 800;
}

.confirm-list dd {
  margin: 0;
  color: #2B1A12;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.75;
  text-align: right;
  white-space: pre-wrap;
}

.confirm-actions {
  display: grid;
  gap: 1rem;
  justify-content: center;
  justify-items: center;
}

.confirm-actions form,
.result-actions {
  width: min(100%, 24rem);
}

.result-actions {
  display: grid;
  gap: 1rem;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

.action-button {
  width: min(100%, 24rem);
  min-height: 4.15rem;
}

.actions {
  display: grid;
  justify-content: center;
  justify-items: center;
}

@media (max-width: 640px) {
  .actions,
  .actions button {
    width: 100%;
  }
}
