/* Contact page styles (only used on /contact.php) */

.contact-hero {
  position: relative;
  background: #070b16;
  color: #ffffff;
  overflow: hidden;
}

.contact-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 520px at 16% 10%, rgba(238, 46, 43, 0.22), transparent 55%),
    radial-gradient(900px 520px at 86% 35%, rgba(11, 199, 158, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.contact-hero__inner {
  position: relative;
  padding: 74px 0 58px;
}

.contact-hero__simple {
  max-width: 900px;
}

.contact-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-hero__title {
  margin: 14px 0 0;
  font-size: 44px;
  line-height: 1.06;
  font-weight: 900;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

.contact-hero__lead {
  margin: 14px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.80);
  max-width: 70ch;
}

.contact-hero__meta {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-hero__email {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  text-decoration: none;
}

.contact-hero__email:hover {
  color: #ffffff;
  text-decoration: none;
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.contact-card__title {
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.80);
}

.contact-card__value {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 800;
}

.contact-card__value a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.contact-card__value a:hover {
  color: #ffffff;
  text-decoration: none;
}

.contact-card__meta {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 13px;
}

/* Form layout */
.contact-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.contact-form {
  border-radius: 22px;
  background:
    radial-gradient(900px 240px at 18% 0%, rgba(238, 46, 43, 0.08), transparent 55%),
    radial-gradient(700px 220px at 85% 0%, rgba(11, 199, 158, 0.06), transparent 55%),
    #ffffff;
  border: 1px solid rgba(11, 18, 32, 0.10);
  box-shadow: 0 22px 60px rgba(11, 18, 32, 0.12);
  overflow: hidden;
}

.contact-form__head {
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.contact-form__title {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: rgba(11, 18, 32, 0.92);
}

.contact-form__subtitle {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(11, 18, 32, 0.62);
}

.contact-form__badge {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(11, 18, 32, 0.70);
  background: rgba(11, 18, 32, 0.05);
  border: 1px solid rgba(11, 18, 32, 0.08);
}

.contact-form .form__body {
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

/* The base .field in site.css has margin-top; remove it inside our grid */
.contact-form .field {
  margin-top: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(11, 18, 32, 0.82);
}

.contact-field__hint {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.55);
}

.input, .select, .textarea {
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(11, 18, 32, 0.14);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(11, 18, 32, 0.06);
  font-size: 15px;
  line-height: 1.35;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 120ms ease;
}

.input::placeholder, .textarea::placeholder {
  color: rgba(11, 18, 32, 0.40);
}

.textarea {
  min-height: 160px;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath fill='%235b667a' d='M5.6 7.6a1 1 0 0 1 1.4 0L10 10.6l3-3a1 1 0 1 1 1.4 1.4l-3.7 3.7a1 1 0 0 1-1.4 0L5.6 9a1 1 0 0 1 0-1.4Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}

.input:focus, .select:focus, .textarea:focus {
  border-color: rgba(238, 46, 43, 0.55);
  box-shadow: 0 0 0 4px rgba(238, 46, 43, 0.12), 0 18px 40px rgba(11, 18, 32, 0.10);
  outline: none;
}

.input:hover, .select:hover, .textarea:hover {
  border-color: rgba(11, 18, 32, 0.22);
}

.contact-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(11, 18, 32, 0.08);
}

.contact-actions__hint {
  font-size: 13px;
  color: rgba(11, 18, 32, 0.60);
}

.contact-actions .btn {
  min-height: 46px;
  padding-left: 22px;
  padding-right: 22px;
}

.contact-notice {
  max-width: 880px;
  margin: 14px auto 0;
}

/* Post-form info section */
.contact-info__head {
  max-width: 78ch;
}

.contact-info__grid {
  margin-top: 22px;
  gap: 22px;
  align-items: start;
}

.contact-info__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.80);
}

.contact-info__bullet {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.contact-info__check {
  height: 18px;
  width: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 199, 158, 0.18);
  border: 1px solid rgba(11, 199, 158, 0.30);
  color: #ffffff;
  font-weight: 900;
  font-size: 12px;
  margin-top: 2px;
}

.contact-info__right {
  display: grid;
  gap: 12px;
}

@media (max-width: 900px) {
  .contact-hero__title {
    font-size: 36px;
  }

  .contact-hero__inner {
    padding: 62px 0 48px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
