/* Coaching enquiry form on the local coaching pages (/personal-training-heywood/, /running-coaching-heywood/,
   /swimming-coaching-heywood/). Same form, ids and script as /training/ (training/assets/coaching-cta.js); this file
   only styles it to match these pages. It sits in the first section under the hero: heading and text on the left,
   form box on the right (on phones: heading, form, then text). Loaded after jg-local.css. */
.content>section.cf-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);grid-template-areas:"head card" "copy card";grid-template-rows:auto 1fr;column-gap:70px;row-gap:0;align-items:start;scroll-margin-top:16px}
.cf-head{grid-area:head}
.cf-card{grid-area:card}
.cf-copy{grid-area:copy}
.cf-head h2{margin:0}
.content .cf-copy p{font-size:19px;color:#3b3b3b;margin:26px 0 0;max-width:540px}
.content .cf-copy .cf-signoff{font-size:15px;font-weight:700;color:var(--ink);border-left:3px solid var(--red);padding-left:14px}

/* the form box (the site's form box: red top bar, soft red shadow) */
.cf-card{background:#fff;border:1px solid var(--line);border-top:10px solid var(--red);border-radius:26px;box-shadow:0 34px 70px rgba(200,16,46,.2);padding:32px clamp(22px,3vw,40px) 30px}
.cf-card .eyebrow{color:var(--red);margin:0}
.content .cf-card .cf-title{margin:10px 0 0;font:900 clamp(32px,3vw,44px)/1 'Arial Rounded MT Bold','Trebuchet MS',Arial,sans-serif;letter-spacing:-.05em;color:var(--ink)}
.cf-card .cf-title span{color:var(--red)}
.content .cf-card .coaching-form-intro{margin:12px 0 22px;font-size:16px;color:#555}
.cf-card button,.cf-card input,.cf-card select{font-family:inherit}
.cf-card [hidden]{display:none!important}
.cf-card .coaching-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px 14px}
.cf-card .coaching-field{display:block;min-width:0;font-size:14px;font-weight:700;line-height:1.5;color:var(--ink)}
.cf-card .coaching-goal{grid-column:1/-1}
.cf-card .coaching-optional{font-size:12px;font-weight:400;color:#6b6b6b;margin-left:6px}
.cf-card .coaching-field input,.cf-card .coaching-field select{display:block;width:100%;min-width:0;min-height:52px;margin:8px 0 0;padding:13px 14px;border:1px solid #bbb;border-radius:10px;background-color:#fff;color:var(--ink);font-size:16px;font-weight:400;line-height:1.4;transition:border-color .15s,box-shadow .15s}
.cf-card .coaching-field select{-webkit-appearance:none;appearance:none;padding-right:44px;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,#171717 50%),linear-gradient(135deg,#171717 50%,transparent 50%);background-position:calc(100% - 22px) 52%,calc(100% - 16px) 52%;background-size:6px 6px;background-repeat:no-repeat}
.cf-card .coaching-field input:hover,.cf-card .coaching-field select:hover{border-color:var(--ink)}
.cf-card .coaching-field input:focus,.cf-card .coaching-field select:focus{outline:none;border-color:var(--red);box-shadow:0 0 0 4px rgba(200,16,46,.14)}
.cf-card .coaching-field input[readonly],.cf-card .coaching-field select:disabled{background-color:#f5f4f1;color:#555}
.cf-card .coaching-consent{display:flex;align-items:flex-start;gap:12px;margin:20px 0 22px;font-size:14px;line-height:1.6;color:#3b3b3b;cursor:pointer;min-height:44px}
.cf-card .coaching-consent input{flex-shrink:0;width:20px;height:20px;margin:1px 0 0;accent-color:var(--red);cursor:pointer}
.cf-card .coaching-consent a{color:#a80c27;font-weight:700;text-underline-offset:3px}
.cf-card .coaching-submit{width:100%;justify-content:space-between;min-height:58px;font-size:16px;cursor:pointer}
.cf-card .coaching-submit span[aria-hidden]{font-size:20px;line-height:1;font-weight:400}
.cf-card .coaching-submit:disabled{background:#595959;border-color:#595959;box-shadow:none;transform:none;cursor:default}
.content .cf-card .coaching-reassurance{margin:14px 0 0;font-size:13px;color:#6b6b6b}
.content .cf-card .coaching-status,.content .cf-card .coaching-error{margin:0;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.content .cf-card .coaching-status{color:var(--ink)}
.content .cf-card .coaching-error{color:#a80d26}
.content .cf-card .coaching-status:not(:empty),.content .cf-card .coaching-error:not(:empty){margin-top:18px;padding:12px 16px;background:#fff6f7;border-left:4px solid var(--red);border-radius:0 10px 10px 0}
.content .cf-card .coaching-error:focus{outline:none}
.cf-card .coaching-no-script{font-size:14px;color:#a80d26;margin-top:16px}
.cf-card :is(input,select,button,a):focus-visible{outline:3px solid var(--red);outline-offset:4px}

/* "Enquiry saved" pop-up (the training page's, in this page's style) */
.coaching-confirmation{width:min(500px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:38px 36px 32px;border:0;border-top:10px solid var(--red);border-radius:26px;color:var(--ink);background:#fff;box-shadow:0 34px 70px rgba(0,0,0,.35);font:16px/1.65 Arial,sans-serif}
.coaching-confirmation::backdrop{background:#171717b8}
.coaching-confirmation .eyebrow{color:var(--red);margin:0}
.coaching-confirmation .coaching-confirmation-title{margin:14px 0 12px;font:900 38px/1 'Arial Rounded MT Bold','Trebuchet MS',Arial,sans-serif;letter-spacing:-.05em;color:var(--ink)}
.coaching-confirmation p{color:#4f4f4f;overflow-wrap:anywhere}
.coaching-confirmation .coaching-close{width:100%;margin-top:10px;min-height:54px;font-family:inherit;font-size:16px;cursor:pointer}
.coaching-confirmation button:focus-visible{outline:3px solid var(--red);outline-offset:4px}

@media(max-width:900px){
 .content>section.cf-section{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "card" "copy";grid-template-rows:auto;row-gap:30px}
 .content .cf-copy p{font-size:17px;margin-top:18px}
 .content .cf-copy p:first-child{margin-top:0}
}
@media(max-width:600px){
 .cf-card{margin:0 -8px;padding:26px 20px 24px;border-radius:22px}
 .cf-card .coaching-fields{grid-template-columns:minmax(0,1fr)}
 .coaching-confirmation{padding:28px 22px 24px;border-radius:22px}
 .coaching-confirmation .coaching-confirmation-title{font-size:32px}
}
@media(prefers-reduced-motion:reduce){.cf-card *,.coaching-confirmation *{transition:none!important}}
@media print{.cf-card,.coaching-confirmation{display:none!important}}
