/* ================================================================
   WCLP — WebCoreLab Portfolio Case Study Styles
   Design: Professional chess-board aesthetic for GEO case studies
   ================================================================ */

/* === RESET & BASE === */
.wclp-subheader, .wclp-section-naked, .wclp-section-light {
  position: relative; overflow: hidden;
}
.wclp-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.wclp-ov {
  position: absolute; inset: 0; z-index: 1;
}
.wclp-container {
  position: relative; z-index: 2;
  max-width: 1170px; margin: 0 auto; padding: 0 24px;
}
main > p:empty, main > article > p:empty { display: none; margin: 0; padding: 0; }

/* === SUBHEADER (Dark hero) === */
.wclp-subheader {
  padding: 200px 0 80px; text-align: left;
}
.wclp-subheader .wclp-bg { filter: brightness(0.7) saturate(1.1); }
.wclp-subheader .wclp-ov {
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.5) 100%);
}
.wclp-subheader h1 {
  font-family: 'Ubuntu', sans-serif; font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 700; color: #1a1a2e; margin: 16px 0 0; line-height: 1.12;
  max-width: 900px;
  
}
.wclp-subheader h1 span { color: #ff6900; }
.wclp-breadcrumb {
  font-size: 13px; color: #888; margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.wclp-breadcrumb a { color: #ff6900; text-decoration: none; font-weight: 500; }
.wclp-breadcrumb a:hover { text-decoration: underline; }
.wclp-breadcrumb span { color: rgba(255,255,255,0.4); }
.wclp-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.wclp-tag {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wclp-tag {
  background: rgba(255,105,0,0.2); color: #ff6900;
  border: 1px solid rgba(255,105,0,0.4);
}
.wclp-tag:nth-child(even) {
  background: rgba(30,115,190,0.2); color: #5ba8e0;
  border: 1px solid rgba(30,115,190,0.4);
}


/* === DARK SUBHEADER (old portfolios) === */
.wclp-subheader-dark .wclp-bg {
  filter: grayscale(1) brightness(0.9) contrast(1.15) !important;
}
.wclp-subheader-dark .wclp-ov {
  background: linear-gradient(180deg, rgba(10,10,30,0.4) 0%, rgba(10,10,30,0.7) 100%) !important;
}
.wclp-subheader-dark h1 {
  color: #fff !important; font-size: clamp(34px, 5vw, 56px) !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.wclp-subheader-dark .wclp-breadcrumb {
  color: rgba(255,255,255,0.6);
}
.wclp-subheader-dark .wclp-breadcrumb a { color: #ff6900; font-weight: 600; }
.wclp-subheader-dark .wclp-tag:nth-child(odd) {
  background: rgba(255,105,0,0.2); color: #ff6900;
  border: 1px solid rgba(255,105,0,0.4);
}
.wclp-subheader-dark .wclp-tag:nth-child(even) {
  background: rgba(30,115,190,0.2); color: #5ba8e0;
  border: 1px solid rgba(30,115,190,0.4);
}
/* === DIVIDER === */
.wclp-divider-down {
  height: 5px; background: linear-gradient(90deg, #ff6900 0%, #1e73be 100%);
  position: relative; z-index: 3;
}

/* === SECTIONS === */
.wclp-section-naked {
  padding: 80px 0;
  background-color: #888;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: luminosity;
}
.wclp-section-naked::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.65);
  z-index: 1;
}
.wclp-section-naked .wclp-bg {
  display: none;
}
.wclp-section-naked .wclp-ov {
  display: none;
}
.wclp-section-light {
  padding: 80px 0; background: #fff;
  box-shadow: 0 0 40px rgba(0,0,0,0.06);
  z-index: 2; position: relative;
}
.wclp-section-light .wclp-bg {
  opacity: 0.04; filter: grayscale(100%);
}
.wclp-section-light .wclp-ov {
  background: rgba(255,255,255,0.96);
}

/* === TYPOGRAPHY === */
.wclp-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #ff6900; margin-bottom: 10px;
  position: relative; padding-left: 20px;
}
.wclp-label::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 12px; height: 3px; background: #ff6900; border-radius: 2px;
}
.wclp-section-naked h2, .wclp-section-light h2 {
  font-family: 'Ubuntu', sans-serif; font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700; color: #1a1a2e; margin: 0 0 20px; line-height: 1.2;
}
.wclp-section-naked p, .wclp-section-light p {
  font-size: 15px; line-height: 1.8; color: #555; margin-bottom: 16px;
}

/* === HERO BANNER === */
.wclp-hero-banner { padding: 60px 0; }
.wclp-hero-banner .wclp-container > p:first-of-type {
  font-size: 17px; line-height: 1.85; color: #444; max-width: 900px;
  margin-bottom: 20px;
}
.wclp-btn-outline {
  display: inline-block; padding: 10px 28px; border: 2px solid #1e73be;
  color: #1e73be !important; font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border-radius: 5px; transition: all 0.3s;
}
.wclp-btn-outline:hover {
  background: #1e73be; color: #fff !important;
}
.wclp-btn-primary {
  display: inline-block; padding: 14px 36px; background: #ff6900;
  color: #fff !important; font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border-radius: 6px; transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255,105,0,0.25);
}
.wclp-btn-primary:hover {
  background: #e85d00; transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255,105,0,0.35);
}

/* === METRICS ROW === */
.wclp-metrics-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 40px; padding-top: 36px;
  border-top: 1px solid #e8ecef;
}
.wclp-metric { text-align: center; }
.wclp-metric .num {
  display: block; font-size: 36px; font-weight: 900; color: #ff6900;
  line-height: 1; margin-bottom: 6px;
  font-family: 'Space Grotesk', sans-serif;
}
.wclp-metric .lbl {
  display: block; font-size: 12px; color: #888; text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 500;
}

/* === 2-COL GRID (challenge section) === */
.wclp-g2 {
  display: grid; grid-template-columns: 1fr 340px; gap: 40px;
  align-items: start;
}

/* === PROBLEMS LIST === */
.wclp-problems {
  list-style: none; padding: 0; margin: 20px 0 0;
}
.wclp-problems li {
  position: relative; padding: 10px 0 10px 28px;
  font-size: 14px; line-height: 1.7; color: #555;
  border-bottom: 1px solid #f0f0f0;
}
.wclp-problems li:last-child { border-bottom: none; }
.wclp-problems li::before {
  content: '✕'; position: absolute; left: 0; top: 10px;
  color: #e53935; font-weight: 700; font-size: 13px;
}

/* === DETAILS CARD === */
.wclp-details-card {
  background: #fff; border: 1px solid #e8ecef; border-radius: 12px;
  padding: 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  position: sticky; top: 120px;
}
.wclp-detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid #f0f2f5;
  font-size: 14px;
}
.wclp-detail-row:last-child { border-bottom: none; }
.wclp-detail-row span { color: #888; font-weight: 500; flex-shrink: 0; }
.wclp-detail-row strong {
  color: #1a1a2e; font-weight: 600; text-align: right;
  max-width: 200px;
}

/* === METHODOLOGY STEPS === */
.wclp-step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 32px 0; border-bottom: 1px solid #e8ecef;
}
.wclp-step:last-child { border-bottom: none; }
.wclp-step-num {
  font-size: 42px; font-weight: 900; color: rgba(255,105,0,0.35);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1; flex-shrink: 0; min-width: 56px;
}
.wclp-step h3 {
  font-family: 'Ubuntu', sans-serif; font-size: 20px; font-weight: 700;
  color: #1a1a2e; margin: 0 0 10px;
}
.wclp-step p {
  font-size: 14px; line-height: 1.8; color: #555; margin: 0;
}

/* === CODE BLOCK === */
.wclp-code-wrap {
  background: #1a1a2e; border-radius: 12px; overflow: hidden;
  margin: 30px 0; box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.wclp-code-dots {
  display: flex; gap: 7px; padding: 14px 18px;
  background: rgba(255,255,255,0.06);
}
.wclp-code-dots span {
  width: 11px; height: 11px; border-radius: 50%;
}
.wclp-code-dots span:nth-child(1) { background: #ff5f57; }
.wclp-code-dots span:nth-child(2) { background: #ffbd2e; }
.wclp-code-dots span:nth-child(3) { background: #27c93f; }
.wclp-code-wrap pre {
  margin: 0; padding: 20px 24px 24px; overflow-x: auto;
}
.wclp-code-wrap code {
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  line-height: 1.7; color: #a8b2d1; display: block;
  white-space: pre; tab-size: 4;
}

/* === GALLERY === */
.wclp-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 30px 0;
}
.wclp-gallery-item {
  background: #f0f2f5; border-radius: 10px; overflow: hidden;
  aspect-ratio: 16/10; display: flex; align-items: flex-end;
  position: relative;
  border: 1px solid #e0e3e8;
  background-size: cover; background-position: center;
  transition: transform 0.3s;
}
.wclp-gallery-item:hover { transform: scale(1.02); }
.wclp-gallery-item::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.15) 100%);
  z-index: 1;
}
.wclp-gallery-caption {
  position: relative; z-index: 1;
  padding: 14px 16px; font-size: 12px; line-height: 1.6;
  color: #555; background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  width: 100%;
}

/* === RESULTS GRID === */
.wclp-results-period {
  font-size: 14px; color: #888; margin-bottom: 30px !important;
  font-style: italic;
}
.wclp-results-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;
  margin-bottom: 40px;
}
.wclp-result-card {
  background: #fff; border: 1px solid #e8ecef; border-radius: 12px;
  padding: 28px 24px; text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.wclp-result-card:hover {
  transform: translateY(-4px); border-color: #ff6900;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.wclp-result-num {
  font-size: 38px; font-weight: 900; color: #ff6900;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1; margin-bottom: 8px;
}
.wclp-result-name {
  font-size: 15px; font-weight: 700; color: #1a1a2e;
  margin-bottom: 10px;
}
.wclp-result-desc {
  font-size: 13px; line-height: 1.7; color: #666;
}

/* === TESTIMONIAL === */
.wclp-testimonial {
  background: #fff; border-left: 4px solid #ff6900;
  border-radius: 0 12px 12px 0; padding: 32px 36px;
  margin: 36px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  position: relative;
}
.wclp-testimonial::before {
  content: '\201C'; position: absolute; top: 16px; left: 20px;
  font-size: 56px; color: rgba(255,105,0,0.15);
  font-family: Georgia, serif; line-height: 1;
}
.wclp-testimonial p {
  font-size: 16px; line-height: 1.8; color: #333;
  font-style: italic; margin: 0 0 12px;
}
.wclp-testimonial cite {
  font-size: 14px; color: #888; font-style: normal; font-weight: 600;
}

/* === CTA SECTION (bottom) === */
.wclp-section-light .wclp-container[style*="justify-content"] {
  display: flex; gap: 40px;
}
.wclp-section-light .wclp-container[style*="justify-content"] > div:first-child {
  flex: 1;
}
.wclp-section-light .wclp-container[style*="justify-content"] > div:last-child {
  flex-shrink: 0; text-align: right; align-self: center;
}


/* === NAKED SECTION TEXT — readable on parallax bg === */
.wclp-section-naked h2 {
  color: #0a0a1a; text-shadow: 0 1px 3px rgba(255,255,255,0.8);
}
.wclp-section-naked h3 {
  color: #0a0a1a; text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}
.wclp-section-naked p,
.wclp-section-naked li {
  color: #1a1a2e; text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}
.wclp-section-naked .wclp-problems li {
  color: #1a1a2e; border-bottom-color: rgba(0,0,0,0.08);
}
.wclp-section-naked .wclp-details-card {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.wclp-section-naked .wclp-step {
  border-bottom-color: rgba(0,0,0,0.08);
}
.wclp-section-naked .wclp-code-wrap {
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.wclp-section-naked .wclp-gallery-caption {
  background: rgba(255,255,255,0.96);
  color: #333;
}
/* === RESPONSIVE === */
@media (max-width: 900px) {
  .wclp-subheader { padding: 140px 0 50px; }
  .wclp-g2 { grid-template-columns: 1fr; }
  .wclp-details-card { position: static; }
  .wclp-metrics-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .wclp-gallery { grid-template-columns: 1fr 1fr; }
  .wclp-results-grid { grid-template-columns: 1fr; }
  .wclp-step { flex-direction: column; gap: 12px; }
  .wclp-section-light .wclp-container[style*="justify-content"] {
    flex-direction: column; gap: 20px;
  }
}
@media (max-width: 600px) {
  .wclp-metrics-row { grid-template-columns: 1fr 1fr; }
  .wclp-metric .num { font-size: 28px; }
  .wclp-gallery { grid-template-columns: 1fr; }
  .wclp-subheader h1 { font-size: 28px; }
  .wclp-result-num { font-size: 30px; }
}

/* ================================================================
   VARIANT B — GreenLeaf (E-commerce style)
   ================================================================ */

/* --- Metrics: horizontal cards --- */
.wclp-metrics-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 40px;
}
.wclp-metric-card {
  background: #fff; border: 1px solid #e8ecef; border-radius: 12px;
  padding: 24px 20px; text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.wclp-metric-card:hover {
  transform: translateY(-6px); border-color: #27ae60;
  box-shadow: 0 12px 32px rgba(39,174,96,0.12);
}
.wclp-metric-card .num {
  display: block; font-size: 32px; font-weight: 900; color: #27ae60;
  font-family: 'Space Grotesk', sans-serif; line-height: 1; margin-bottom: 8px;
}
.wclp-metric-card .lbl {
  display: block; font-size: 12px; color: #888; text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 500;
}

/* --- Timeline steps --- */
.wclp-timeline { position: relative; padding-left: 40px; }
.wclp-timeline::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(180deg, #27ae60 0%, #1e73be 100%);
  border-radius: 2px;
}
.wclp-timeline-item {
  position: relative; padding: 28px 0 28px 28px;
  border-bottom: none;
}
.wclp-timeline-item::before {
  content: ''; position: absolute; left: -32px; top: 36px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #27ae60; border: 3px solid #fff;
  box-shadow: 0 0 0 3px #27ae60;
  z-index: 1;
}
.wclp-timeline-item:nth-child(even)::before { background: #1e73be; box-shadow: 0 0 0 3px #1e73be; }
.wclp-timeline-item h3 {
  font-family: 'Ubuntu', sans-serif; font-size: 20px; font-weight: 700;
  color: #1a1a2e; margin: 0 0 10px;
}
.wclp-timeline-item p {
  font-size: 14px; line-height: 1.8; color: #555; margin: 0;
}

/* --- Gradient button --- */
.wclp-btn-gradient {
  display: inline-block; padding: 14px 36px;
  background: linear-gradient(135deg, #27ae60 0%, #1e73be 100%);
  color: #fff !important; font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border-radius: 30px; transition: all 0.4s;
  box-shadow: 0 4px 20px rgba(39,174,96,0.3);
}
.wclp-btn-gradient:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(39,174,96,0.4);
}

/* --- 2-col gallery --- */
.wclp-gallery-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin: 30px 0;
}
.wclp-gallery-2col .wclp-gallery-item {
  aspect-ratio: 16/9; border-radius: 14px;
}

/* --- Results: large 2-col cards --- */
.wclp-results-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 40px;
}
.wclp-result-card-lg {
  background: #fff; border: 1px solid #e8ecef; border-radius: 16px;
  padding: 36px 32px; position: relative; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.4s;
}
.wclp-result-card-lg::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #27ae60, #1e73be);
}
.wclp-result-card-lg:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}
.wclp-result-card-lg .wclp-result-num {
  font-size: 44px; font-weight: 900; color: #27ae60;
  font-family: 'Space Grotesk', sans-serif; line-height: 1; margin-bottom: 8px;
}
.wclp-result-card-lg .wclp-result-name {
  font-size: 17px; font-weight: 700; color: #1a1a2e; margin-bottom: 12px;
}
.wclp-result-card-lg .wclp-result-desc {
  font-size: 13px; line-height: 1.7; color: #666;
}

/* --- Testimonial v2: centered --- */
.wclp-testimonial-v2 {
  background: linear-gradient(135deg, #f0faf4, #eef6fc);
  border: none; border-radius: 16px; padding: 48px 40px;
  margin: 40px 0; text-align: center; position: relative;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.wclp-testimonial-v2::before {
  content: '\201C'; position: absolute; top: 20px; left: 50%;
  transform: translateX(-50%); font-size: 72px; color: rgba(39,174,96,0.15);
  font-family: Georgia, serif; line-height: 1;
}
.wclp-testimonial-v2 p {
  font-size: 17px; line-height: 1.8; color: #333;
  font-style: italic; margin: 0 0 16px; max-width: 800px;
  display: inline-block;
}
.wclp-testimonial-v2 cite {
  font-size: 14px; color: #27ae60; font-style: normal; font-weight: 700;
}

/* --- GreenLeaf accent color override --- */
.wclp-page-green .wclp-label { color: #27ae60; }
.wclp-page-green .wclp-label::before { background: #27ae60; }
.wclp-page-green .wclp-tag {
  background: rgba(39,174,96,0.12); color: #27ae60;
  border-color: rgba(39,174,96,0.3);
}
.wclp-page-green .wclp-divider-down {
  background: linear-gradient(90deg, #27ae60 0%, #1e73be 100%);
}
.wclp-page-green .wclp-breadcrumb a { color: #27ae60; }
.wclp-page-green .wclp-btn-outline {
  border-color: #27ae60; color: #27ae60 !important;
}
.wclp-page-green .wclp-btn-outline:hover {
  background: #27ae60; color: #fff !important;
}
.wclp-page-green .wclp-detail-row strong { color: #27ae60; }

/* --- Fade-in animation --- */
@keyframes wclpFadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.wclp-anim-fade { opacity: 0; animation: wclpFadeInUp 0.7s ease forwards; }
.wclp-anim-fade:nth-child(2) { animation-delay: 0.1s; }
.wclp-anim-fade:nth-child(3) { animation-delay: 0.2s; }
.wclp-anim-fade:nth-child(4) { animation-delay: 0.3s; }
.wclp-anim-fade:nth-child(5) { animation-delay: 0.4s; }
.wclp-anim-fade:nth-child(6) { animation-delay: 0.5s; }


/* ================================================================
   VARIANT C — MedCore (Healthcare / Professional style)
   ================================================================ */

/* --- Metrics: bordered boxes 2x2 --- */
.wclp-metrics-boxes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 40px;
}
.wclp-metric-box {
  border: 2px solid #e8ecef; border-radius: 12px;
  padding: 28px 24px; text-align: center;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.wclp-metric-box::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: #2980b9; transform: scaleX(0);
  transition: transform 0.4s; transform-origin: left;
}
.wclp-metric-box:hover { border-color: #2980b9; }
.wclp-metric-box:hover::after { transform: scaleX(1); }
.wclp-metric-box .num {
  display: block; font-size: 38px; font-weight: 900; color: #2980b9;
  font-family: 'Space Grotesk', sans-serif; line-height: 1; margin-bottom: 8px;
}
.wclp-metric-box .lbl {
  display: block; font-size: 12px; color: #888; text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 500;
}

/* --- Card-grid steps --- */
.wclp-steps-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.wclp-step-card {
  background: #fff; border: 1px solid #e8ecef; border-radius: 14px;
  padding: 32px 28px; transition: all 0.35s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.wclp-step-card:hover {
  border-color: #2980b9; transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(41,128,185,0.1);
}
.wclp-step-card .wclp-step-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(41,128,185,0.1); color: #2980b9;
  font-size: 18px; font-weight: 900; margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
}
.wclp-step-card h3 {
  font-family: 'Ubuntu', sans-serif; font-size: 18px; font-weight: 700;
  color: #1a1a2e; margin: 0 0 10px;
}
.wclp-step-card p {
  font-size: 14px; line-height: 1.8; color: #555; margin: 0;
}
.wclp-step-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* --- Pill button --- */
.wclp-btn-pill {
  display: inline-block; padding: 14px 40px;
  background: #2980b9; color: #fff !important;
  font-size: 14px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  border-radius: 50px; transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(41,128,185,0.25);
}
.wclp-btn-pill:hover {
  background: #2471a3; transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(41,128,185,0.35);
}

/* --- Progress bar results --- */
.wclp-results-bars { margin-bottom: 40px; }
.wclp-result-bar {
  background: #fff; border: 1px solid #e8ecef; border-radius: 12px;
  padding: 24px 28px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 24px;
  transition: all 0.3s;
}
.wclp-result-bar:hover {
  border-color: #2980b9;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.wclp-result-bar .wclp-rb-num {
  font-size: 36px; font-weight: 900; color: #2980b9;
  font-family: 'Space Grotesk', sans-serif;
  min-width: 100px; flex-shrink: 0;
}
.wclp-result-bar .wclp-rb-content { flex: 1; }
.wclp-result-bar .wclp-rb-name {
  font-size: 16px; font-weight: 700; color: #1a1a2e; margin-bottom: 6px;
}
.wclp-result-bar .wclp-rb-desc {
  font-size: 13px; line-height: 1.7; color: #666;
}
.wclp-result-bar .wclp-rb-track {
  width: 80px; height: 6px; background: #eee; border-radius: 3px;
  overflow: hidden; flex-shrink: 0;
}
.wclp-result-bar .wclp-rb-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #2980b9, #27ae60);
  animation: wclpBarFill 1.5s ease forwards;
}
@keyframes wclpBarFill {
  from { width: 0; }
}

/* --- Testimonial v3: card with accent --- */
.wclp-testimonial-v3 {
  background: #fff; border: 1px solid #e8ecef;
  border-radius: 16px; padding: 36px 40px;
  margin: 36px 0; position: relative; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.wclp-testimonial-v3::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0;
  width: 5px; background: linear-gradient(180deg, #2980b9, #27ae60);
}
.wclp-testimonial-v3::after {
  content: '\201C'; position: absolute; top: 12px; right: 24px;
  font-size: 80px; color: rgba(41,128,185,0.08);
  font-family: Georgia, serif; line-height: 1;
}
.wclp-testimonial-v3 p {
  font-size: 16px; line-height: 1.85; color: #333;
  font-style: italic; margin: 0 0 16px; padding-left: 16px;
}
.wclp-testimonial-v3 cite {
  font-size: 14px; color: #2980b9; font-style: normal; font-weight: 700;
  padding-left: 16px;
}

/* --- MedCore accent color override --- */
.wclp-page-med .wclp-label { color: #2980b9; }
.wclp-page-med .wclp-label::before { background: #2980b9; }
.wclp-page-med .wclp-tag {
  background: rgba(41,128,185,0.12); color: #2980b9;
  border-color: rgba(41,128,185,0.3);
}
.wclp-page-med .wclp-divider-down {
  background: linear-gradient(90deg, #2980b9 0%, #27ae60 100%);
}
.wclp-page-med .wclp-breadcrumb a { color: #2980b9; }
.wclp-page-med .wclp-btn-outline {
  border-color: #2980b9; color: #2980b9 !important;
}
.wclp-page-med .wclp-btn-outline:hover {
  background: #2980b9; color: #fff !important;
}

/* --- SlideUp animation --- */
@keyframes wclpSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.wclp-anim-slide { opacity: 0; animation: wclpSlideUp 0.6s ease forwards; }
.wclp-anim-slide:nth-child(2) { animation-delay: 0.12s; }
.wclp-anim-slide:nth-child(3) { animation-delay: 0.24s; }
.wclp-anim-slide:nth-child(4) { animation-delay: 0.36s; }
.wclp-anim-slide:nth-child(5) { animation-delay: 0.48s; }

/* --- Variant responsive --- */
@media (max-width: 900px) {
  .wclp-metrics-cards { grid-template-columns: 1fr 1fr; }
  .wclp-metrics-boxes { grid-template-columns: 1fr; }
  .wclp-gallery-2col { grid-template-columns: 1fr; }
  .wclp-results-2col { grid-template-columns: 1fr; }
  .wclp-steps-grid { grid-template-columns: 1fr; }
  .wclp-result-bar { flex-wrap: wrap; }
  .wclp-result-bar .wclp-rb-track { width: 100%; }
}
@media (max-width: 600px) {
  .wclp-metrics-cards { grid-template-columns: 1fr; }
  .wclp-metric-card .num { font-size: 26px; }
  .wclp-metric-box .num { font-size: 30px; }
  .wclp-result-card-lg .wclp-result-num { font-size: 34px; }
}

/* === Hero highlights (GreenLeaf) === */
.wclp-hero-intro p {
  font-size: 17px; line-height: 1.85; color: #444; max-width: 900px;
  margin-bottom: 24px;
}
.wclp-hero-intro strong { color: #27ae60; font-weight: 700; }
.wclp-hero-highlights {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 8px 0 0;
}
.wclp-highlight-card {
  background: #fff; border: 1px solid #e8ecef; border-radius: 12px;
  padding: 24px 22px; position: relative; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.35s;
}
.wclp-highlight-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #27ae60, #1e73be);
  transform: scaleX(0); transition: transform 0.4s; transform-origin: left;
}
.wclp-highlight-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.08); }
.wclp-highlight-card:hover::before { transform: scaleX(1); }
.wclp-highlight-card strong {
  display: block; font-size: 13px; font-weight: 700; color: #27ae60;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px;
}
.wclp-highlight-card span {
  font-size: 14px; line-height: 1.7; color: #555;
}
@media (max-width: 900px) {
  .wclp-hero-highlights { grid-template-columns: 1fr; }
}

/* === MedCore highlight cards === */
.wclp-highlight-card-med strong { color: #2980b9; }
.wclp-highlight-card-med::before {
  background: linear-gradient(90deg, #2980b9, #27ae60);
}
.wclp-highlight-card-med:hover { border-color: #2980b9; }
.wclp-page-med .wclp-hero-intro strong { color: #2980b9; }

/* ================================================================
   CASE STUDIES LISTING — Card Styles
   ================================================================ */
.cs-card {
  display: flex; gap: 32px; align-items: center;
  background: #fff; border: 1px solid #e8ecef; border-radius: 14px;
  overflow: hidden; margin-bottom: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: all 0.4s;
}
.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: #ff6900;
}
.cs-card-reverse { flex-direction: row-reverse; }

.cs-card-img {
  flex: 0 0 420px; min-height: 280px; overflow: hidden;
}
.cs-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s, filter 0.5s;
  filter: grayscale(1) contrast(1.05);
}
.cs-card:hover .cs-card-img img { filter: grayscale(0); }
.cs-card:hover .cs-card-img img { transform: scale(1.05); }

.cs-card-body {
  flex: 1; padding: 28px 32px;
}
.cs-card-tags {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px;
  align-items: center;
}
.cs-tag {
  padding: 4px 14px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,105,0,0.1); color: #ff6900;
  border: 1px solid rgba(255,105,0,0.2);
}
.cs-tag-green {
  background: rgba(39,174,96,0.1); color: #27ae60;
  border-color: rgba(39,174,96,0.2);
}
.cs-tag-blue {
  background: rgba(41,128,185,0.1); color: #2980b9;
  border-color: rgba(41,128,185,0.2);
}
.cs-year {
  font-size: 11px; color: #999; font-weight: 600; letter-spacing: 0.05em;
}
.cs-card-body h3 {
  font-family: 'Ubuntu', sans-serif; font-size: 22px; font-weight: 700;
  color: #1a1a2e; margin: 0 0 10px; line-height: 1.3;
}
.cs-card-body p {
  font-size: 14px; line-height: 1.7; color: #555; margin: 0 0 16px;
}
.cs-metrics {
  display: flex; gap: 24px; margin-bottom: 16px;
  padding: 12px 0; border-top: 1px solid #f0f2f5;
}
.cs-metric { text-align: center; }
.cs-metric strong {
  display: block; font-size: 22px; font-weight: 900;
  color: #ff6900; line-height: 1; margin-bottom: 4px;
  font-family: 'Space Grotesk', sans-serif;
}
.cs-metric span {
  font-size: 10px; color: #888; text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cs-btn {
  display: inline-block; padding: 10px 28px;
  background: #ff6900; color: #fff !important;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  border-radius: 6px; transition: all 0.3s;
}
.cs-btn:hover {
  background: #e85d00; transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,105,0,0.3);
}
.cs-btn-green { background: #27ae60; }
.cs-btn-green:hover { background: #219a52; box-shadow: 0 4px 16px rgba(39,174,96,0.3); }
.cs-btn-blue { background: #2980b9; }
.cs-btn-blue:hover { background: #2471a3; box-shadow: 0 4px 16px rgba(41,128,185,0.3); }

/* Chess parallax sections need card bg adjustments */
.chess-parallax .cs-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
}

@media (max-width: 900px) {
  .cs-card, .cs-card-reverse { flex-direction: column; }
  .cs-card-img { flex: none; min-height: 200px; width: 100%; }
  .cs-metrics { flex-wrap: wrap; gap: 16px; }
}

/* ===== PORTFOLIO MOBILE FIXES ===== */
@media (max-width: 768px) {
  .wclp-hero { min-height: 50vh !important; }
  .wclp-hero.ios-no-video video { display: none !important; }
  .wclp-content { padding: 40px 16px !important; }
  .wclp-metrics { flex-direction: row !important; flex-wrap: wrap !important; gap: 12px !important; }
  .wclp-metric { flex: 1 1 45% !important; min-width: 140px !important; }
  .wclp-section-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .wclp-hero h1 { font-size: 22px !important; }
  .wclp-metric-value { font-size: 28px !important; }
}
