.contact-page {
  min-height: 100svh;
}

.contact-header .header-action {
  text-decoration: none;
}

.contact-brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 17px;
  filter: drop-shadow(0 7px 12px rgba(74, 44, 59, 0.13));
}

.contact-main {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  min-height: calc(100svh - 170px);
  margin: 0 auto;
  padding: 46px 0 54px;
  place-items: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(74, 44, 59, 0.1);
  border-radius: 34px;
  background: rgba(253, 253, 254, 0.83);
  box-shadow: 0 34px 100px rgba(74, 44, 59, 0.12);
  backdrop-filter: blur(24px);
  animation: contact-reveal 0.8s var(--ease-out) both;
}

.contact-intro {
  display: flex;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  padding: 52px 48px 42px;
  flex-direction: column;
  background:
    radial-gradient(circle at 74% 58%, rgba(255, 255, 255, 0.82), transparent 13rem),
    linear-gradient(145deg, #f9d5df 0%, #f5c1d1 48%, #edabc2 100%);
}

.contact-intro::after {
  position: absolute;
  right: -95px;
  bottom: -145px;
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(74, 44, 59, 0.2);
  border-radius: 50%;
  content: "";
  animation: contact-orbit-spin 28s linear infinite;
}

.contact-kicker {
  display: flex;
  position: relative;
  z-index: 2;
  gap: 10px;
  align-items: center;
  margin: 0;
  color: #8b3f5d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(215, 128, 160, 0.13);
}

.contact-intro h1 {
  position: relative;
  z-index: 2;
  margin: 34px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(46px, 4.7vw, 68px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.contact-intro h1 em {
  color: #b4567a;
  font-weight: 400;
}

.contact-copy {
  position: relative;
  z-index: 2;
  max-width: 390px;
  margin: 23px 0 0;
  color: #684b58;
  font-size: 14px;
  line-height: 1.62;
}

.contact-bunny-wrap {
  display: grid;
  position: relative;
  width: 250px;
  height: 200px;
  margin: 12px auto 4px;
  place-items: center;
}

.contact-bunny-wrap img {
  position: relative;
  z-index: 2;
  width: 164px;
  filter: drop-shadow(0 18px 24px rgba(74, 44, 59, 0.16));
  animation: contact-bunny-hop 3s var(--ease-spring) infinite;
}

.contact-orbit {
  position: absolute;
  border: 1px dashed rgba(74, 44, 59, 0.19);
  border-radius: 50%;
}

.contact-orbit-one {
  width: 185px;
  height: 185px;
  animation: contact-orbit-spin 24s linear infinite;
}

.contact-orbit-two {
  width: 235px;
  height: 115px;
  transform: rotate(-12deg);
  animation: contact-orbit-pulse 3.2s ease-in-out infinite;
}

.contact-delay {
  display: flex;
  position: relative;
  z-index: 2;
  gap: 9px;
  align-items: center;
  margin: auto 0 0;
  color: #714b5c;
  font-size: 10px;
  font-weight: 700;
}

.contact-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6f9e7e;
  box-shadow: 0 0 0 4px rgba(111, 158, 126, 0.14);
}

.contact-panel {
  display: flex;
  min-height: 600px;
  padding: 48px 52px 40px;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.68);
}

.contact-panel-heading p {
  margin: 0 0 9px;
  color: var(--coral);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-panel-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.2vw, 45px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.contact-form {
  display: grid;
  gap: 17px;
  margin-top: 30px;
}

.contact-form[hidden],
.contact-success[hidden] {
  display: none;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-field {
  display: grid;
  gap: 7px;
}

.contact-field label,
.contact-consent span {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(74, 44, 59, 0.14);
  border-radius: 14px;
  outline: 0;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 13px;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.contact-field input,
.contact-field select {
  height: 47px;
  padding: 0 14px;
}

.contact-field textarea {
  min-height: 132px;
  padding: 13px 14px;
  line-height: 1.5;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #a09499;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: rgba(215, 128, 160, 0.72);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(215, 128, 160, 0.1);
}

.contact-select-wrap {
  position: relative;
}

.contact-select-wrap select {
  padding-right: 38px;
  appearance: none;
}

.contact-select-wrap svg {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 17px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  pointer-events: none;
  transform: translateY(-50%);
}

.contact-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-label-row > span {
  color: #a09499;
  font-size: 9px;
  font-weight: 650;
}

.contact-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 1px;
  cursor: pointer;
}

.contact-consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--coral);
  flex: 0 0 16px;
}

.contact-consent span {
  font-size: 9px;
  font-weight: 550;
  line-height: 1.45;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-submit {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 2px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 13px 26px rgba(215, 128, 160, 0.27);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.contact-submit:hover {
  box-shadow: 0 17px 31px rgba(215, 128, 160, 0.34);
  transform: translateY(-2px);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.contact-submit svg {
  width: 17px;
  margin-left: 9px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-submit-loading {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: contact-spinner 0.7s linear infinite;
}

.contact-submit.is-loading {
  pointer-events: none;
}

.contact-submit.is-loading .contact-submit-loading {
  display: block;
}

.contact-submit.is-loading svg {
  display: none;
}

.contact-form-note {
  margin: -4px 0 0;
  color: #93878c;
  font-size: 8px;
  line-height: 1.45;
  text-align: center;
}

.contact-status {
  min-height: 16px;
  margin: -5px 0 0;
  color: #a23f5e;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
}

.contact-success {
  max-width: 380px;
  padding: 18px 0;
  text-align: center;
  animation: contact-success-in 0.6s var(--ease-out) both;
}

.contact-success-visual {
  position: relative;
  width: 210px;
  height: 180px;
  margin: -10px auto 4px;
}

.contact-success-visual > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(74, 44, 59, 0.14));
}

.contact-success-icon {
  display: grid;
  position: absolute;
  right: 19px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #e3f0e7;
  color: #568367;
  place-items: center;
}

.contact-success-icon svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.contact-success > p:not(.contact-panel-heading) {
  margin: 15px 0 26px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.contact-success > a {
  display: inline-flex;
  padding: 11px 18px;
  border: 1px solid rgba(74, 44, 59, 0.18);
  border-radius: 999px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.contact-footer {
  display: flex;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 17px 0 22px;
  border-top: 1px solid var(--line);
  align-items: center;
  gap: 16px;
  color: var(--ink-soft);
  font-size: 9px;
}

.contact-footer > a:first-child {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.contact-footer > a:first-child span {
  color: var(--coral);
}

.contact-footer p {
  margin: 0;
}

.contact-footer-links {
  display: flex;
  gap: 17px;
  margin-left: auto;
}

.contact-footer-links a {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
}

@keyframes contact-reveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
}

@keyframes contact-bunny-hop {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  45% {
    transform: translateY(-8px) rotate(1.5deg);
  }
  58% {
    transform: translateY(-10px) rotate(2deg);
  }
}

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

@keyframes contact-orbit-pulse {
  0%,
  100% {
    opacity: 0.62;
    transform: rotate(-12deg) scale(0.96);
  }
  50% {
    opacity: 1;
    transform: rotate(-12deg) scale(1.03);
  }
}

@keyframes contact-spinner {
  to {
    transform: rotate(360deg);
  }
}

@keyframes contact-success-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@media (max-width: 900px) {
  .contact-main {
    padding-top: 28px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    min-height: auto;
    padding: 38px 34px 24px;
  }

  .contact-intro h1 {
    font-size: 52px;
  }

  .contact-bunny-wrap {
    position: absolute;
    right: 22px;
    bottom: 24px;
    width: 180px;
    height: 155px;
  }

  .contact-bunny-wrap img {
    width: 128px;
  }

  .contact-orbit-one {
    width: 145px;
    height: 145px;
  }

  .contact-orbit-two {
    width: 175px;
    height: 90px;
  }

  .contact-delay {
    margin-top: 112px;
  }

  .contact-panel {
    min-height: auto;
    padding: 38px 34px;
  }
}

@media (max-width: 620px) {
  .contact-header {
    height: 74px;
  }

  .contact-header .brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .contact-header .brand-name {
    font-size: 27px;
  }

  .contact-header .header-action {
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  .contact-header .header-action svg {
    display: block;
    width: 16px;
    margin: 0;
  }

  .contact-main,
  .contact-footer {
    width: min(100% - 28px, 1120px);
  }

  .contact-main {
    padding: 18px 0 34px;
  }

  .contact-layout {
    border-radius: 25px;
  }

  .contact-intro {
    padding: 30px 24px 21px;
  }

  .contact-intro h1 {
    margin-top: 22px;
    font-size: 42px;
  }

  .contact-copy {
    max-width: calc(100% - 105px);
    margin-top: 16px;
    font-size: 12px;
  }

  .contact-bunny-wrap {
    z-index: 2;
    right: 2px;
    bottom: 20px;
    width: 112px;
    height: 125px;
  }

  .contact-bunny-wrap img {
    width: 102px;
  }

  .contact-orbit-one {
    width: 106px;
    height: 106px;
  }

  .contact-orbit-two {
    width: 128px;
    height: 70px;
  }

  .contact-delay {
    max-width: calc(100% - 112px);
    margin-top: 80px;
    font-size: 8px;
  }

  .contact-panel {
    padding: 29px 22px 27px;
  }

  .contact-panel-heading h2 {
    font-size: 35px;
  }

  .contact-form {
    gap: 15px;
    margin-top: 23px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .contact-footer {
    padding-bottom: 17px;
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .contact-footer-links {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    gap: 8px 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-layout,
  .contact-bunny-wrap img,
  .contact-orbit,
  .contact-intro::after,
  .contact-submit-loading,
  .contact-success {
    animation: none;
  }
}
