/* Contact form — success confirmation */
.lmyc-contact-form-section__panel {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.lmyc-contact-form-section--sent .lmyc-contact-form-section__head,
.lmyc-contact-form-section--sent .lmyc-contact-form-section__panel {
  display: none;
}

.lmyc-contact-sent {
  display: none;
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.lmyc-contact-form-section--sent .lmyc-contact-sent {
  display: block;
  animation: lmyc-contact-sent-in 0.5s ease both;
}

.lmyc-contact-sent__card {
  max-width: 36rem;
  margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 3.6rem) clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  border-radius: 1.6rem;
  border: 1px solid rgba(66, 89, 54, 0.14);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1.6rem 4.4rem rgba(66, 89, 54, 0.1);
}

.lmyc-contact-sent__icon {
  width: 6.5rem;
  height: 6.5rem;
  margin: 0 auto 1.6rem;
}

.lmyc-contact-sent__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lmyc-contact-sent__circle {
  fill: none;
  stroke: #425936;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  transform-origin: 50% 50%;
  animation: lmyc-contact-check-circle 0.55s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.lmyc-contact-sent__check {
  fill: none;
  stroke: #425936;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: lmyc-contact-check-path 0.4s 0.45s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.lmyc-contact-sent__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading-family);
  font-size: clamp(2rem, 2.6vw, 2.5rem);
  line-height: 1.25;
  color: #425936;
}

.lmyc-contact-sent__text {
  margin: 0 0 1.8rem;
  font-size: 1.42rem;
  line-height: 1.65;
  color: rgba(47, 61, 40, 0.82);
}

.lmyc-contact-sent__again {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16rem;
  padding: 1rem 1.8rem;
  border: 1px solid rgba(66, 89, 54, 0.28);
  border-radius: 999px;
  background: transparent;
  color: #425936;
  font: inherit;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lmyc-contact-sent__again:hover,
.lmyc-contact-sent__again:focus-visible {
  background: rgba(66, 89, 54, 0.08);
  border-color: rgba(66, 89, 54, 0.45);
  transform: translateY(-1px);
  outline: none;
}

@keyframes lmyc-contact-sent-in {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lmyc-contact-check-circle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes lmyc-contact-check-path {
  to {
    stroke-dashoffset: 0;
  }
}
