/*
 * Sports Rewired — Contact section, shown above the footer where Theme Options → Contact Section says.
 * Matches the approved contact-section.html: its .cf rules are copied unchanged below, and the first
 * block repeats that file's own page-level rules, scoped to the section, so it renders the same on
 * every page type (some pages also load the theme's base style.css, whose p / label / form defaults
 * would otherwise shift it). The card colour comes from the file too (no --card-2 there).
 */
/* Base rules of contact-section.html (its page-level styles), scoped to the section so it renders
   the same on every page type. Kept at the same low specificity as in the design file. */
.cf{--card-2:initial;font-family:var(--body);font-size:16px;line-height:normal;color:#000;}
.cf :where(p,h2,h3,ol,ul,li,form,label,small,b,em,i){margin:0;padding:0;}
.cf :where(ol,ul){list-style:none;}
.cf :where(h2,h3){font-family:var(--disp);font-weight:600;text-transform:uppercase;line-height:1.02;}
.cf button{border-radius:0;line-height:normal;}
.cf :where(.btn-solid),.cf :where(.btn-solid):visited{background:var(--flare);border-color:var(--flare);color:var(--ink);}
.cf :where(.btn-solid):hover{color:var(--ink);}
:where(.cf) .kicker{display:inline-flex;align-items:center;gap:10px;font-family:var(--mono);font-size:12px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--flare-deep);}
:where(.cf) .kicker::before{content:'';width:18px;height:1px;background:currentColor;}
.cf-field input,.cf-field select,.cf-field textarea{margin:0;box-shadow:none;outline:0;line-height:normal;}
.cf-field input:focus,.cf-field textarea:focus{color:var(--text);}
.cf-mail a:visited,.cf-consent a:visited,.cf-mail a:hover,.cf-consent a:hover{color:var(--flare-deep);}
/* =========================================================
   CONTACT SECTION (reusable on every service, solution and industry page; not the homepage)
   ========================================================= */
.cf{position:relative;padding:110px 0;background:var(--paper-2);border-top:1px solid var(--line);}
.cf-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:64px;align-items:start;}
.cf-info h2{margin-top:16px;font-size:clamp(38px,4.6vw,64px);line-height:.95;color:var(--text);}
.cf-info h2 em{font-style:normal;color:var(--flare-deep);}
.cf-info>p{margin-top:18px;max-width:44ch;font-size:17px;line-height:1.7;color:var(--text-muted);}
.cf-steps{margin-top:32px;border-top:1px solid var(--line);}
.cf-steps li{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;align-items:start;padding:18px 0;border-bottom:1px solid var(--line);}
.cf-steps span{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--ink);color:var(--flare);font-family:var(--disp);font-size:18px;font-weight:600;}
.cf-steps b{display:block;font-family:var(--disp);font-size:21px;font-weight:600;line-height:1.1;text-transform:uppercase;color:var(--text);}
.cf-steps small{display:block;margin-top:4px;font-size:14.5px;line-height:1.55;color:var(--text-muted);}
.cf-mail{display:inline-flex;align-items:center;gap:10px;margin-top:26px;font-size:15px;color:var(--text-muted);}
.cf-mail a{color:var(--flare-deep);font-weight:700;text-decoration:underline;text-underline-offset:3px;}
.cf-card{position:relative;padding:40px 40px 34px;border-radius:24px;background:var(--card-2);border:1px solid var(--line);box-shadow:0 30px 70px -40px rgba(18,22,15,.45);}
.cf-card::before{content:'';position:absolute;top:-1px;left:40px;width:56px;height:4px;border-radius:0 0 4px 4px;background:var(--flare);}
.cf-card h3{font-size:28px;line-height:1;color:var(--text);}
.cf-card>p{margin-top:8px;font-size:14.5px;color:var(--text-muted);}
.cf-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 18px;margin-top:26px;}
.cf-field{display:flex;flex-direction:column;gap:7px;}
.cf-field.full{grid-column:1 / -1;}
.cf-field label{font-family:var(--mono);font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--text);}
.cf-field label i{font-style:normal;color:var(--flare-deep);}
.cf-field label small{font-family:var(--body);font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--text-muted);}
.cf-field input,.cf-field select,.cf-field textarea{width:100%;padding:14px 16px;border-radius:12px;border:1.5px solid var(--line-strong);background:var(--paper);font-family:var(--body);font-size:16px;color:var(--text);transition:border-color .2s,box-shadow .2s,background .2s;}
.cf-field textarea{min-height:140px;resize:vertical;line-height:1.55;}
.cf-field select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--text) 50%),linear-gradient(135deg,var(--text) 50%,transparent 50%);background-position:calc(100% - 22px) 52%,calc(100% - 16px) 52%;background-size:6px 6px;background-repeat:no-repeat;padding-right:44px;}
.cf-field input::placeholder,.cf-field textarea::placeholder{color:#8b9086;}
.cf-field input:focus,.cf-field select:focus,.cf-field textarea:focus{outline:none;border-color:var(--flare-deep);background:#fff;box-shadow:0 0 0 4px rgba(190,227,26,.3);}
.cf-field.err input,.cf-field.err textarea{border-color:#C2410C;background:#fff7f3;}
.cf-err{display:none;font-size:13px;color:#C2410C;}
.cf-field.err .cf-err{display:block;}
.cf-consent{grid-column:1 / -1;display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;align-items:start;font-size:14.5px;line-height:1.55;color:var(--text-muted);}
.cf-consent input{width:20px;height:20px;margin-top:2px;accent-color:var(--flare-deep);}
.cf-consent a{color:var(--flare-deep);font-weight:600;text-decoration:underline;text-underline-offset:3px;}
.cf-consent.err{color:#C2410C;}
.cf-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden;}
.cf-submit{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:4px;}
.cf-submit .btn{border:0;cursor:pointer;}
.cf-submit small{font-size:13px;color:var(--text-muted);}
.cf-success{display:none;padding:34px 0 10px;text-align:center;}
.cf-success svg{width:64px;height:64px;padding:16px;border-radius:50%;background:var(--flare);color:var(--ink);}
.cf-success h3{margin-top:18px;}
.cf-success p{margin-top:8px;color:var(--text-muted);}
.cf-card.sent .cf-form,.cf-card.sent>h3,.cf-card.sent>p{display:none;}
.cf-card.sent .cf-success{display:block;}
@media (max-width:960px){.cf{padding:80px 0;}.cf-grid{grid-template-columns:1fr;gap:40px;}}
@media (max-width:620px){.cf-card{padding:30px 22px 26px;}.cf-form{grid-template-columns:1fr;}.cf-submit{flex-direction:column;align-items:stretch;}.cf-submit .btn{justify-content:center;}}

/* ---- WordPress: server error message after a failed send ---- */
.cf-submit small.cf-fail{color:#C2410C;font-weight:600;}
.cf-card .cf-plugin-form{margin-top:26px;}
