/* Msza-Online – Formularze Lite 1.0.0 */

.mofl-page{
  --mofl-bg:#000;
  --mofl-panel:#12100D;
  --mofl-panel-border:#332A16;
  --mofl-field:#F3EFE6;
  --mofl-field-text:#292722;
  --mofl-placeholder:#8A857C;
  --mofl-label:#C9C5BD;
  --mofl-muted:#8F897D;
  --mofl-divider:#2A261D;
  --mofl-danger:#d75245;
  max-width:1380px;
  margin:0 auto;
  padding:54px 28px 78px;
  color:#eee8dc;
  box-sizing:border-box;
  font-family:Inter,Arial,sans-serif;
}
.mofl-page *{box-sizing:border-box}
.mofl-header{max-width:980px;margin:0 auto 34px}
.mofl-header h1{
  margin:0 0 18px;
  color:#f4f0e8;
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(46px,5.4vw,76px);
  line-height:1.03;
  font-weight:400;
}
.mofl-header p{
  max-width:820px;
  margin:0;
  color:#aaa398;
  font-size:17px;
  line-height:1.65;
  font-weight:300;
}
.mofl-panel{
  margin:0 auto;
  padding:36px 40px 38px;
  background:var(--mofl-panel);
  border:1px solid var(--mofl-panel-border);
  border-radius:9px;
}
.mofl-panel-narrow{max-width:820px}
.mofl-panel-wide{max-width:1000px}
.mofl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 18px}
.mofl-field{min-width:0}
.mofl-full{grid-column:1/-1}
.mofl-field label{
  display:block;
  margin:0 0 8px;
  color:var(--mofl-label);
  font-size:15px;
  line-height:1.35;
  font-weight:400;
}
.mofl-field label span{color:#c8312b}
.mofl-field input,
.mofl-field select,
.mofl-field textarea{
  width:100%;
  border:1px solid #B9B09F;
  border-radius:6px;
  background:var(--mofl-field);
  color:var(--mofl-field-text);
  font-family:Inter,Arial,sans-serif;
  font-size:16px;
  line-height:1.4;
  outline:none;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.mofl-field input,.mofl-field select{min-height:56px;padding:0 16px}
.mofl-field textarea{min-height:160px;padding:15px 16px;resize:vertical}
.mofl-field input::placeholder,.mofl-field textarea::placeholder{color:var(--mofl-placeholder);opacity:1}
.mofl-field input:focus,.mofl-field select:focus,.mofl-field textarea:focus{
  border-color:#DAB05A;
  box-shadow:0 0 0 2px rgba(218,176,90,.12);
}
.mofl-note{
  margin:22px 0 0;
  color:var(--mofl-muted);
  font-size:13px;
  line-height:1.6;
  font-weight:300;
}
.mofl-error{
  margin:18px 0 0;
  padding:12px 14px;
  border:1px solid rgba(215,82,69,.55);
  border-radius:6px;
  color:#eab6b0;
  font-size:14px;
  line-height:1.45;
}
.mofl-submit-row{
  display:flex;
  align-items:stretch;
  gap:20px;
  margin-top:26px;
}
.mofl-captcha-wrap{
  flex:0 0 304px;
  width:304px;
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  overflow:hidden;
  border-radius:5px;
  background:#000;
}
.mofl-recaptcha{width:304px;min-height:78px;background:#000}
.mofl-captcha-warning{
  padding:12px;
  border:1px solid rgba(215,82,69,.55);
  color:#eab6b0;
  font-size:13px;
  line-height:1.4;
}

/* D2 – ten sam system kolorystyczny co Intencje */
.mofl-btn{
  flex:1 1 auto;
  min-width:0;
  min-height:78px;
  padding:0 34px;
  border:1px solid #B88423;
  border-radius:999px;
  background:linear-gradient(135deg,#7A5312 0%,#C9932F 52%,#EBC36A 100%);
  color:#FFF9EC;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
  box-shadow:inset 0 0 0 1px rgba(255,248,222,.10),inset 0 1px 0 rgba(255,255,255,.08);
  font-family:Inter,Arial,sans-serif;
  font-size:16px;
  font-weight:600;
  line-height:1;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.mofl-btn:hover,.mofl-btn:focus-visible,.mofl-btn:active{
  background:linear-gradient(135deg,#FFE08A 0%,#FFC23F 52%,#FFF2B0 100%);
  border-color:#FFE08A;
  color:#FFF9EC;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.20),0 0 0 1px rgba(255,199,63,.14);
}
.mofl-btn:disabled{opacity:.6;cursor:wait}
.mofl-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.mofl-success{
  padding:34px 8px 24px;
  text-align:center;
}
.mofl-success h2{
  margin:0 0 12px;
  color:#f4f0e8;
  font-family:"Playfair Display",Georgia,serif;
  font-size:34px;
  font-weight:400;
}
.mofl-success p{margin:0;color:#b7b0a4;font-size:16px;line-height:1.6}

@media(max-width:767px){
  .mofl-page{padding:36px 16px 58px}
  .mofl-header{margin-bottom:26px}
  .mofl-header h1{font-size:42px}
  .mofl-header p{font-size:16px}
  .mofl-panel{padding:25px 18px 28px}
  .mofl-grid{grid-template-columns:1fr;gap:17px}
  .mofl-full{grid-column:auto}
  .mofl-submit-row{flex-direction:column;gap:14px}
  .mofl-captcha-wrap{width:304px;max-width:100%;flex:0 0 auto}
  .mofl-btn{width:100%;min-height:58px}
}
