/* ==========================================================================
   BetaCrystal — Contact page (dark editorial version)
   WHERE THIS GOES: Appearance -> Customize -> Additional CSS.
   Replaces the previous contact-page.css entirely.
   ========================================================================== */

.bc-contact-page, .bc-contact-page *, .bc-contact-page *::before, .bc-contact-page *::after {
  box-sizing: border-box;
}

.bc-contact-page {
  background: #141414;
  color: #fff;
  font-family: inherit !important;
}

.bc-contact-page a {
  text-decoration: none !important;
}

/* ---- Shared: eyebrow label ---- */
.bc-contact-page .bc-contact-eyebrow {
  display: block;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45) !important;
  margin-bottom: 22px;
}

/* ---- HERO ---- */
.bc-contact-hero {
  padding: 130px 0 90px;
}

.bc-contact-hero-inner {
  width: calc(100% - 48px);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.bc-contact-hero-inner h1 {
  margin: 0 0 26px !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  font-size: clamp(32px, 5vw, 96px) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  color: #fff !important;
}

.bc-contact-hero-inner h1 span {
  color: #c9a06a !important;
}

.bc-contact-hero-inner h1 .bc-lowercase {
  text-transform: none;
  color: #fff !important;
}

.bc-contact-hero-inner p {
  margin: 0 auto !important;
  max-width: 460px;
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

/* ---- MAIN (info + form) ---- */
.bc-contact-main {
  padding: 20px 0 110px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bc-contact-grid {
  width: calc(100% - 48px);
  max-width: 1200px;
  margin: 90px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
}

.bc-contact-section-number {
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.3) !important;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.bc-contact-label {
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9a06a !important;
  margin-bottom: 26px;
}

.bc-contact-info h2,
.bc-contact-other h2 {
  margin: 0 0 24px !important;
  font-family: inherit !important;
  font-weight: 500 !important;
  font-size: clamp(28px, 3.5vw, 44px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: #fff !important;
}

.bc-contact-other h2 span {
  color: #c9a06a !important;
}

.bc-contact-info h2 span {
  color: #c9a06a !important;
}

.bc-contact-info p {
  margin: 0 0 44px !important;
  max-width: 400px;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

.bc-contact-email-label {
  font-family: inherit !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35) !important;
  margin-bottom: 10px;
}

.bc-contact-email {
  display: inline-block;
  font-family: inherit !important;
  font-size: 19px !important;
  font-weight: 500 !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 4px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.bc-contact-email:hover {
  border-color: #777777;
  color: #c9a06a !important;
}

/* ---- OTHER LINKS ---- */
.bc-contact-other {
  padding: 0 0 120px;
}

.bc-contact-other-inner {
  width: calc(100% - 48px);
  padding: 30px;
  margin: 0 auto;
}

.bc-contact-links {
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.bc-contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: opacity 0.25s ease;
}

.bc-contact-link:hover {
  opacity: 0.6;
}

.bc-contact-link > div {
  display: flex;
  align-items: baseline;
  gap: 22px;
}

.bc-contact-link small {
  font-family: inherit !important;
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.35) !important;
}

.bc-contact-link strong {
  font-family: inherit !important;
  font-weight: 500 !important;
  font-size: clamp(18px, 2.4vw, 26px) !important;
  letter-spacing: 0.01em;
  color: #fff !important;
}

.bc-contact-link span {
  font-family: inherit !important;
  font-size: 20px !important;
  color: #777777 !important;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.bc-contact-link:hover span {
  transform: translateX(6px);
}

/* ==========================================================================
   WPFORMS — your dark reskin, unchanged
   ========================================================================== */

.bc-contact-wpforms {
    width: 100%;
}

.bc-contact-wpforms .wpforms-container {
    margin: 0 !important;
    padding: 0 !important;
}

.bc-contact-wpforms .wpforms-form {
    width: 100%;
}

.bc-contact-wpforms .wpforms-field-label {
    margin-bottom: 10px !important;
    color: #c9a06a !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
}

.bc-contact-wpforms input[type="text"],
.bc-contact-wpforms input[type="email"],
.bc-contact-wpforms input[type="tel"],
.bc-contact-wpforms textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 13px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.22) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 16px !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color 0.25s ease !important;
}

.bc-contact-wpforms input[type="text"]:focus,
.bc-contact-wpforms input[type="email"]:focus,
.bc-contact-wpforms input[type="tel"]:focus,
.bc-contact-wpforms textarea:focus {
    border-bottom-color: #777777 !important;
    background: transparent !important;
    color: #ffffff !important;
    box-shadow: none !important;
    outline: none !important;
}

.bc-contact-wpforms textarea {
    min-height: 140px !important;
    resize: vertical;
}

.bc-contact-wpforms .wpforms-field {
    padding: 0 !important;
    margin-bottom: 34px !important;
}

.bc-contact-wpforms .wpforms-required-label {
    color: #c9a06a !important;
}

.bc-contact-wpforms button[type="submit"],
.bc-contact-wpforms .wpforms-submit {
    width: 100% !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 20px !important;
    border: 1px solid #c9a06a !important;
    border-radius: 2px !important;
    background: transparent !important;
    color: #c9a06a !important;
    font-family: inherit !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.18em !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: background 0.25s ease, color 0.25s ease !important;
}

.bc-contact-wpforms button[type="submit"]:hover,
.bc-contact-wpforms .wpforms-submit:hover {
    background: #c9a06a !important;
    color: #ffffff !important;
}

.bc-contact-wpforms button[type="submit"]:focus,
.bc-contact-wpforms .wpforms-submit:focus {
    background: #c9a06a !important;
    color: #797979 !important;
    outline: none !important;
    box-shadow: none !important;
}

.bc-contact-wpforms .wpforms-error {
    margin-top: 8px !important;
    color: #999999 !important;
    font-size: 11px !important;
}

.bc-contact-wpforms .wpforms-confirmation-container {
    padding: 25px !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    background: #777777 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.bc-contact-wpforms .wpforms-submit-container {
    padding: 0 !important;
}

/* Name field: fieldset/legend reset + First/Last side-by-side
   (carried over from the earlier fix — still needed here) */
.bc-contact-wpforms fieldset {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}

.bc-contact-wpforms legend.wpforms-field-label {
    width: 100% !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
}

.bc-contact-wpforms .wpforms-field-name .wpforms-field-row {
    display: flex !important;
    width: 100% !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bc-contact-wpforms .wpforms-field-row::before,
.bc-contact-wpforms .wpforms-field-row::after {
    display: none !important;
    content: none !important;
}

.bc-contact-wpforms .wpforms-field-name .wpforms-field-row-block {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.bc-contact-wpforms .wpforms-field-name .wpforms-field-sublabel {
    display: block !important;
    margin: 9px 0 0 !important;
    padding: 0 !important;
    color: rgba(255,255,255,0.3) !important;
    font-family: inherit !important;
    font-size: 8px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
}

.bc-contact-form-section {
  background: linear-gradient(155deg, #3d3d3d 0%, #313131 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 48px;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 1px rgba(255, 255, 255, 0.04),
    0 12px 24px rgba(0, 0, 0, 0.35),
    0 32px 64px rgba(0, 0, 0, 0.45);
}

.bc-contact-form-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 960px) {
  .bc-contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 60px;
  }
  .bc-contact-other-inner {
    padding: 10px;
  }
}

@media (max-width: 640px) {
  .bc-contact-hero {
    padding: 90px 0 60px;
  }
  .bc-contact-main {
    padding-bottom: 80px;
  }
  .bc-contact-other {
    padding-bottom: 90px;
  }
  .bc-contact-info p {
    max-width: 100%;
  }
  .bc-contact-link {
    padding: 24px 0;
  }
  .bc-contact-link > div {
    gap: 14px;
  }

  .bc-contact-wpforms .wpforms-field-name .wpforms-field-row {
    flex-direction: column !important;
    gap: 18px !important;
  }

  .bc-contact-wpforms input[type="text"],
  .bc-contact-wpforms input[type="email"],
  .bc-contact-wpforms input[type="tel"],
  .bc-contact-wpforms textarea {
    font-size: 15px !important;
  }

  .bc-contact-wpforms .wpforms-field {
    margin-bottom: 28px !important;
  }
  
  .bc-contact-other-inner {
    padding: 10px;
  }
}