/* ===== WordPress / CF7 layer on top of the approved preview CSS ===== */

/* CF7 wraps each control in a span → drive floating labels with .filled/:focus-within */
.ard-form .fl>.wpcf7-form-control-wrap{display:block;position:static!important;top:auto;right:auto;font-size:inherit;color:inherit;pointer-events:auto;transition:none}
.ard-form .fl input,.ard-form .fl textarea,.ard-form .fl select{width:100%;background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.3);color:#fff;padding:22px 2px 10px;font-size:15.5px;font-family:var(--fb);outline:0;border-radius:0;box-shadow:none;-webkit-appearance:none;appearance:none}
.ard-form .fl select option{color:#000}
.ard-form .fl>span:last-child{position:absolute;right:2px;top:20px;color:#999;font-size:15px;pointer-events:none;transition:.25s}
.ard-form .fl:focus-within>span:last-child,.ard-form .fl.filled>span:last-child{top:0;font-size:12.5px;color:#fff}
.ard-form .fl:focus-within input,.ard-form .fl:focus-within textarea,.ard-form .fl:focus-within select{border-color:#fff}
.ard-form .fl.err input,.ard-form .fl.err textarea,.ard-form .fl.err select{border-color:#ff6b6b}
.ard-form .wpcf7-submit{cursor:pointer;background:#fff;color:#0b0b0b;border-color:#fff}
.ard-form .wpcf7-submit:hover{background:transparent;color:#fff}
/* light contexts */
.csec-l .ard-form .fl input,.csec-l .ard-form .fl textarea,.csec-l .ard-form .fl select,.cform .ard-form .fl input,.cform .ard-form .fl textarea,.cform .ard-form .fl select{color:#000;border-color:rgba(0,0,0,.2)}
.csec-l .ard-form .fl>span:last-child,.cform .ard-form .fl>span:last-child{color:#888}
.csec-l .ard-form .fl:focus-within>span:last-child,.csec-l .ard-form .fl.filled>span:last-child,.cform .ard-form .fl:focus-within>span:last-child,.cform .ard-form .fl.filled>span:last-child{color:#000}
.csec-l .ard-form .fl:focus-within input,.csec-l .ard-form .fl:focus-within textarea,.csec-l .ard-form .fl:focus-within select,.cform .ard-form .fl:focus-within input,.cform .ard-form .fl:focus-within textarea,.cform .ard-form .fl:focus-within select{border-color:#000}
.csec-l .ard-form .wpcf7-submit,.cform .ard-form .wpcf7-submit{background:#0b0b0b;color:#fff;border-color:#0b0b0b}
.csec-l .ard-form .wpcf7-submit:hover,.cform .ard-form .wpcf7-submit:hover{background:transparent;color:#0b0b0b}
.ard-form .fl textarea{min-height:96px;resize:vertical}
.ard-form .fl.sel:after{z-index:1}
.ard-form .wpcf7-not-valid-tip{display:block;font-size:12.5px;color:#c0392b;margin-top:6px}
.ard-form .wpcf7-submit:disabled{opacity:.6}
.ard-form .f-note{color:#888;font-size:13px}
.ard-form .wpcf7-spinner{display:none;width:22px;height:22px;border:2px solid rgba(128,128,128,.3);border-top-color:currentColor;border-radius:50%;animation:ardspin .8s linear infinite;margin:0}
.ard-form.submitting .wpcf7-spinner{display:inline-block}
@keyframes ardspin{to{transform:rotate(360deg)}}
.ard-form .wpcf7-response-output{margin:18px 0 0!important;padding:12px 16px!important;border:1px solid #ccc!important;font-size:14px;color:#333;background:#fafafa}
.ard-form .f-note{color:#999}
.ard-form.sent .wpcf7-response-output{border-color:#1e7e4a!important;color:#1e7e4a;background:#f1faf4}
.ard-form.invalid .wpcf7-response-output,.ard-form.failed .wpcf7-response-output,.ard-form.spam .wpcf7-response-output{border-color:#c0392b!important;color:#c0392b;background:#fdf3f2}
.ard-form .screen-reader-response{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.cform-cf7 p{color:#666;font-size:14.5px;margin-bottom:18px}
.ard-admin-hint{padding:14px;border:1px dashed #c0392b;color:#c0392b;font-size:14px}

/* Rich content from the editor (services / posts / pages) */
.entry ul,.entry ol{padding-inline-start:0;margin:0 0 20px;list-style:none}
.entry ul li,.entry ol li{position:relative;padding-inline-start:24px;margin-bottom:10px;line-height:1.9;color:var(--tx)}
.entry ul li:before{content:"";position:absolute;right:4px;top:13px;width:7px;height:7px;background:#0b0b0b;transform:rotate(45deg)}
.entry ol{counter-reset:o}.entry ol li{counter-increment:o}.entry ol li:before{content:counter(o);position:absolute;right:0;top:0;font-weight:700}
.entry h2{font-size:24px;margin:30px 0 12px;color:var(--fg)}
.entry blockquote{border-inline-start:3px solid #0b0b0b;background:#f6f6f6;padding:18px 22px;margin:24px 0;font-family:var(--fh);font-weight:600;font-size:17px;line-height:1.9;color:#111}
.entry img{max-width:100%;height:auto}
.entry a{text-decoration:underline}
.f-social{display:flex;gap:8px;margin-top:18px}
.f-social a{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.25);color:#fff;transition:.3s}
.f-social a:hover{background:#fff;color:#000}
body.admin-bar #hdr{top:32px}
@media (max-width:782px){body.admin-bar #hdr{top:46px}}
.ard-form .wpcf7-response-output:empty,.ard-form .wpcf7-response-output[aria-hidden="true"]{display:none}
