body {
  background: #0b0b0d url("../images/homepage/01.png") center / cover no-repeat fixed;
  color: #f5f5f7;
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 12, 0.45);
  backdrop-filter: blur(2px);
  z-index: 0;
}


.contact-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: block;
  padding: calc(96px + env(safe-area-inset-top, 0px)) clamp(20px, 4vw, 28px) calc(40px + env(safe-area-inset-bottom, 0px));
  position: relative;
  z-index: 1;
}

.contact-content {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
  min-height: calc(100vh - 160px);
  min-height: calc(100dvh - 160px);
  position: relative;
  z-index: 1;
}

.contact-header {
  max-width: 560px;
  margin-top: 36px;
}

.contact-card {
  align-self: center;
  margin-top: auto;
  margin-bottom: auto;
  width: min(640px, 100%);
  padding: 28px 30px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(20, 22, 28, 0.88), rgba(12, 12, 16, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  position: relative;
}

.contact-card::before {
  content: none;
}

.contact-content h1 {
  margin: 0 0 14px;
  font-size: clamp(42px, 5.4vw, 52px);
  letter-spacing: -0.4px;
}

.contact-content p {
  margin: 0;
  font-size: 21px;
  color: rgba(245, 245, 247, 0.78);
  line-height: 1.7;
}

.contact-list {
  margin-top: 6px;
  display: grid;
  gap: 12px;
  font-size: 19px;
  color: rgba(245, 245, 247, 0.92);
}

.contact-gate {
  display: grid;
  gap: 18px;
}

.contact-gate-copy {
  max-width: 460px;
}

.contact-reveal-form {
  display: grid;
  gap: 16px;
}

.captcha-shell {
  overflow-x: auto;
  padding-bottom: 4px;
}

.captcha-widget {
  min-height: 78px;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-reveal-button {
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #f5f5f7, #cdd2db);
  color: #0c0c10;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.contact-reveal-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.contact-reveal-button:focus-visible {
  outline: 2px solid rgba(245, 245, 247, 0.82);
  outline-offset: 3px;
}

.contact-reveal-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contact-status {
  min-height: 24px;
  margin: 0;
  font-size: 15px;
  color: rgba(245, 245, 247, 0.7);
}

.contact-status.is-error {
  color: #ffb2a6;
}

.contact-status.is-success {
  color: #b9f6d0;
}

.contact-noscript {
  font-size: 15px;
  color: rgba(245, 245, 247, 0.74);
}

.contact-label {
  font-weight: 600;
  color: rgba(245, 245, 247, 0.92);
}

.contact-email {
  font-weight: 500;
  color: rgba(245, 245, 247, 0.92);
}

.contact-email-group {
  display: grid;
  gap: 6px;
}

.contact-email a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 245, 247, 0.28);
  transition: border-color 160ms ease, color 160ms ease;
}

.contact-email a:hover,
.contact-email a:focus-visible {
  color: #ffffff;
  border-color: rgba(245, 245, 247, 0.82);
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(160px, 210px) 1fr;
  column-gap: 14px;
  align-items: baseline;
}

@media (hover: none), (max-width: 1180px) {
  body.page-contact {
    background-attachment: scroll;
  }
}

@media (max-width: 720px) {
  .contact-page {
    padding: calc(110px + env(safe-area-inset-top, 0px)) 20px calc(60px + env(safe-area-inset-bottom, 0px));
  }

  .contact-content h1 {
    font-size: clamp(32px, 7vw, 40px);
  }

  .contact-content p {
    font-size: 17px;
  }

  .contact-card {
    padding: 22px;
    border-radius: 20px;
  }

  .contact-list {
    font-size: 16px;
  }

  .contact-reveal-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .contact-row {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }

  .captcha-widget {
    min-height: 144px;
  }
}
