:root {
  --bg: #070707;
  --panel: #111111;
  --text: #f7f7f7;
  --muted: #a5a5a5;
  --gold: #d4af37;
  --gold-light: #f0d67a;
  --line: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 85% 5%, rgba(212, 175, 55, 0.08), transparent 26%),
    var(--bg);
}

a { color: inherit; }

.container {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--gold);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.back-link {
  color: #c7c7c7;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.contact-hero {
  padding-block: 84px 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.contact-hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.contact-hero > p:last-child {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  padding-bottom: 88px;
}

.contact-form,
.contact-note {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

.contact-form {
  padding: 28px;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.form-row label {
  color: #d5d5d5;
  font-size: 13px;
  font-weight: 800;
}

.form-row input,
.form-row textarea {
  width: 100%;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  outline: none;
  background: #090909;
  font: inherit;
}

.form-row input {
  min-height: 50px;
  padding: 0 14px;
}

.form-row textarea {
  resize: vertical;
  padding: 13px 14px;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.privacy-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin: 4px 0 22px;
  color: var(--muted);
  font-size: 12px;
}

.privacy-check input {
  margin-top: 4px;
}

.submit-button {
  min-height: 50px;
  padding: 0 22px;
  color: #080808;
  border: 0;
  border-radius: 12px;
  background: var(--gold);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  font-size: 13px;
}

.form-status.success { color: #9ed69e; }
.form-status.error { color: #ff9d9d; }

.contact-note {
  align-self: start;
  padding: 26px;
}

.contact-note h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.contact-note p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
}

.hp-field {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.site-footer {
  padding-block: 28px;
  color: #858585;
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.footer-inner strong {
  color: var(--gold);
  letter-spacing: 0.12em;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.footer-meta a {
  color: #b8b8b8;
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--gold-light);
}

@media (max-width: 820px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(100% - 28px, 1080px);
  }

  .contact-hero {
    padding-block: 60px 34px;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}
