/* Premium footer with refined contact form */
.site-footer {
  background:
    radial-gradient(ellipse at top, rgba(253, 208, 125, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0f0f0f 0%, var(--toned-black) 100%);
  color: var(--text-color);
  padding: clamp(3rem, 8vw, 6rem) 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(253, 208, 125, 0.4), transparent);
}

.footer-container {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.footer-intro {
  text-align: center;
  max-width: 540px;
}

.footer-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.footer-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* Contact form card */
.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.75rem, 5vw, 2.5rem);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(253, 208, 125, 0.12);
  border-radius: 1.25rem;
  backdrop-filter: blur(12px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-2);
}

.form-field input,
.form-field textarea {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: var(--text-color);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: rgba(253, 208, 125, 0.3);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold-2);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(253, 208, 125, 0.12);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

/* Submit button */
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem 1.75rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f0f0f;
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 100%);
  border: none;
  border-radius: 3rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(253, 208, 125, 0.22);
}

.contact-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(253, 208, 125, 0.32);
}

.contact-submit:hover::after {
  opacity: 1;
}

.contact-submit:active {
  transform: translateY(0);
}

.contact-submit span {
  position: relative;
  z-index: 1;
}

.contact-submit svg {
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
  z-index: 1;
}

/* Honeypot fields hidden */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Legal links */
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-legal a {
  color: var(--gold-1);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--gold-2);
  text-decoration: underline;
}

.footer-legal p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.form-error {
  color: #ff8a8a;
  text-align: center;
  padding: 1rem;
}

.contact-form > p {
  margin: 0;
  padding: 1rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-color);
}

.contact-form > p:only-child {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: rgba(253, 208, 125, 0.06);
  border: 1px solid rgba(253, 208, 125, 0.15);
}

@media screen and (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .contact-submit {
    width: auto;
    align-self: center;
    min-width: 260px;
  }
}
