.enq {
  position: relative;
}
.enq-stage {
  transition: height 0.56s var(--ease);
  position: relative;
}
.enq-stage > * {
  transition:
    opacity 0.36s var(--ease),
    transform 0.46s var(--ease),
    visibility 0s linear 0.46s;
}
.enq-stage > :not(.is-shown) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto;
  transform: translateY(10px);
}
.enq-stage > .is-shown {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.16s, 0.16s, 0s;
  transform: none;
}
.fm {
  gap: 20px;
  display: grid;
}
.fm-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 14px;
  display: grid;
}
.fld {
  border: 0;
  align-content: start;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: grid;
}
.fld-l {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 0;
  font-size: 0.75rem;
  font-weight: 700;
  display: block;
}
.fld-l i {
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-3);
  margin-left: 4px;
  font-style: normal;
  font-weight: 500;
}
.fld-hint {
  color: var(--ink-2);
  margin-top: -2px;
  font-size: 0.875rem;
}
.fld input:not([type="radio"]):not([type="checkbox"]),
.fld textarea,
.fld .dd-btn,
.fld select {
  border-radius: var(--r-md);
  width: 100%;
  height: 52px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink);
  transition:
    box-shadow var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
  background: #fff;
  border: 0;
  padding: 0 16px;
  font-size: 1rem;
  font-weight: 500;
}
.fld textarea {
  resize: vertical;
  height: auto;
  min-height: 128px;
  padding: 14px 16px;
  line-height: 1.5;
}
.fld input::placeholder,
.fld textarea::placeholder {
  color: var(--ink-3);
  opacity: 1;
}
.fld input:not([type="radio"]):not([type="checkbox"]):hover,
.fld textarea:hover,
.fld .dd-btn:hover {
  box-shadow: inset 0 0 0 1px var(--ink-3);
}
.fld input:not([type="radio"]):not([type="checkbox"]):focus,
.fld textarea:focus,
.fld .dd-btn:focus-visible,
.fld .dd.open .dd-btn {
  box-shadow: inset 0 0 0 2px var(--green-2);
  outline: none;
}
.fld input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
}
.fld input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.55;
  cursor: pointer;
}
.fld-sel {
  cursor: pointer;
  gap: 7px;
  display: grid;
}
.fld select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 44px;
}
.fld .dd {
  display: block;
}
.fld .dd-btn {
  text-align: left;
  align-items: center;
  padding-right: 44px;
  display: flex;
  overflow: hidden;
}
.fld .dd-val {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.fld .dd:after,
.fld-sel:not(:has(.dd)):after {
  content: "";
  border-right: 1.6px solid var(--ink-2);
  border-bottom: 1.6px solid var(--ink-2);
  pointer-events: none;
  width: 7px;
  height: 7px;
  transition: transform var(--t) var(--ease);
  position: absolute;
  top: 50%;
  right: 19px;
  transform: translateY(-70%) rotate(45deg);
}
.fld .dd.open:after {
  transform: translateY(-25%) rotate(-135deg);
}
.fld-sel:not(:has(.dd)) {
  position: relative;
}
.fld-sel:not(:has(.dd)):after {
  top: auto;
  bottom: 22px;
}
.fld .dd-list {
  min-width: 100%;
  top: calc(100% + 6px);
  left: 0;
}
.fld:has(select option[value=""]:checked) .dd-btn {
  color: var(--ink-3);
}
.opts {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}
.opt {
  cursor: pointer;
  display: inline-flex;
  position: relative;
}
.opt input {
  opacity: 0;
  cursor: pointer;
  margin: 0;
  position: absolute;
  inset: 0;
}
.opt > span {
  border-radius: var(--r-md);
  min-height: 46px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition:
    background-color var(--t) var(--ease),
    color var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
  background: #fff;
  align-content: center;
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  display: inline-grid;
}
.opt > span small {
  color: var(--ink-2);
  transition: color var(--t) var(--ease);
  font-size: 0.78rem;
  font-weight: 500;
}
.opt:hover > span {
  box-shadow: inset 0 0 0 1px var(--ink-3);
}
.opt input:checked + span {
  background: var(--green);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--green);
}
.opt input:checked + span small {
  color: #ffffffbf;
}
.opt input:focus-visible + span {
  outline: 2px solid var(--green-2);
  outline-offset: 2px;
}
.fld-err {
  opacity: 0;
  transition:
    grid-template-rows 0.34s var(--ease),
    opacity 0.26s var(--ease),
    margin-top 0.34s var(--ease);
  grid-template-rows: 0fr;
  margin-top: -7px;
  display: grid;
}
.fld-err > span {
  color: #a3261c;
  align-items: baseline;
  gap: 8px;
  min-height: 0;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  overflow: hidden;
}
.fld-err > span:before {
  content: "";
  background: currentColor;
  border-radius: 50%;
  flex: none;
  width: 6px;
  height: 6px;
  transform: translateY(-1px);
}
.fld.is-bad .fld-err {
  opacity: 1;
  grid-template-rows: 1fr;
  margin-top: 0;
}
.fld.is-bad input:not([type="radio"]):not([type="checkbox"]),
.fld.is-bad textarea,
.fld.is-bad .dd-btn {
  box-shadow: inset 0 0 0 2px #c2372c;
}
.fld.is-bad .opt > span {
  box-shadow: inset 0 0 0 1px #c2372c;
}
.fld.is-bad .opt input:checked + span {
  box-shadow: inset 0 0 0 1px var(--green);
}
.fm-foot {
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding-top: 4px;
  display: flex;
}
.fm-status {
  color: var(--ink-2);
  min-height: 1.5em;
  transition: color var(--t) var(--ease);
  flex: 220px;
  font-size: 0.9375rem;
}
.fm-status.is-err {
  color: #a3261c;
  font-weight: 600;
}
.fm-small {
  color: var(--ink-2);
  font-size: 0.8125rem;
}
.fm-small a {
  color: inherit;
}
.btn[data-sending] {
  pointer-events: none;
}
.btn[data-sending] .btn-ico svg {
  opacity: 0;
}
.btn[data-sending] .btn-ico:after {
  content: "";
  border: 2px solid;
  border-right-color: #0000;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  animation: 0.7s linear infinite fm-spin;
  position: absolute;
  inset: 50% auto auto 50%;
}
@keyframes fm-spin {
  to {
    transform: rotate(360deg);
  }
}
.enq-done {
  align-content: start;
  justify-items: start;
  gap: 16px;
  display: grid;
}
.enq-done .h3 {
  color: var(--green-deep);
  outline: none;
}
.enq-done p {
  max-width: 52ch;
  color: var(--ink-2);
}
.enq-done dl {
  border-top: 1px solid #0d2a1c29;
  width: 100%;
  margin: 4px 0;
  display: grid;
}
.enq-done dl div {
  border-bottom: 1px solid #0d2a1c1a;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  font-size: 0.9375rem;
  display: grid;
}
.enq-done dt {
  color: var(--ink-2);
  font-weight: 600;
}
.enq-done dd {
  overflow-wrap: anywhere;
  margin: 0;
  font-weight: 600;
}
.enq-tick {
  border-radius: var(--r-md);
  background: var(--green);
  place-items: center;
  width: 46px;
  height: 46px;
  display: grid;
}
.enq-tick svg {
  width: 22px;
  height: 22px;
}
.enq-tick path {
  fill: none;
  stroke: var(--flag);
  stroke-width: 2.4px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 30;
  stroke-dashoffset: 30px;
}
.is-shown > .enq-tick path,
.is-shown .enq-tick path {
  animation: fm-tick 0.7s var(--ease) 0.42s forwards;
}
@keyframes fm-tick {
  to {
    stroke-dashoffset: 0;
  }
}
.demo-note {
  border-radius: var(--r-md);
  color: var(--ink-2);
  background: #ffffffa8;
  align-items: baseline;
  gap: 10px;
  max-width: 60ch;
  padding: 10px 14px;
  font-size: 0.8125rem;
  line-height: 1.45;
  display: flex;
}
.demo-note:before {
  content: "";
  width: 7px;
  height: 7px;
  box-shadow: inset 0 0 0 1.5px var(--ink-3);
  border-radius: 50%;
  flex: none;
  transform: translateY(-1px);
}
@media (width<=700px) {
  .fm-row {
    grid-template-columns: 1fr;
  }
  .enq-done dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .enq-stage,
  .enq-stage > *,
  .fld-err {
    transition-duration: 1ms !important;
  }
  .enq-tick path {
    stroke-dashoffset: 0;
    animation: none !important;
  }
}
.ph {
  width: 100%;
  aspect-ratio: var(--ar, 3 / 2);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #e6ede0 0%, #dce6d4 100%);
  display: block;
  position: relative;
  overflow: hidden;
}
.ph:before {
  content: "";
  background: repeating-linear-gradient(
    135deg,
    #0d2a1c0b 0 1px,
    #0000 1px 16px
  );
  position: absolute;
  inset: 0;
}
.ph:after {
  content: "";
  opacity: 0.22;
  background:
    linear-gradient(var(--green-deep), var(--green-deep)) 3px 0 / 2px 100%
      no-repeat,
    linear-gradient(var(--green-deep), var(--green-deep)) 5px 2px / 18px 11px
      no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 25% 45%, 25% 100%, 0 100%);
  width: 26px;
  height: 32px;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}
