/* contact.css */
.bbr-contact-content {
  display: grid;
  gap: 28px;
  padding-bottom: 40px;
}

.bbr-contact-section h1,
.bbr-contact-section h2,
.bbr-contact-panel h2 {
  margin: 0 0 16px;
  color: #f5f5f5;
  font-weight: 700;
}

.bbr-contact-section h1 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.bbr-contact-section h2,
.bbr-contact-panel h2 {
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.35;
}

.bbr-contact-section > p {
  margin: 0 0 14px;
  color: var(--bbr-text-body);
  font-size: 15px;
  line-height: 1.8;
}

.bbr-contact-section > p:last-child {
  margin-bottom: 0;
}

.bbr-contact-intro > p {
  color: var(--bbr-text-secondary);
}

.bbr-contact-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--bbr-space-12);
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.bbr-contact-channel {
  padding: 18px 20px;
  border: 1px solid var(--bbr-border);
  border-radius: 8px;
  background: var(--bbr-surface-dark);
}

.bbr-contact-channel strong {
  display: block;
  margin-bottom: 6px;
  color: var(--bbr-accent);
  font-size: 14px;
  line-height: 20px;
}

.bbr-contact-channel p {
  margin: 0;
  color: var(--bbr-text-body);
  font-size: 14px;
  line-height: 1.7;
}

.bbr-contact-section > .bbr-contact-security {
  margin-top: 20px;
  padding: 14px 18px;
  border-left: 3px solid var(--bbr-accent);
  border-radius: 0 6px 6px 0;
  background: #19221f;
  color: #c8d7d0;
  font-size: 14px;
}

.bbr-contact-panel {
  padding: 24px;
  border: 1px solid var(--bbr-border);
  border-radius: 10px;
  background: #181818;
}

.bbr-contact-form {
  margin-top: 20px;
}

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

.bbr-contact-field {
  display: flex;
  flex-direction: column;
  gap: var(--bbr-space-8);
  min-width: 0;
}

.bbr-contact-field-wide {
  grid-column: 1 / -1;
}

.bbr-contact-field label {
  color: #e3e3e3;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.bbr-contact-field input,
.bbr-contact-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  background: #242424;
  color: var(--bbr-text-soft);
  font-family: var(--bbr-font-ui);
  font-size: 14px;
  line-height: 20px;
}

.bbr-contact-field textarea {
  min-height: 148px;
  resize: vertical;
}

.bbr-contact-field input::placeholder,
.bbr-contact-field textarea::placeholder {
  color: #929292;
  opacity: 1;
}

.bbr-contact-field input:focus,
.bbr-contact-field textarea:focus {
  border-color: var(--bbr-accent);
  outline: 1px solid var(--bbr-accent);
  outline-offset: 1px;
}

.bbr-contact-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 10px 24px;
  border: 1px solid var(--bbr-yellow);
  border-radius: 6px;
  background: var(--bbr-yellow);
  color: #121212;
  font-family: var(--bbr-font-ui);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  cursor: pointer;
}

.bbr-contact-send:hover {
  background: #ffe95d;
}

.bbr-contact-send:focus-visible {
  outline: 2px solid var(--bbr-accent);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .bbr-contact-channels,
  .bbr-contact-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .bbr-contact-content {
    gap: var(--bbr-space-24);
  }

  .bbr-contact-channel,
  .bbr-contact-panel {
    padding: 18px 16px;
  }

  .bbr-contact-send {
    width: 100%;
  }
}
