/* ==========================================================
   HIB CTA Form Section
   BEM naming with hib_ prefix
   ========================================================== */

/* --- Outer wrapper --- */
.hib_cta-form {
  padding: 0;
  background: transparent;
}

/* --- Card container --- */
.hib_cta-form__card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .hib_cta-form__card {
    flex-direction: row;
  }
}

/* --- Left info panel --- */
.hib_cta-form__info {
  background: var(--primary-color, #951315);
  color: #ffffff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .hib_cta-form__info {
    padding: 4rem;
  }
}

@media (min-width: 1024px) {
  .hib_cta-form__info {
    width: 50%;
  }
}

.hib_cta-form__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
  perspective: 400px;
}

.hib_cta-form__title .word {
  display: inline-block;
}

.hib_cta-form__title .char {
  display: inline-block;
}

.hib_cta-form__desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 2rem 0;
}

/* Contact info list */
.hib_cta-form__contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hib_cta-form__contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hib_cta-form__contact-item .hib_icon {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
}

.hib_cta-form__contact-text {
  font-weight: 700;
  font-size: 0.9375rem;
}

/* --- Right form panel --- */
.hib_cta-form__form {
  padding: 3rem;
}

@media (min-width: 768px) {
  .hib_cta-form__form {
    padding: 4rem;
  }
}

@media (min-width: 1024px) {
  .hib_cta-form__form {
    width: 50%;
  }
}

/* Style WPForms inside this section */
.hib_cta-form__form .wpforms-container {
  margin: 0;
  padding: 0;
}

.hib_cta-form__form .wpforms-field-label {
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5b403d !important;
}

.hib_cta-form__form .wpforms-field input,
.hib_cta-form__form .wpforms-field textarea,
.hib_cta-form__form .wpforms-field select {
  background: #f3f3f3 !important;
  border: none !important;
  border-radius: 0.5rem !important;
  padding: 1rem !important;
  transition: all 0.3s ease;
}

.hib_cta-form__form .wpforms-field input:focus,
.hib_cta-form__form .wpforms-field textarea:focus,
.hib_cta-form__form .wpforms-field select:focus {
  background: #ffffff !important;
  box-shadow: 0 0 0 2px rgba(149, 19, 21, 0.2) !important;
}

.hib_cta-form__form .wpforms-submit-container button {
  width: 100% !important;
  background: var(--primary-color, #951315) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 0.5rem !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(149, 19, 21, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.hib_cta-form__form .wpforms-submit-container button:hover {
  background: #7a0e10 !important;
  transform: translateY(-1px);
}

.hib_cta-form__form .wpforms-submit-container button:active {
  transform: scale(0.98);
}

/* --- Responsive title --- */
@media (max-width: 768px) {
  .hib_cta-form__title {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .hib_cta-form__title {
    font-size: 18px;
  }
}
