/* ============================================================
   LifeShaping METHOD™ — Contact Page CSS
   S13 — Contact (/contact)
   Palette: locked (#40045D, #000000, #FFFFFF, #C9A227, #14021F, #161418, #0B0B0D)
   Typography: Playfair Display 700 (display) / DM Sans 400/600/700 (body)
   ============================================================ */


/* ============================================================
   C1 — PAGE HERO
   ============================================================ */

.contact-hero {
  background-color: var(--color-near-black);
  padding: 80px 0 72px;
  border-bottom: 1px solid rgba(64, 4, 93, 0.3);
}

.contact-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  max-width: 720px;
}

.contact-hero__heading {
  font-family: 'League Spartan', 'DM Sans', sans-serif;
  font-weight: var(--weight-bold);
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.contact-hero__subhead {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin: 0;
  max-width: 560px;
}


/* ============================================================
   C2 — MAIN LAYOUT: FORMS + SIDEBAR
   ============================================================ */

.contact-main {
  background-color: var(--color-near-black);
  padding: 72px 0 96px;
}

.contact-main__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: start;
}


/* ============================================================
   FORM BLOCKS
   ============================================================ */

.contact-main__forms {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-form-block {
  padding-bottom: 64px;
}

.contact-form-block__label {
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C9A227;
  margin: 0 0 14px;
}

.contact-form-block__heading {
  font-family: 'League Spartan', 'DM Sans', sans-serif;
  font-weight: var(--weight-bold);
  font-size: 1.625rem;
  color: var(--color-white);
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.contact-form-block__desc {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0 0 36px;
  max-width: 560px;
}

.contact-divider {
  height: 1px;
  background-color: rgba(64, 4, 93, 0.3);
  margin: 0 0 64px;
}


/* ============================================================
   FORM ELEMENTS
   ============================================================ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form__row {
  display: flex;
  gap: 20px;
}

.contact-form__row--two > .contact-form__field {
  flex: 1;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__label {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}

.contact-form__input,
.contact-form__textarea {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: 0.9375rem;
  color: #111111;
  background-color: #F2F2F0;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 2px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: #5F6368;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: #C9A227;
  background-color: #FFFFFF;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.65;
}

.contact-form__submit {
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0B0B0D;
  background-color: #C9A227;
  border: none;
  border-radius: 2px;
  padding: 16px 32px;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-form__submit:hover {
  background-color: var(--color-white);
  color: #0B0B0D;
}

.contact-form__note {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
  line-height: 1.6;
}


/* ============================================================
   SIDEBAR
   ============================================================ */

.contact-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-sidebar__block {
  background-color: #1B0328;
  border-top: 2px solid rgba(64, 4, 93, 0.5);
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-sidebar__block-label {
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C9A227;
  margin: 0;
}

.contact-sidebar__block-body {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0;
}

.contact-sidebar__block-link {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: #C9A227;
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.2s ease;
}

.contact-sidebar__block-link:hover {
  color: var(--color-white);
}

.contact-sidebar__social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.contact-sidebar__social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-sidebar__social-link:hover {
  color: var(--color-white);
}

.contact-sidebar__social-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease;
}

.contact-sidebar__social-link:hover .contact-sidebar__social-icon {
  color: #C9A227;
}


/* ============================================================
   MOBILE — Full parity. No content removed.
   ============================================================ */

@media (max-width: 768px) {

  .contact-hero {
    padding: 60px 0 56px;
  }

  .contact-hero__inner {
    padding: 0 24px;
  }

  .contact-main {
    padding: 56px 0 72px;
  }

  .contact-main__inner {
    padding: 0 24px;
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .contact-form__input,
  .contact-form__textarea {
    font-size: 1rem;
  }

  .contact-form__row--two {
    flex-direction: column;
    gap: 20px;
  }

  .contact-form__submit {
    width: 100%;
    text-align: center;
  }

  .contact-sidebar {
    position: static;
  }

  .contact-form-block {
    padding-bottom: 48px;
  }

}


/* ============================================================
   CONTACT FORM STATUS — secure webhook submission feedback
   ============================================================ */

.contact-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-form__status {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: -4px 0 0;
}

.contact-form__status[data-state="pending"] {
  color: rgba(255, 255, 255, 0.65);
}

.contact-form__status[data-state="success"] {
  color: #C9A227;
}

.contact-form__status[data-state="error"] {
  color: #ffffff;
}
