/*
Theme Name: CTC Process Consulting
Theme URI: https://claritywins.ca
Author: Roxy Rice
Description: Custom one-page theme for CTC Process Consulting.
Version: 3.0.2
Text Domain: ctc-process
*/

:root{
  --ctc-white:#ffffff;
  --ctc-black:#121316;
  --ctc-black-2:#1d2025;
  --ctc-red:#d8262f;
  --ctc-red-dark:#b51c24;
  --ctc-text:#1a1d22;
  --ctc-muted:#5b6470;
  --ctc-line:#e7e9ee;
  --ctc-panel:#f7f8fa;
  --ctc-max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ctc-text);
  background:var(--ctc-white);
  line-height:1.6;
}
a{color:inherit}
img{max-width:100%;height:auto}
.ctc-container{width:min(var(--ctc-max),calc(100% - 40px));margin:0 auto}
.ctc-section{padding:86px 0}
.ctc-eyebrow{
  display:inline-block;
  margin-bottom:14px;
  color:var(--ctc-red);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
h1,h2,h3{margin:0 0 18px;line-height:1.08}
h1{font-size:clamp(3rem,7vw,6rem);letter-spacing:-.055em}
h2{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.04em}
h3{font-size:1.25rem}
p{margin:0 0 18px}
.ctc-lead{font-size:clamp(1.12rem,2vw,1.4rem);color:#2f3945;max-width:820px}
.ctc-small{font-size:.95rem;color:var(--ctc-muted)}

.ctc-site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(18,19,22,.08);
}
.ctc-nav{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.ctc-brand{
  text-decoration:none;
  display:flex;
  flex-direction:column;
  line-height:1;
}
.ctc-brand strong{
  font-size:1rem;
  letter-spacing:.06em;
  color:var(--ctc-black);
}
.ctc-brand span{
  margin-top:7px;
  color:#7a838d;
  font-size:.68rem;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.ctc-menu{display:flex;gap:24px;align-items:center}
.ctc-menu a{
  text-decoration:none;
  font-weight:650;
  font-size:.92rem;
}
.ctc-menu a:hover{color:var(--ctc-red)}

.ctc-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  border:1px solid transparent;
  transition:.2s ease;
}
.ctc-button-primary{
  background:var(--ctc-red);
  color:#fff;
}
.ctc-button-primary:hover{
  background:var(--ctc-red-dark);
  transform:translateY(-1px);
}
.ctc-button-secondary{
  background:#fff;
  color:var(--ctc-black);
  border-color:#d7dce3;
}
.ctc-button-secondary:hover{border-color:var(--ctc-red)}

.ctc-mobile-toggle{
  display:none;
  border:0;
  background:none;
  font-size:1.5rem;
  color:var(--ctc-black);
}

.ctc-hero{
  min-height:760px;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(255,255,255,.90) 0%,rgba(255,255,255,.84) 38%,rgba(255,255,255,.62) 62%,rgba(255,255,255,.28) 100%),
    url('assets/hero-background.png') center right/cover no-repeat;
}
.ctc-hero:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 12% 18%, rgba(216,38,47,.06), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.12) 100%);
}
.ctc-hero-inner{
  position:relative;
  z-index:2;
  max-width:760px;
}
.ctc-kicker{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  color:var(--ctc-black);
  margin-bottom:24px;
}
.ctc-kicker:before{
  content:"";
  width:44px;
  height:3px;
  background:var(--ctc-red);
}
.ctc-hero h1 span{color:var(--ctc-red)}
.ctc-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:34px}
.ctc-hero-note{
  margin-top:24px;
  color:#505864;
  font-size:.92rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:700;
}

.ctc-statement{
  background:var(--ctc-black);
  color:#fff;
  padding:34px 0;
}
.ctc-statement .ctc-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.ctc-statement strong{font-size:clamp(1.15rem,2.4vw,1.55rem)}
.ctc-statement b{color:#fff;border-bottom:3px solid var(--ctc-red)}
.ctc-statement span{
  color:#e7eaef;
  letter-spacing:.06em;
  font-weight:650;
}

.ctc-grid-4{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-top:42px;
}
.ctc-card{
  background:var(--ctc-white);
  border:1px solid var(--ctc-line);
  border-radius:18px;
  padding:28px;
  min-height:220px;
  box-shadow:0 8px 20px rgba(18,19,22,.03);
}
.ctc-card-number{
  font-size:.75rem;
  color:var(--ctc-red);
  font-weight:900;
  letter-spacing:.14em;
  margin-bottom:28px;
}
.ctc-card p{color:var(--ctc-muted);margin-bottom:0}

.ctc-alt{background:var(--ctc-panel)}
.ctc-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:start;
}
.ctc-checks{display:grid;gap:0}
.ctc-check{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:18px 0;
  border-top:1px solid #dde1e8;
}
.ctc-check:before{
  content:"✓";
  width:28px;
  height:28px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--ctc-red);
  color:#fff;
  font-weight:900;
  flex:0 0 auto;
}

.ctc-process{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:44px;
}
.ctc-step{
  border:1px solid var(--ctc-line);
  background:#fff;
  border-radius:18px;
  padding:30px;
}
.ctc-step b{
  display:block;
  color:var(--ctc-red);
  font-size:.75rem;
  letter-spacing:.14em;
  margin-bottom:28px;
}
.ctc-step p{color:var(--ctc-muted);margin:0}

.ctc-about{
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:70px;
  align-items:start;
}
.ctc-about-mark{
  aspect-ratio:1/1;
  border-radius:28px;
  background:#0d0f12 url('assets/site-icon.png') center/58% no-repeat;
  border:1px solid #20242b;
  box-shadow:0 20px 40px rgba(18,19,22,.12);
}

.ctc-cta-shell{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px;
  align-items:start;
}
.ctc-cta{
  background:var(--ctc-black);
  color:#fff;
  border-radius:28px;
  padding:46px;
}
.ctc-cta p{color:#d5d8dd;max-width:640px}
.ctc-contact-list{display:grid;gap:8px;margin-top:18px}
.ctc-contact-list a{
  color:#fff;
  font-weight:750;
  text-decoration:none;
}
.ctc-contact-list a:hover{color:#fff;text-decoration:underline}

.ctc-form-card{
  background:#fff;
  border:1px solid var(--ctc-line);
  border-radius:28px;
  padding:34px;
  box-shadow:0 12px 28px rgba(18,19,22,.04);
}
.ctc-form-fallback{
  border:1px dashed #d1d6de;
  border-radius:18px;
  padding:24px;
  background:#fafbfc;
}
.ctc-form-fallback p:last-child{margin-bottom:0}

.wpforms-container{
  margin:0 !important;
}
.wpforms-field-label{
  font-weight:700 !important;
  color:var(--ctc-black) !important;
}
.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select{
  border:1px solid #d9dee6 !important;
  border-radius:12px !important;
  background:#fff !important;
  color:var(--ctc-text) !important;
  padding:12px 14px !important;
}
.wpforms-field textarea{min-height:150px !important}
.wpforms-submit-container{padding-top:8px !important}
.wpforms-submit{
  background:var(--ctc-red) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:999px !important;
  font-weight:800 !important;
  padding:14px 22px !important;
}
.wpforms-submit:hover{background:var(--ctc-red-dark) !important}

.ctc-footer{
  padding:34px 0;
  border-top:1px solid var(--ctc-line);
  color:#808894;
  font-size:.9rem;
}
.ctc-footer-row{
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}
.ctc-footer strong{color:var(--ctc-black)}

@media (max-width: 980px){
  .ctc-two,.ctc-about,.ctc-cta-shell{grid-template-columns:1fr}
  .ctc-grid-4,.ctc-process{grid-template-columns:repeat(2,1fr)}
  .ctc-hero{min-height:680px}
}
@media (max-width: 720px){
  .ctc-mobile-toggle{display:block}
  .ctc-menu{
    display:none;
    position:absolute;
    top:76px;
    left:0;
    right:0;
    background:#fff;
    padding:22px;
    border-bottom:1px solid var(--ctc-line);
    flex-direction:column;
    align-items:flex-start;
  }
  .ctc-menu.is-open{display:flex}
  .ctc-grid-4,.ctc-process{grid-template-columns:1fr}
  .ctc-statement .ctc-container{
    flex-direction:column;
    align-items:flex-start;
  }
  .ctc-section{padding:68px 0}
  .ctc-hero{min-height:620px}
  .ctc-cta,.ctc-form-card{padding:30px}
  h1{font-size:clamp(2.7rem,14vw,4.4rem)}
}


.ctc-assessment-section{
  background:#fff;
}
.ctc-assessment-points{
  display:grid;
  gap:16px;
  margin-top:30px;
}
.ctc-assessment-points > div{
  border-top:1px solid var(--ctc-line);
  padding-top:16px;
  display:grid;
  gap:6px;
}
.ctc-assessment-points strong{
  color:var(--ctc-black);
}
.ctc-assessment-points span{
  color:var(--ctc-muted);
}
.ctc-assessment-card{
  position:relative;
}
.ctc-assessment-placeholder{
  border:1px dashed #cfd5dd;
  border-radius:18px;
  padding:28px;
  background:#fafbfc;
}
.ctc-assessment-placeholder h3{
  margin-bottom:10px;
}


.ctc-assessment-page{
  background:#fff;
}
.ctc-assessment-hero{
  padding:92px 0 54px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.88)),
    url('assets/hero-background.png') center right/cover no-repeat;
  border-bottom:1px solid var(--ctc-line);
}
.ctc-assessment-hero-inner{
  display:grid;
  grid-template-columns:1.35fr .65fr;
  gap:50px;
  align-items:end;
}
.ctc-assessment-intro-card{
  border-left:5px solid var(--ctc-red);
  background:#fff;
  border-radius:16px;
  padding:24px;
  box-shadow:0 12px 28px rgba(18,19,22,.06);
}
.ctc-assessment-intro-card p{
  margin:8px 0 0;
  color:var(--ctc-muted);
}

.ctc-assessment-shell{
  max-width:920px;
}
.ctc-progress-wrap{
  margin-bottom:28px;
}
.ctc-progress-meta{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-bottom:10px;
  color:var(--ctc-muted);
  font-size:.9rem;
  font-weight:700;
}
.ctc-progress-track{
  height:8px;
  background:#eceff3;
  border-radius:999px;
  overflow:hidden;
}
.ctc-progress-bar{
  height:100%;
  background:var(--ctc-red);
  border-radius:999px;
  transition:width .25s ease;
}

.ctc-assessment-form{
  background:#fff;
  border:1px solid var(--ctc-line);
  border-radius:26px;
  padding:34px;
  box-shadow:0 14px 34px rgba(18,19,22,.05);
}
.ctc-question{
  border:0;
  padding:0;
  margin:0;
}
.ctc-question legend{
  width:100%;
  font-size:clamp(1.45rem,3vw,2.15rem);
  line-height:1.2;
  font-weight:800;
  color:var(--ctc-black);
  margin-bottom:26px;
}
.ctc-answer-card{
  display:block;
  position:relative;
  margin:12px 0;
}
.ctc-answer-card input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.ctc-answer-card span{
  display:block;
  padding:18px 20px;
  border:1px solid #dfe3e9;
  border-radius:15px;
  background:#fff;
  color:var(--ctc-text);
  font-weight:650;
  cursor:pointer;
  transition:.18s ease;
}
.ctc-answer-card input:checked + span{
  border-color:var(--ctc-red);
  box-shadow:0 0 0 2px rgba(216,38,47,.12);
  background:#fff8f8;
}
.ctc-answer-card span:hover{
  border-color:#c6ccd5;
}
.ctc-answer-card input:focus-visible + span{
  outline:3px solid rgba(216,38,47,.25);
  outline-offset:2px;
}
.ctc-assessment-actions{
  margin-top:28px;
  display:flex;
  justify-content:space-between;
  gap:12px;
}
.ctc-assessment-error{
  margin:14px 0 0;
  color:var(--ctc-red-dark);
  font-weight:700;
  min-height:24px;
}

.ctc-result-panel{
  background:#fff;
  border:1px solid var(--ctc-line);
  border-radius:26px;
  padding:36px;
  box-shadow:0 14px 34px rgba(18,19,22,.05);
}
.ctc-score-row{
  display:grid;
  grid-template-columns:1fr .7fr;
  gap:30px;
  align-items:center;
  margin-bottom:22px;
}
.ctc-score{
  font-size:1rem;
  font-weight:900;
  letter-spacing:.08em;
  color:var(--ctc-red);
  text-transform:uppercase;
}
.ctc-result-meter-track{
  height:12px;
  background:#eceff3;
  border-radius:999px;
  overflow:hidden;
}
.ctc-result-meter-fill{
  height:100%;
  width:0;
  background:var(--ctc-red);
  border-radius:999px;
  transition:width .35s ease;
}
.ctc-result-summary{
  font-size:1.15rem;
  color:#39424e;
  max-width:820px;
}
.ctc-result-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin:30px 0;
}
.ctc-result-grid > div{
  background:var(--ctc-panel);
  border-radius:18px;
  padding:24px;
}
.ctc-result-grid h3{
  margin-bottom:12px;
}
.ctc-result-grid ul,
.ctc-result-grid ol{
  margin:0;
  padding-left:20px;
}
.ctc-result-grid li{
  margin:8px 0;
  color:#4d5661;
}
.ctc-result-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}
.ctc-result-note{
  margin:22px 0 0;
  color:var(--ctc-muted);
  font-size:.9rem;
}

@media (max-width: 820px){
  .ctc-assessment-hero-inner,
  .ctc-score-row,
  .ctc-result-grid{
    grid-template-columns:1fr;
  }
  .ctc-assessment-form,
  .ctc-result-panel{
    padding:24px;
  }
  .ctc-assessment-actions{
    flex-direction:column-reverse;
  }
  .ctc-assessment-actions .ctc-button{
    width:100%;
  }
}
