/* ═══════════════════════════════════════════════════════════════════════════
   contact.css — Module CB-M07contact + CB-M08form
   Inspirat din et_pb_section_31 de pe casabanilor.ro
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Contact info ──────────────────────────────────────────────────────── */
.cb-contact__lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-muted, #617062);
  max-width: 580px;
  margin: 0 0 24px;
}

.cb-contact__items {
  display: grid;
  gap: 14px;
}

.cb-contact__card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--color-bg-light, #f5f8fd);
  border: 1px solid var(--color-border, rgba(11, 111, 212, .18));
  border-radius: 18px;
}

.cb-contact__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(var(--color-brand-rgb, 11, 111, 212), 0.12);
  color: var(--color-brand-dark, #0958ab);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.cb-contact__entries {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cb-contact__entry-title {
  display: block;
  color: var(--color-text, #0f2540);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.cb-contact__entry-text {
  display: block;
  color: var(--color-text-muted, #3a5070);
  font-size: 15px;
  line-height: 1.7;
}

/* ─── Form ───────────────────────────────────────────────────────────────── */
.cb-form__row {
  margin-bottom: 0;
}

.cb-form__field {
  display: flex;
  flex-direction: column;
}

.cb-form__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text, #0f2540);
  margin-bottom: 6px;
}

.cb-form__required {
  color: var(--color-brand, #0b6fd4);
  margin-left: 2px;
}

.cb-form__input,
.cb-form__select,
.cb-form__textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border, rgba(11, 111, 212, .22));
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text, #0f2540);
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
  appearance: none;
}

.cb-form__input:focus,
.cb-form__select:focus,
.cb-form__textarea:focus {
  border-color: var(--color-brand, #0b6fd4);
  box-shadow: 0 0 0 3px rgba(var(--color-brand-rgb, 11, 111, 212), .12);
}

.cb-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.cb-form__textarea {
  resize: vertical;
  min-height: 116px;
  line-height: 1.6;
}

/* ─── Feedback AJAX ─────────────────────────────────────────────────────── */
.cb-form__error {
  display: block;
  color: #dc2626;
  font-size: 12px;
  margin-top: 4px;
}

.cb-form__net-error {
  color: #dc2626;
  font-size: 14px;
  margin-top: 12px;
}

.cb-form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  background: var(--color-bg-light, #f5f8fd);
  border-radius: 18px;
  min-height: 200px;
}
