/* Mama form UI */
.mama-lead-form,

.form-block form.mama-lead-form,
.lead-form form.mama-lead-form{
  --mama-blue:#0054ff;
  --mama-blue-dark:#0045d8;
  --mama-border:#e5e7eb;
  --mama-text:#111827;
  --mama-muted:#64748b;
  --mama-bg:#ffffff;
  --mama-soft:#f8fafc;

  width:100%;
  display:grid;
  gap:16px;
  padding:18px;
  border:1px solid var(--mama-border);
  border-radius:24px;
  background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);
  box-shadow:0 14px 40px rgba(15,23,42,.07);
  color:var(--mama-text);
}
.cms-modal__content form.mama-lead-form{
  --mama-blue:#0054ff;
  --mama-blue-dark:#0045d8;
  --mama-border:#e5e7eb;
  --mama-text:#111827;
  --mama-muted:#64748b;
  --mama-bg:#ffffff;
  --mama-soft:#f8fafc;

  width:100%;
  display:grid;
  gap:12px;
  padding:0px;
  border:1px solid var(--mama-border);
  border-radius:24px;
  background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);
  box-shadow:0 14px 40px rgba(15,23,42,.07);
  color:var(--mama-text);
}
.mama-lead-form *,
.mama-lead-form *::before,
.mama-lead-form *::after{
  box-sizing:border-box;
}

.mama-lead-form label{
  display:grid;
  gap:6px;
  margin:0;
  color:var(--mama-muted);
  font-size:14px;
  font-weight:500;
}

.mama-lead-form input:not([type="checkbox"]):not([type="radio"]),
.mama-lead-form textarea,
.mama-lead-form select{
  width:100%;
  height:48px;
  margin:0;
  padding:0 16px;
  border:2px solid var(--border);
  border-radius:12px;
  background:#F9FAFB;
  color:var(--mama-gray-900);
  font-size:16px;
  font-weight:500;
  line-height:1.2;
  outline:none;
  box-shadow:0 4px 14px rgba(15,23,42,.035);
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}

.mama-lead-form textarea{
  min-height:112px;
  padding:14px 16px;
  line-height:1.45;
  resize:vertical;
}

.mama-lead-form input:not([type="checkbox"]):not([type="radio"])::placeholder,
.mama-lead-form textarea::placeholder{
  color:#94a3b8;
  font-weight:500;
}

.mama-lead-form input:not([type="checkbox"]):not([type="radio"]):focus,
.mama-lead-form textarea:focus,
.mama-lead-form select:focus{
  border-color:var(--mama-blue);
  box-shadow:0 0 0 4px rgba(0,84,255,.12),0 10px 28px rgba(15,23,42,.06);
  background:#fff;
}

.mama-lead-form button,
.mama-lead-form input[type="submit"],
.mama-lead-form .btn,
.mama-lead-form .cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:56px!important;
  width:100%;
  padding:16px;
  border:0;
  border-radius:14px;
  background:var(--mama-blue);
  color:#fff !important;
  font-size:16px!important;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 14px 34px rgba(0,84,255,.25);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
}

.mama-lead-form button:hover,
.mama-lead-form input[type="submit"]:hover,
.mama-lead-form .btn:hover,
.mama-lead-form .cta:hover{
  background:var(--mama-blue-dark);
  transform:translateY(-1px);
  box-shadow:0 20px 44px rgba(0,84,255,.32);
}

.mama-lead-form button:disabled,
.mama-lead-form input[type="submit"]:disabled{
  opacity:.65;
  cursor:not-allowed;
  transform:none;
}

.mama-form-consent{
  display:flex !important;
  align-items:flex-start;
  gap:12px;
  margin:2px 0 14px !important;
  
  
  background:#fff;
  color:var(--mama-muted) !important;
  font-size:14px !important;
  line-height:20px;
  font-weight:500 !important;
}

.mama-form-consent input{
  flex:0 0 auto;
  width:20px;
  height:20px;
  margin:0;
  accent-color:var(--mama-blue);
  cursor:pointer;
}

.mama-form-consent span{
  display:block;
}

.mama-form-consent a{
  color:var(--mama-blue);
  text-decoration:none;
 
}

.mama-form-consent a:hover{
  text-decoration:underline;
}

.mama-form-consent.is-error{
  border-color:#ef4444;
  background:#fef2f2;
  color:#991b1b !important;
}

.mama-lead-form .form-row,
.mama-lead-form .row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.mama-lead-form .form-title,
.mama-lead-form h2,
.mama-lead-form h3{
  margin:0 0 2px;
  color:var(--mama-text);
  letter-spacing:-.03em;
}

.mama-lead-form p{
  margin:0;
  color:var(--mama-muted);
}

@media(max-width:640px){
  .mama-lead-form{
    padding:14px;
    border-radius:20px;
  }

  .mama-lead-form .form-row,
  .mama-lead-form .row{
    grid-template-columns:1fr;
  }

  .mama-lead-form input:not([type="checkbox"]):not([type="radio"]),
  
  .mama-lead-form select,
  .mama-lead-form button,
  .mama-lead-form input[type="submit"]{
    min-height:52px;
    
  }
}


.mama-form-subtitle{
    margin: 12px 0 16px 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 500;
}


.mama-form-head{
  margin:8 0 0 16px;
}
.mama-form-title{
  margin: 0;
    color: #111827;
    font-size: clamp(24px, 3vw, 28px);
    line-height: 1.05;
    letter-spacing: -.035em;
}


