/* ============================================================
   BuddieSpace — Contact Us
   Prefix: bs-contact
   Figma node: 1:347 (RwwSPnE42UdisR1nLlsl9D)
   ============================================================ */

/* ─── Page Hero Header ─────────────────────────────────────── */

.bs-contact-hero {
  background: #fefefe;
  padding: clamp(48px, 5.49vw, 79px) clamp(16px, 2.22vw, 32px) clamp(36px, 4.17vw, 60px);
  text-align: center;
}

.bs-contact-hero__inner {
  max-width: 770px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.43vw, 35px);
}

.bs-contact-hero__title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 7.36vw, 106px);
  line-height: 1.08;
  color: #21254a;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
}

.bs-contact-hero__subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.51vw, 21.73px);
  line-height: 1.57;
  color: #21254a;
  margin: 0;
}

/* ─── Contact Card Section ──────────────────────────────────── */

.bs-contact-section {
  background: #fefefe;
  padding: 0 clamp(16px, 8.47vw, 122px) clamp(48px, 5.56vw, 80px);
}

.bs-contact-card {
  background: #21254a;
  border-radius: 10px;
  box-shadow: 0 0 60px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  gap: clamp(24px, 5.9vw, 85px);
  padding: clamp(40px, 5vw, 72px) clamp(24px, 4.58vw, 66px);
  align-items: flex-start;
}

/* ─── Info Column (Left) ─── */

.bs-contact-card__info {
  flex: 0 0 auto;
  width: clamp(200px, 30vw, 400px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.78vw, 40px);
}

.bs-contact-card__info-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.75vw, 39.568px);
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
}

.bs-contact-card__email-row {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.97vw, 14px);
}

.bs-contact-card__email-icon {
  width: clamp(20px, 2.35vw, 33.915px);
  height: auto;
  flex-shrink: 0;
  display: block;
}

.bs-contact-card__email-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 1.57vw, 22.61px);
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.bs-contact-card__email-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.bs-contact-card__social {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.39vw, 20px);
}

.bs-contact-card__social-label {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.77vw, 25.437px);
  color: #ffffff;
  margin: 0;
}

.bs-contact-card__social-icons {
  display: flex;
  gap: clamp(8px, 1.11vw, 16px);
  align-items: center;
}

.bs-contact-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(32px, 2.94vw, 42.394px);
  height: clamp(32px, 2.94vw, 42.394px);
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.bs-contact-social-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.bs-contact-social-btn--twitter  { background: #1da1f2; }
.bs-contact-social-btn--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.bs-contact-social-btn--linkedin  { background: #0077b5; }

.bs-contact-social-btn img {
  width: 55%;
  height: 55%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
}

/* ─── Form Column (Right) ─── */

.bs-contact-card__form-wrapper {
  flex: 1;
  min-width: 0;
}

.bs-contact-form {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.78vw, 40px);
}

.bs-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.78vw, 40px);
}

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

.bs-contact-form__label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(10px, 0.83vw, 12px);
  line-height: 1.67;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.bs-contact-form__input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(12px, 0.97vw, 14px);
  padding: clamp(8px, 1.11vw, 16px) 0;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.bs-contact-form__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.bs-contact-form__input:focus {
  border-bottom-color: #b0f288;
}

.bs-contact-form__textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(12px, 0.97vw, 14px);
  padding: clamp(8px, 1.11vw, 16px) 0;
  outline: none;
  width: 100%;
  resize: vertical;
  min-height: clamp(60px, 5.56vw, 80px);
  transition: border-color 0.2s;
  line-height: 1.6;
}

.bs-contact-form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.bs-contact-form__textarea:focus {
  border-bottom-color: #b0f288;
}

.bs-contact-form__submit-row {
  display: flex;
  justify-content: flex-end;
}

.bs-contact-form__submit {
  background: #59acf8;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 1.11vw, 16px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: clamp(10px, 1.04vw, 15px) clamp(28px, 3.33vw, 48px);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, transform 0.1s;
}

.bs-contact-form__submit:hover {
  background: #4a9de8;
  transform: translateY(-1px);
}

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

/* ─── Newsletter Section ─────────────────────────────────────── */

.bs-contact-newsletter {
  background: #ffffff;
  padding: clamp(48px, 6.94vw, 100px) clamp(16px, 8.96vw, 129px);
}

.bs-contact-newsletter__inner {
  max-width: 1217px;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.43vw, 35px);
}

.bs-contact-newsletter__title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 6.5vw, 93.555px);
  line-height: 1.08;
  color: #000000;
  margin: 0;
}

.bs-contact-newsletter__form {
  width: 100%;
  max-width: 1018px;
}

.bs-contact-newsletter__input-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  border-radius: 26.108px;
  overflow: hidden;
  background: #d9d9d9;
}

.bs-contact-newsletter__input {
  background: transparent;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 2.72vw, 39.162px);
  color: #000000;
  padding: clamp(18px, 3.3vw, 47.5px) clamp(20px, 3.13vw, 45px);
  outline: none;
  width: 100%;
  min-width: 0;
}

.bs-contact-newsletter__input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.bs-contact-newsletter__btn {
  background: #21254a;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 2.72vw, 39.162px);
  border: none;
  padding: clamp(16px, 3.3vw, 47.5px) clamp(20px, 3.13vw, 45px);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.bs-contact-newsletter__btn:hover {
  background: #2d3266;
}

/* ─── Responsive: Tablet (≤1023px) ─────────────────────────── */

@media (max-width: 1023px) {
  .bs-contact-section {
    padding-left: clamp(16px, 4vw, 48px);
    padding-right: clamp(16px, 4vw, 48px);
  }

  .bs-contact-card {
    flex-direction: column;
    gap: 36px;
  }

  .bs-contact-card__info {
    width: 100%;
  }

  .bs-contact-newsletter {
    padding-left: clamp(16px, 4vw, 48px);
    padding-right: clamp(16px, 4vw, 48px);
  }

  .bs-contact-newsletter__form {
    max-width: 100%;
  }
}

/* ─── Responsive: Mobile (≤599px) ───────────────────────────── */

@media (max-width: 599px) {
  .bs-contact-hero__title {
    font-size: clamp(36px, 10vw, 56px);
  }

  .bs-contact-form__row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bs-contact-newsletter__title {
    font-size: clamp(28px, 8vw, 48px);
  }

  .bs-contact-newsletter__input-wrap {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .bs-contact-newsletter__input {
    padding: 18px 20px;
    font-size: clamp(14px, 4vw, 18px);
  }

  .bs-contact-newsletter__btn {
    padding: 16px 20px;
    font-size: clamp(14px, 4vw, 18px);
    border-radius: 0 0 14px 14px;
    text-align: center;
  }
}
