/* =====================================================
   MINIMALIST FORM – mult spatiu alb, inputuri doar cu
   linie de subliniere, buton conturat
   ===================================================== */

#lead-form, #lead-form *{
  box-sizing: border-box;
}

/* Container: fara card, doar o linie de accent sus */
.lead-form-container{
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-top: 3px solid #ff5316;
  padding: 44px 8px 24px;
}

@media (max-width: 767px){
  .lead-form-container{ padding: 30px 4px 18px; }
}

/* Titlu discret */
.lead-form-title{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #111827;
  margin: 0 0 34px 0;
}

/* Variabile form */
#lead-form{
  --lf-text: #1f2937;
  --lf-placeholder: #9ca3af;
  --lf-linie: #d8dee9;
  --lf-focus: rgba(255,83,22,0.18);
  --lf-btn: #ff5316;
  --lf-btn-hover: #b73b0f;

  --lf-gap: 34px;
  --lf-vspace: 30px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Label ascuns (accesibil) */
#lead-form .visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Grid: 2 coloane */
#lead-form .row.form-wrapper{
  display: flex;
  flex-wrap: wrap;
  gap: var(--lf-gap);
  margin: 0 0 var(--lf-vspace) 0;
}

#lead-form .row.form-wrapper .form-item{
  flex: 1 1 calc(50% - (var(--lf-gap) / 2));
  margin: 0;
  min-width: 0;
}

@media (max-width: 640px){
  #lead-form .row.form-wrapper .form-item{
    flex: 1 1 100%;
  }
}

/* Campuri: doar linie jos */
#lead-form input[type="text"],
#lead-form input[type="email"],
#lead-form input[type="tel"],
#lead-form textarea{
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--lf-linie);
  border-radius: 0;
  outline: none;
  box-shadow: none;

  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  color: var(--lf-text);

  padding: 12px 2px;
  transition: border-color .2s ease;
}

#lead-form input[type="text"],
#lead-form input[type="email"],
#lead-form input[type="tel"]{
  height: 52px;
}

#lead-form textarea{
  min-height: 140px;
  resize: vertical;
}

#lead-form input::placeholder,
#lead-form textarea::placeholder{
  color: var(--lf-placeholder);
  opacity: 1;
}

#lead-form input:focus,
#lead-form textarea:focus{
  border-bottom-color: var(--lf-btn);
}

/* Spatiu vertical intre blocurile full-width */
#lead-form > .form-item{
  margin-bottom: var(--lf-vspace);
}

/* GDPR: text normal, discret */
#lead-form .gdpr-wrap{
  display: flex;
  align-items: center;
  gap: 12px;
}

#lead-form #lead-form-gdpr{
  margin: 0;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  accent-color: var(--lf-btn);
}

#lead-form .gdpr-wrap label{
  margin: 0;
  line-height: 1.45;
  font-weight: 400;
  font-size: 14px;
  color: #4b5563;
}

#lead-form .gdpr-wrap label a{
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Buton conturat, se umple la hover */
#lead-form .form-actions{
  margin-top: 6px;
  margin-bottom: 0;
}

#lead-form .webform-button--submit{
  position: relative;
  display: inline-block;

  background: transparent;
  color: var(--lf-btn);
  border: 2px solid var(--lf-btn);

  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  padding: 15px 34px;
  border-radius: 0;
  box-shadow: none;

  min-width: 260px;
  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;
  transition: background .2s ease, color .2s ease;
}

#lead-form .webform-button--submit:hover{
  background: var(--lf-btn);
  color: #fff;
}

#lead-form .webform-button--submit span{
  position: relative;
  display: inline-block;
  padding-left: 42px;
}

#lead-form .webform-button--submit span::after{
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 24px;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform .25s ease;
}

#lead-form .webform-button--submit:hover span::after{
  transform: translateY(-50%) rotate(90deg);
}

/* Text mic sub buton */
#lead-form p.small{
  margin: 16px 0 0 0;
  font-size: 13px;
  color: #9ca3af;
}

@media (max-width: 576px){
  #lead-form .webform-button--submit{
    width: 100%;
    min-width: 0;
  }
}
