.mgcf-wrap{margin:0}
.mgcf-form{display:grid;gap:0}
.mgcf-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:38px}

/* Icon and control occupy separate grid columns. This intentionally avoids
   absolute positioning so parent-theme input rules cannot make them overlap. */
.mgcf-field{display:grid;grid-template-columns:27px minmax(0,1fr);column-gap:9px;align-items:start;margin:0 0 35px;min-width:0}
.mgcf-icon{position:static!important;grid-column:1;grid-row:1;width:20px;height:20px;margin:12px 0 0 1px;color:#b8b8b8;pointer-events:none}
.mgcf-field input,.mgcf-field textarea{grid-column:2;grid-row:1;display:block!important;width:100%!important;min-width:0!important;margin:0!important;border:0!important;border-bottom:1px solid #ead8cf!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;color:#676767!important;font-family:Roboto,Arial,Helvetica,sans-serif!important;font-size:16px!important;font-weight:400!important;line-height:1.5!important;padding:13px 4px 13px 0!important;outline:0!important;box-sizing:border-box!important}
.mgcf-field textarea{height:104px!important;min-height:104px!important;resize:vertical;padding-top:13px!important}
.mgcf-field input::placeholder,.mgcf-field textarea::placeholder{color:#a6a6a6!important;opacity:1!important}
.mgcf-field input:focus,.mgcf-field textarea:focus{border-bottom-color:#d3a4a2!important;box-shadow:none!important}
.mgcf-message .mgcf-icon{margin-top:14px}
.mgcf-icon svg,.mgcf-send-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

.mgcf-submit-row{display:flex;align-items:center;gap:28px;margin-top:1px}
.mgcf-submit{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-width:142px!important;min-height:50px!important;padding:0 24px!important}
.mgcf-send-icon{display:inline-block;width:16px;height:16px}
.mgcf-note{margin:0!important;max-width:350px;color:#969696;font-size:11px!important;line-height:1.48!important}
.mgcf-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.mgcf-status{padding:11px 14px;margin:0 0 24px;font-size:13px;line-height:1.5}
.mgcf-success{background:#eef7f0;border-left:3px solid #4e8a5b}
.mgcf-error{background:#fff1f1;border-left:3px solid #b24d4d}
.mgcf-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media(max-width:700px){
    .mgcf-row{grid-template-columns:1fr;gap:0}
    .mgcf-field{margin-bottom:27px}
    .mgcf-submit-row{align-items:flex-start;flex-direction:column;gap:15px}
    .mgcf-note{max-width:100%}
}
