/*
Theme Name:  RekhaTech
Theme URI:   https://www.rekhatechllc.com
Author:      RekhaTech LLC
Author URI:  https://www.rekhatechllc.com
Description: Custom healthcare operations and technology theme for RekhaTech LLC. Two-pillar architecture: Revenue Cycle Management and Cybersecurity as a Service.
Version:     1.8.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rekhatech
Tags:        healthcare, custom, responsive, two-columns
*/

/* =====================
   RESET & VARIABLES
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:   #C94B1F;
  --orange-d: #A8390F;
  --ink:      #0D0D0D;
  --ink2:     #151515;
  --ink3:     #1E1E1E;
  --snow:     #FAFAFA;
  --cloud:    #F4F2EF;
  --line:     #DEDAD4;
  --t-dark:   #111111;
  --t-mid:    #3A3A3A;
  --t-soft:   #555555;
  --t-white:  #FFFFFF;
  --t-white2: #EBEBEB;
  --t-white3: #C8C8C8;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--snow); color: var(--t-dark); overflow-x: hidden; cursor: none; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; }
ul   { list-style: none; }

/* =====================
   CUSTOM CURSOR
   ===================== */
.cur, .cur-r {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
}
.cur   { width: 9px; height: 9px; background: var(--orange); transition: transform .15s; }
.cur-r { width: 32px; height: 32px; border: 1.5px solid var(--orange); opacity: .6; }

/* =====================
   NAV
   ===================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(24px, 5vw, 60px);
  background: rgba(250,250,250,.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: padding .3s ease, border-color .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); padding: 12px clamp(24px, 5vw, 60px); }

.site-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; background: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark svg { width: 18px; height: 18px; }
.logo-text { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 800; color: var(--t-dark); }
.logo-text span { color: var(--orange); }
.site-logo .custom-logo-link { display: flex; align-items: center; }
.site-logo img.custom-logo,
.site-logo .custom-logo-link img.custom-logo { height: 40px !important; width: auto !important; max-width: 200px !important; display: block !important; }
.site-header.scrolled img.custom-logo,
.site-header.scrolled .custom-logo-link img.custom-logo { height: 32px !important; width: auto !important; }

.main-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav a  { font-size: 11.5px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--t-soft); transition: color .2s; }
.main-nav a:hover { color: var(--ink); }

/* ── Dropdown Sub-Menu ── */
.main-nav .menu-item { position: relative; }
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(250,250,250,.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
  min-width: 260px;
  padding: 10px 0;
  z-index: 600;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 12px 36px rgba(0,0,0,.1);
  margin: 0;
}
.main-nav .menu-item-has-children:hover > .sub-menu {
  display: flex;
}
.main-nav .sub-menu li { width: 100%; }
.main-nav .sub-menu a {
  display: block;
  padding: 10px 22px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: none;
  color: var(--t-mid);
  white-space: normal;
  line-height: 1.5;
  transition: color .2s, background .2s;
}
.main-nav .sub-menu a:hover {
  color: var(--orange);
  background: var(--cloud);
}
.main-nav .menu-item-has-children > a::after {
  content: '▾';
  font-size: 9px;
  margin-left: 4px;
  opacity: .5;
}

.header-cta { background: var(--ink); color: var(--snow); padding: 10px 24px; font-size: 11.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; transition: background .2s; }
.header-cta:hover { background: var(--orange); color: var(--snow); }
.nav-toggle { display: none; }

/* =====================
   HERO
   ===================== */
.hero-section {
  min-height: 100vh;
  display: grid; grid-template-columns: 55% 45%;
  padding-top: 72px; overflow: hidden;
}
.hero-left { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(24px, 5vw, 60px); }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--orange); padding: 6px 14px;
  margin-bottom: 32px; width: fit-content;
  opacity: 0; animation: up .6s .1s forwards;
}
.hero-badge-dot { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; animation: blink 2s infinite; }
.hero-badge-txt { font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); }

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(46px, 5.5vw, 80px);
  font-weight: 800; line-height: .94; letter-spacing: -2.5px;
  color: var(--ink); margin-bottom: 26px;
  opacity: 0; animation: up .7s .2s forwards;
}
.hero-title .outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero-title .accent  { color: var(--orange); }

.hero-sub {
  font-family: 'Lora', serif; font-style: italic;
  font-size: 18px; line-height: 1.85; color: var(--t-mid);
  max-width: 420px; margin-bottom: 40px;
  opacity: 0; animation: up .7s .35s forwards;
}

.hero-pillars { display: flex; margin-bottom: 44px; opacity: 0; animation: up .7s .5s forwards; }
.hero-pillar  { flex: 1; padding: 18px 22px; border: 1px solid var(--line); background: var(--snow); }
.hero-pillar:first-child { border-right: none; }
.pillar-tag  { font-size: 10.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 5px; }
.pillar-name { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink); }
.pillar-desc { font-size: 13px; color: var(--t-mid); margin-top: 3px; line-height: 1.65; }

.hero-btns { display: flex; gap: 14px; align-items: center; opacity: 0; animation: up .7s .65s forwards; }

.btn-fill {
  background: var(--ink); color: var(--snow);
  padding: 15px 34px; font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  position: relative; overflow: hidden; display: inline-block;
}
.btn-fill::after { content: ''; position: absolute; inset: 0; background: var(--orange); transform: translateX(-101%); transition: transform .4s cubic-bezier(.77,0,.18,1); z-index: 0; }
.btn-fill:hover::after { transform: translateX(0); }
.btn-fill span { position: relative; z-index: 1; color: var(--snow); }

.btn-line {
  border: 1.5px solid var(--ink); color: var(--ink);
  padding: 14px 30px; font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: background .2s, color .2s; display: inline-block;
}
.btn-line:hover { background: var(--ink); color: var(--snow); }

.hero-right { background: var(--ink); position: relative; overflow: hidden; opacity: 0; animation: fade 1s .3s forwards; }
.hr-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(201,75,31,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(201,75,31,.09) 1px, transparent 1px); background-size: 42px 42px; }
.hr-glow { position: absolute; width: 460px; height: 460px; background: radial-gradient(circle, rgba(201,75,31,.22) 0%, transparent 68%); top: 50%; left: 50%; transform: translate(-50%,-50%); }

.hero-card { position: absolute; padding: 22px 26px; background: rgba(255,255,255,.07); border: 1px solid rgba(201,75,31,.4); backdrop-filter: blur(6px); }
.hero-card:nth-child(3) { bottom: 24%; left: 28px; }
.hero-card:nth-child(4) { top: 20%; right: 32px; }
.hcard-num   { font-family: 'Syne', sans-serif; font-size: 42px; font-weight: 800; color: var(--orange); line-height: 1; }
.hcard-label { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--t-white2); margin-top: 4px; }

.hero-hub { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; }
.hub-ring { width: 148px; height: 148px; border: 1px solid rgba(201,75,31,.5); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; }
.hub-ring::before { content: ''; position: absolute; inset: -14px; border: 1px solid rgba(201,75,31,.2); border-radius: 50%; }
.hub-inner { font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--t-white); text-transform: uppercase; line-height: 1.5; }
.hub-inner small { display: block; font-size: 9px; color: var(--orange); letter-spacing: 3px; margin-bottom: 3px; }

/* =====================
   MARQUEE
   ===================== */
.marquee-bar { background: var(--orange); padding: 14px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 56px; white-space: nowrap; animation: marquee-scroll 24s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 56px; font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #fff; }
.marquee-item::after { content: '·'; margin-left: -48px; }

/* =====================
   SHARED
   ===================== */
.sec-header { text-align: center; max-width: 640px; margin: 0 auto 72px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before,.eyebrow.center::after { content: ''; flex: 1; height: 1px; background: var(--line); max-width: 50px; }
.eyebrow.on-dark.center::before,.eyebrow.on-dark.center::after { background: rgba(201,75,31,.3); }

.sec-title { font-family: 'Syne', sans-serif; font-size: clamp(30px, 3.2vw, 50px); font-weight: 800; line-height: 1.05; letter-spacing: -1px; color: var(--t-dark); }
.sec-title em { font-family: 'Lora', serif; font-style: italic; font-weight: 400; color: var(--orange); }
.sec-title.white { color: var(--t-white); }
.sec-sub { font-size: 16px; color: var(--t-mid); line-height: 1.8; margin-top: 18px; font-weight: 300; }
.sec-sub.white { color: var(--t-white2); }

/* =====================
   STATS
   ===================== */
.stats-section { padding: 96px clamp(24px, 5vw, 60px); background: var(--ink); }
.stats-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-bottom: 3px; }
.stats-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.stat-block { background: var(--ink2); padding: 44px 38px; position: relative; overflow: hidden; transition: background .25s; }
.stat-block:hover { background: var(--ink3); }
.stat-block::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.77,0,.18,1); }
.stat-block:hover::before { transform: scaleX(1); }
.stat-vtag { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.stat-num  { font-family: 'Syne', sans-serif; font-size: clamp(42px, 5vw, 68px); font-weight: 800; color: var(--t-white); line-height: 1; letter-spacing: -2px; }
.stat-num b { color: var(--orange); font-weight: 800; }
.stat-desc { font-size: 15px; color: var(--t-white2); line-height: 1.8; margin-top: 12px; font-weight: 300; }

/* =====================
   PROBLEM
   ===================== */
.problem-section { padding: 112px clamp(24px, 5vw, 60px); background: var(--cloud); }
.prob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.prob-card { background: var(--snow); padding: 52px 48px; position: relative; }
.prob-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; }
.prob-card:first-child::before { background: linear-gradient(180deg, #EF4444, #F97316); }
.prob-card:last-child::before  { background: linear-gradient(180deg, var(--orange), var(--orange-d)); }
.prob-icon  { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.prob-card:first-child .prob-icon { background: rgba(239,68,68,.1); }
.prob-card:last-child  .prob-icon { background: rgba(201,75,31,.1); }
.prob-title { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700; color: var(--t-dark); margin-bottom: 14px; }
.prob-body  { font-size: 15.5px; color: var(--t-mid); line-height: 1.8; font-weight: 300; }
.prob-list  { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.prob-list li { font-size: 15px; color: var(--t-dark); font-weight: 400; display: flex; align-items: flex-start; gap: 10px; line-height: 1.65; }
.prob-list li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; margin-top: 7px; }

/* =====================
   VERTICALS
   ===================== */
.verticals-section { padding: 112px clamp(24px, 5vw, 60px); background: var(--ink); position: relative; overflow: hidden; }
.vert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: rgba(201,75,31,.18); }
.vert-card { background: var(--ink2); padding: 60px 52px; position: relative; overflow: hidden; transition: background .25s; }
.vert-card:hover { background: var(--ink3); }
.vert-bg-num { position: absolute; top: -12px; right: 28px; font-family: 'Syne', sans-serif; font-size: 100px; font-weight: 800; color: rgba(255,255,255,.025); pointer-events: none; line-height: 1; }
.vert-icon-box { width: 60px; height: 60px; background: rgba(201,75,31,.14); border: 1px solid rgba(201,75,31,.4); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.vert-tag    { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.vert-name   { font-family: 'Syne', sans-serif; font-size: 30px; font-weight: 800; color: var(--t-white); margin-bottom: 6px; line-height: 1.1; }
.vert-tagline{ font-family: 'Lora', serif; font-style: italic; font-size: 16px; color: var(--t-white3); margin-bottom: 24px; }
.vert-desc   { font-size: 15.5px; color: var(--t-white2); line-height: 1.8; font-weight: 300; margin-bottom: 32px; }
.vert-feats  { display: flex; flex-direction: column; gap: 11px; }
.vfeat       { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--t-white); font-weight: 400; }
.vfeat-dot   { width: 22px; height: 22px; flex-shrink: 0; background: rgba(201,75,31,.18); border: 1px solid rgba(201,75,31,.45); display: flex; align-items: center; justify-content: center; }

/* =====================
   WHO WE SERVE
   ===================== */
.serve-section { padding: 112px clamp(24px, 5vw, 60px); background: var(--snow); }
.serve-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); }
.serve-card { padding: 44px 28px; border-right: 1px solid var(--line); position: relative; overflow: hidden; transition: background .25s; }
.serve-card:last-child { border-right: none; }
.serve-card:hover { background: var(--cloud); }
.serve-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.77,0,.18,1); }
.serve-card:hover::after { transform: scaleX(1); }
.serve-icon  { width: 48px; height: 48px; background: var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.serve-type  { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: var(--t-dark); margin-bottom: 8px; }
.serve-blurb { font-size: 14px; color: var(--t-mid); font-weight: 300; line-height: 1.65; margin-bottom: 16px; }
.serve-pains { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.serve-pains li { font-size: 14px; color: var(--t-dark); font-weight: 400; display: flex; gap: 8px; align-items: flex-start; line-height: 1.55; }
.serve-pains li::before { content: '→'; color: var(--orange); font-size: 11px; flex-shrink: 0; font-weight: 700; }

/* =====================
   RCM SECTION
   ===================== */
.rcm-section { padding: 112px clamp(24px, 5vw, 60px); background: var(--cloud); }
.rcm-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; margin-bottom: 72px; }
.rcm-intro-p { font-size: 16px; color: var(--t-mid); line-height: 1.8; font-weight: 300; margin-top: 18px; }
.models-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.model-card  { padding: 44px; background: var(--snow); }
.model-card:first-child { border-right: 1px solid var(--line); }
.model-tag   { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.model-name  { font-family: 'Syne', sans-serif; font-size: 21px; font-weight: 700; color: var(--t-dark); margin-bottom: 14px; }
.model-body  { font-size: 15px; color: var(--t-mid); line-height: 1.8; font-weight: 300; }
.model-hl    { margin-top: 18px; padding: 14px 18px; background: var(--cloud); border-left: 3px solid var(--orange); }
.model-hl p  { font-size: 13.5px; font-family: 'Lora', serif; font-style: italic; color: var(--t-dark); }
.ops-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.ops-side  { background: var(--snow); padding: 48px 44px; }
.ops-badge { display: inline-block; padding: 5px 13px; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 14px; }
.ops-badge.front { background: rgba(201,75,31,.1); color: var(--orange); }
.ops-badge.back  { background: rgba(0,0,0,.07); color: var(--ink); }
.ops-label { font-family: 'Syne', sans-serif; font-size: 19px; font-weight: 700; color: var(--t-dark); margin-bottom: 10px; }
.ops-desc  { font-size: 15px; color: var(--t-mid); line-height: 1.7; font-weight: 300; margin-bottom: 24px; }
.tags-wrap  { display: flex; flex-wrap: wrap; gap: 7px; }
.service-tag { padding: 7px 15px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--t-dark); transition: all .2s; cursor: default; }
.service-tag:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* =====================
   CSAAS SECTION
   ===================== */
.csaas-section { padding: 112px clamp(24px, 5vw, 60px); background: var(--ink); }
.csaas-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: rgba(201,75,31,.18); }
.csaas-card { background: var(--ink2); padding: 44px 38px; transition: background .25s; }
.csaas-card:hover { background: var(--ink3); }
.csaas-icon { width: 50px; height: 50px; background: rgba(201,75,31,.13); border: 1px solid rgba(201,75,31,.35); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.csaas-title { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; color: var(--t-white); margin-bottom: 10px; }
.csaas-desc  { font-size: 15px; color: var(--t-white2); line-height: 1.75; font-weight: 300; }
.chips-wrap  { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip { font-size: 11.5px; font-weight: 600; letter-spacing: 1px; padding: 4px 10px; border: 1px solid rgba(201,75,31,.4); color: var(--orange); }

/* =====================
   PROCESS
   ===================== */
.process-section { padding: 112px clamp(24px, 5vw, 60px); background: var(--snow); }
.proc-steps { display: grid; grid-template-columns: repeat(3,1fr); position: relative; }
.proc-steps::before { content: ''; position: absolute; top: 50px; left: calc(16.67% + 24px); right: calc(16.67% + 24px); height: 1px; background: linear-gradient(90deg, var(--orange), rgba(201,75,31,.12)); z-index: 0; }
.proc-step  { padding: 0 36px; text-align: center; position: relative; z-index: 1; }
.step-ring  { width: 100px; height: 100px; background: var(--snow); border: 2px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; position: relative; transition: border-color .3s, background .3s; }
.proc-step:hover .step-ring { border-color: var(--orange); background: var(--orange); }
.step-ring svg { width: 30px; height: 30px; stroke: var(--ink); fill: none; stroke-width: 1.5; stroke-linecap: round; transition: stroke .3s; }
.proc-step:hover .step-ring svg { stroke: #fff; }
.step-num  { position: absolute; top: -8px; right: -6px; width: 26px; height: 26px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; color: #fff; }
.step-title { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; color: var(--t-dark); margin-bottom: 10px; }
.step-desc  { font-size: 15px; color: var(--t-mid); line-height: 1.75; font-weight: 300; }
.step-items { margin-top: 14px; display: flex; flex-direction: column; gap: 5px; }
.step-items span { font-size: 13px; color: var(--orange); font-weight: 500; }

/* =====================
   WHY US
   ===================== */
.why-section   { padding: 112px clamp(24px, 5vw, 60px); background: var(--cloud); }
.why-layout    { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.why-intro-p   { font-size: 15.5px; color: var(--t-mid); line-height: 1.8; font-weight: 300; margin-top: 18px; }
.why-metrics   { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin-top: 36px; }
.wmet          { background: var(--snow); padding: 26px 22px; }
.wmet-num      { font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 800; color: var(--t-dark); line-height: 1; }
.wmet-num b    { color: var(--orange); font-weight: 800; }
.wmet-label    { font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--t-soft); margin-top: 4px; }
.why-cards     { display: flex; flex-direction: column; gap: 2px; }
.why-card      { background: var(--snow); padding: 32px 36px; display: flex; gap: 20px; align-items: flex-start; border-left: 3px solid transparent; transition: border-color .3s, background .3s; }
.why-card:hover{ border-left-color: var(--orange); background: rgba(201,75,31,.025); }
.why-icon      { width: 42px; height: 42px; background: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-icon svg  { width: 18px; height: 18px; }
.why-card-title{ font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--t-dark); margin-bottom: 6px; }
.why-card-desc { font-size: 15px; color: var(--t-mid); line-height: 1.75; font-weight: 300; }

/* =====================
   TESTIMONIALS
   ===================== */
testimonials-section { padding: 112px clamp(24px, 5vw, 60px); background: var(--ink); position: relative; overflow: hidden; }
.testimonials-section::before { content: '"'; position: absolute; font-family: 'Lora', serif; font-size: 480px; color: rgba(201,75,31,.04); top: -60px; left: 30px; line-height: 1; pointer-events: none; }
.testi-grid   { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: rgba(201,75,31,.18); }
.testi-card   { background: var(--ink2); padding: 44px 36px; transition: background .25s; }
.testi-card:hover { background: var(--ink3); }
.testi-stars  { display: flex; gap: 3px; margin-bottom: 22px; }
.testi-stars span { color: var(--orange); font-size: 15px; }
.testi-quote  { font-family: 'Lora', serif; font-style: italic; font-size: 16.5px; color: var(--t-white); line-height: 1.85; margin-bottom: 28px; }
.testi-divider{ width: 36px; height: 2px; background: var(--orange); margin-bottom: 20px; }
.testi-name   { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: var(--t-white); }
.testi-role   { font-size: 13px; color: var(--t-white3); letter-spacing: 1px; margin-top: 3px; }
.testi-tag    { display: inline-block; margin-top: 12px; padding: 3px 10px; border: 1px solid rgba(201,75,31,.4); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); }

/* =====================
   CTA BANNER
   ===================== */
.cta-section { padding: 96px clamp(24px, 5vw, 60px); background: var(--orange); position: relative; overflow: hidden; }
.cta-section::before { content: 'FREE ASSESSMENT'; position: absolute; font-family: 'Syne', sans-serif; font-size: 130px; font-weight: 800; color: rgba(0,0,0,.07); white-space: nowrap; top: 50%; left: 50%; transform: translate(-50%,-50%); letter-spacing: -3px; pointer-events: none; }
.cta-inner   { display: flex; align-items: center; justify-content: space-between; gap: 48px; position: relative; z-index: 1; }
.cta-heading { font-family: 'Syne', sans-serif; font-size: clamp(26px,3.2vw,44px); font-weight: 800; color: #fff; line-height: 1.05; letter-spacing: -1px; }
.cta-para    { font-size: 16px; color: #FFFFFF; margin-top: 14px; font-weight: 300; max-width: 520px; line-height: 1.75; }
.cta-side    { display: flex; flex-direction: column; gap: 10px; align-items: center; flex-shrink: 0; }
.btn-white   { background: #fff; color: var(--orange); padding: 17px 42px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; transition: background .2s, transform .2s; display: inline-block; }
.btn-white:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.cta-note    { font-size: 12px; color: #E8E8E8; }

/* =====================
   CONTACT
   ===================== */
.contact-section { padding: 112px clamp(24px, 5vw, 60px); background: var(--snow); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-para    { font-size: 15.5px; color: var(--t-mid); line-height: 1.8; font-weight: 300; margin-top: 18px; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-detail  { display: flex; align-items: center; gap: 14px; font-size: 15.5px; font-weight: 500; color: var(--t-dark); }
.contact-icon    { width: 40px; height: 40px; background: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg{ width: 17px; height: 17px; }

/* Contact Form */
.rt-form         { display: flex; flex-direction: column; }
.form-row        { display: grid; grid-template-columns: 1fr 1fr; }
.form-group      { position: relative; border: 1px solid var(--line); margin: -1px 0 0 -1px; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 24px 18px 10px; background: var(--snow); border: none; outline: none; font-family: 'DM Sans', sans-serif; font-size: 14.5px; color: var(--t-dark); resize: none; appearance: none; -webkit-appearance: none; }
.form-group textarea { min-height: 120px; }
.form-label      { position: absolute; top: 11px; left: 18px; font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--t-soft); pointer-events: none; }
.form-group:focus-within { border-color: var(--ink); z-index: 1; }
.form-group:focus-within .form-label { color: var(--orange); }
.form-submit     { background: var(--ink); color: var(--snow); border: 1px solid var(--line); padding: 20px 36px; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; position: relative; overflow: hidden; margin: -1px 0 0 -1px; width: calc(100% + 1px); transition: color .3s; }
.form-submit::after { content: ''; position: absolute; inset: 0; background: var(--orange); transform: translateX(-101%); transition: transform .4s cubic-bezier(.77,0,.18,1); z-index: 0; }
.form-submit:hover::after { transform: translateX(0); }
.form-submit span { position: relative; z-index: 1; }

/* CF7 overrides */
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 .wpcf7-not-valid-tip     { font-size: 11px; color: #EF4444; margin-top: 4px; }
.wpcf7 .wpcf7-response-output   { margin-top: 12px; padding: 12px 16px; font-size: 13px; border: 1px solid var(--line); }

/* =====================
   FOOTER
   ===================== */

/* Main footer body */
.site-footer { background: var(--ink); padding: 60px clamp(24px, 5vw, 60px) 0; }

.footer-body {
  display: grid; grid-template-columns: clamp(200px, 22%, 280px) 1fr;
  gap: clamp(36px, 5vw, 72px); padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Left column */
.footer-brand { display: flex; flex-direction: column; gap: 0; }
.footer-logo  { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 14px; }
.footer-logo-box { width: 34px; height: 34px; background: var(--orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-logo-box svg { width: 18px; height: 18px; }
.footer-logo-name { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 800; color: var(--t-white); }
.footer-logo-name b { color: var(--orange); font-weight: 800; }
.footer-tagline { font-family: 'Lora', serif; font-style: italic; font-size: 13px; color: var(--t-white3); line-height: 1.65; margin-bottom: 28px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 11px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 11px; }
.fci-icon { width: 30px; height: 30px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.fci-icon svg { width: 13px; height: 13px; }
.fci-text { font-size: 13px; color: var(--t-white2); line-height: 1.55; }
.fci-text a { color: var(--t-white2); text-decoration: none; transition: color .2s; }
.fci-text a:hover { color: #fff; }

/* Right columns */
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.footer-col-head { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.footer-col-head::after { content: ''; flex: 1; height: 1px; background: rgba(201,75,31,.2); }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; color: var(--t-white3); text-decoration: none; transition: color .2s; padding-left: 0; }
.footer-links a:hover { color: #fff; }
.footer-links a::before { content: '→'; color: var(--orange); font-size: 10px; margin-right: 7px; opacity: 0; transition: opacity .2s; }
.footer-links a:hover::before { opacity: 1; }
.footer-area-label {
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--orange);
  margin-top: 14px; margin-bottom: 4px;
}

/* Bottom bar */
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; gap: 20px;
}
.footer-copy { font-size: 12px; color: var(--t-white3); }
.footer-badges { display: flex; align-items: center; gap: 10px; }
.footer-badge {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 13px; border: 1px solid rgba(201,75,31,.35);
}
.footer-badge svg { width: 13px; height: 13px; flex-shrink: 0; }
.footer-badge span { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); }

/* =====================
   INNER PAGES
   ===================== */
.page-hero { padding: 140px clamp(24px, 5vw, 60px) 80px; background: var(--ink); text-align: center; }
.page-hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(36px, 4vw, 64px); font-weight: 800; color: var(--t-white); letter-spacing: -1.5px; line-height: 1.05; }
.page-hero p  { font-family: 'Lora', serif; font-style: italic; font-size: 18px; color: var(--t-white3); margin-top: 20px; max-width: 560px; margin-left: auto; margin-right: auto; }
.page-content { padding: 80px 0; width: min(92vw, 900px); margin: 0 auto; }
.page-content h2 { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 700; color: var(--t-dark); margin: 48px 0 16px; }
.page-content p  { font-size: 16px; color: var(--t-mid); line-height: 1.8; margin-bottom: 20px; font-weight: 300; }

/* Blog Archive */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.blog-card { background: var(--snow); padding: 36px 32px; transition: background .25s; }
.blog-card:hover { background: var(--cloud); }
.blog-cat  { font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.blog-title { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; color: var(--t-dark); line-height: 1.2; margin-bottom: 12px; }
.blog-title a { color: inherit; transition: color .2s; }
.blog-title a:hover { color: var(--orange); }
.blog-excerpt { font-size: 15px; color: var(--t-mid); line-height: 1.7; font-weight: 300; }
.blog-meta  { font-size: 12px; color: var(--t-soft); margin-top: 16px; letter-spacing: 1px; }
.archive-section { padding: 80px clamp(24px, 5vw, 60px); background: var(--snow); }

/* 404 */
.not-found { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(24px, 5vw, 60px); }
.not-found h1 { font-family: 'Syne', sans-serif; font-size: 120px; font-weight: 800; color: var(--orange); line-height: 1; }
.not-found h2 { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 700; color: var(--t-dark); margin-top: 12px; }
.not-found p  { font-size: 16px; color: var(--t-soft); margin-top: 12px; max-width: 440px; line-height: 1.7; }

/* =====================
   ANIMATIONS
   ===================== */
@keyframes up   { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .site-header { padding: 14px 5%; }
  .site-header.scrolled { padding: 12px 5%; }
  .main-nav { display: none; }

  /* ── Mobile Nav Toggle Button ── */
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 36px; height: 36px; background: none;
    border: none; cursor: pointer; padding: 4px; flex-shrink: 0;
    z-index: 600;
  }
  .nav-toggle .bar {
    display: block; width: 24px; height: 2px;
    background: var(--ink); border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
    transform-origin: center;
  }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── Mobile Nav Dropdown ── */
  .main-nav.nav-open {
    display: block;
    position: fixed; top: 60px; left: 0; right: 0;
    background: rgba(250,250,250,.98); backdrop-filter: blur(20px);
    border-top: 2px solid var(--orange);
    border-bottom: 1px solid var(--line);
    padding: 16px 0 24px;
    z-index: 499;
    box-shadow: 0 12px 36px rgba(0,0,0,.1);
  }
  .main-nav.nav-open ul {
    flex-direction: column; gap: 0; padding: 0; margin: 0;
  }
  .main-nav.nav-open ul li a {
    display: block; padding: 13px 5%;
    font-size: 13px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--t-dark); border-bottom: 1px solid var(--line);
  }
  .main-nav.nav-open ul li:last-child a { border-bottom: none; }
  .main-nav.nav-open ul li a:hover { color: var(--orange); background: var(--cloud); }
  .main-nav.nav-open .sub-menu {
    position: static; display: block !important;
    background: var(--cloud); border: none;
    box-shadow: none; padding: 0;
  }
  .main-nav.nav-open .sub-menu a {
    padding-left: 8%;
    font-size: 12px; color: var(--t-mid);
    border-bottom: 1px solid var(--line);
  }
  .hero-section { grid-template-columns: 1fr; }
  .hero-left { padding: 60px 5%; }
  .hero-right { min-height: 280px; }
  .stats-section, .problem-section, .verticals-section, .serve-section,
  .rcm-section, .csaas-section, .process-section, .why-section,
  .testimonials-section, .cta-section, .contact-section,
  .archive-section, .page-hero, .page-content { padding-left: 5%; padding-right: 5%; }
  .stats-grid-2, .stats-grid-3, .prob-grid, .vert-grid,
  .csaas-grid, .testi-grid, .rcm-top, .ops-grid, .why-layout { grid-template-columns: 1fr; }
  .models-grid { grid-template-columns: 1fr; }
  .model-card:first-child { border-right: none; border-bottom: 1px solid var(--line); }
  .serve-grid { grid-template-columns: 1fr 1fr; }
  .serve-card { border-right: none; border-bottom: 1px solid var(--line); }
  .proc-steps { grid-template-columns: 1fr; gap: 44px; }
  .proc-steps::before { display: none; }
  .cta-inner { flex-direction: column; text-align: center; }
  .contact-section { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer { padding: 44px 5% 0; }
  .footer-body { grid-template-columns: 1fr; gap: 44px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* =====================
   PILLAR PAGE STYLES
   ===================== */

.pillar-page { font-family: 'DM Sans', sans-serif; }

/* Hero */
.pp-hero { background: var(--ink); padding: 96px clamp(24px, 5vw, 60px); text-align: center; position: relative; overflow: hidden; }
.pp-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(201,75,31,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(201,75,31,.07) 1px, transparent 1px); background-size: 42px 42px; pointer-events: none; }
.pp-hero-badge { display: inline-block; padding: 6px 16px; border: 1px solid rgba(201,75,31,.5); font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 24px; position: relative; z-index: 1; }
.pp-hero-title { font-family: 'Syne', sans-serif; font-size: clamp(36px, 4.5vw, 64px); font-weight: 800; color: #fff; line-height: 1.05; letter-spacing: -1.5px; margin-bottom: 20px; position: relative; z-index: 1; padding: 0 clamp(16px, 4vw, 60px); }
.pp-hero-sub { font-family: 'Lora', serif; font-size: 17px; color: #FFFFFF; line-height: 1.8; max-width: 680px; margin: 0 auto 44px; position: relative; z-index: 1; text-align: center; padding: 0; text-shadow: 0 1px 16px rgba(0,0,0,.8); font-weight: 400; opacity: 1; }

.pp-hero-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: transparent; max-width: 860px; margin: 0 auto 44px; position: relative; z-index: 1; overflow: hidden; border-bottom: none; }
.pp-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(201,75,31,.3); padding: 28px 20px; }
.pp-stat-num { display: block; font-family: 'Syne', sans-serif; font-size: clamp(32px, 3.5vw, 48px); font-weight: 800; color: var(--orange); line-height: 1; }
.pp-stat-label { display: block; font-size: 11px; color: var(--t-white3); letter-spacing: 1px; margin-top: 6px; line-height: 1.4; }

.pp-hero-btns { display: flex; gap: 14px; justify-content: center; position: relative; z-index: 1; }
.pp-hero-btns .btn-fill { background: var(--orange); color: #fff; padding: 15px 34px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; display: inline-block; position: relative; overflow: hidden; }
.pp-hero-btns .btn-fill span { position: relative; z-index: 1; }
.pp-hero-btns .btn-line { border: 1.5px solid #fff; color: #fff; padding: 14px 30px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; }

/* Section base */
.pp-section { padding: 96px clamp(24px, 5vw, 60px); }
.pp-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.pp-h2 { font-family: 'Syne', sans-serif; font-size: clamp(28px, 3vw, 44px); font-weight: 800; color: var(--t-dark); line-height: 1.05; letter-spacing: -1px; margin-bottom: 16px; }
.pp-h2.w { color: #fff; }
.pp-h2-sm { font-family: 'Syne', sans-serif; font-size: clamp(22px, 2.5vw, 34px); font-weight: 800; color: var(--t-dark); line-height: 1.1; letter-spacing: -.5px; margin-bottom: 14px; }
.pp-lead { font-size: 16px; color: var(--t-mid); line-height: 1.8; font-weight: 300; max-width: 680px; margin-bottom: 48px; }

/* Problem */
.pp-problem { background: var(--cloud); }
.pp-problem-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--line); }
.pp-problem-card { background: var(--snow); padding: 36px 28px; }
.pp-problem-icon { font-size: 28px; margin-bottom: 14px; }
.pp-problem-card h3 { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--t-dark); margin-bottom: 10px; }
.pp-problem-card p { font-size: 15px; color: var(--t-mid); line-height: 1.7; font-weight: 300; }

/* Models */
.pp-models { background: var(--snow); }
.pp-models-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.pp-model-card { background: var(--cloud); padding: 52px 44px; }
.pp-model-featured { background: var(--ink); }
.pp-model-tag { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.pp-model-name { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800; color: var(--t-dark); margin-bottom: 16px; }
.pp-model-featured .pp-model-name { color: #fff; }
.pp-model-desc { font-size: 15px; color: var(--t-mid); line-height: 1.8; font-weight: 300; margin-bottom: 20px; }
.pp-model-featured .pp-model-desc { color: var(--t-white2); }
.pp-model-ideal { padding: 14px 18px; background: rgba(201,75,31,.1); border-left: 3px solid var(--orange); margin-bottom: 24px; font-size: 13px; color: var(--t-dark); font-family: 'Lora', serif; font-style: italic; }
.pp-model-featured .pp-model-ideal { background: rgba(201,75,31,.15); color: var(--t-white2); }
.pp-model-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.pp-model-list li { font-size: 14px; color: var(--t-dark); display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; }
.pp-model-featured .pp-model-list li { color: var(--t-white2); }
.pp-model-list li::before { content: '→'; color: var(--orange); font-size: 11px; flex-shrink: 0; font-weight: 700; margin-top: 2px; }
.pp-model-cta { display: inline-block; padding: 14px 32px; background: var(--orange); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.pp-model-cta:hover { background: var(--orange-d); }

/* Services grids */
.pp-office { background: var(--snow); }
.pp-back-office { background: var(--cloud); }
.pp-services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--line); }
.pp-service-card { background: var(--snow); padding: 36px 30px; border-left: 3px solid transparent; transition: border-color .3s, background .3s; }
.pp-back-office .pp-service-card { background: var(--cloud); }
.pp-service-card:hover { border-left-color: var(--orange); background: rgba(201,75,31,.025); }
.pp-service-card h3 { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.pp-service-card h3 a { color: var(--t-dark); text-decoration: none; transition: color .2s; }
.pp-service-card h3 a:hover { color: var(--orange); }
.pp-service-card p { font-size: 15px; color: var(--t-mid); line-height: 1.7; font-weight: 300; }

/* Who we serve */
.pp-who { background: var(--ink); }
.pp-who .pp-eyebrow { color: var(--orange); }
.pp-who .pp-h2 { color: #fff; }
.pp-who-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: rgba(201,75,31,.2); }
.pp-who-card { background: var(--ink2); padding: 36px 28px; transition: background .25s; }
.pp-who-card:hover { background: var(--ink3); }
.pp-who-card h3 { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.pp-who-card p { font-size: 14px; color: var(--t-white2); line-height: 1.7; font-weight: 300; }

/* Results */
.pp-results { background: var(--cloud); }
.pp-results-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--line); }
.pp-result-card { background: var(--snow); padding: 44px 32px; text-align: center; }
.pp-result-num { font-family: 'Syne', sans-serif; font-size: clamp(42px,5vw,64px); font-weight: 800; color: var(--orange); line-height: 1; letter-spacing: -2px; margin-bottom: 12px; }
.pp-result-label { font-size: 14px; color: var(--t-mid); line-height: 1.6; font-weight: 300; }

/* Testimonial */
.pp-testimonial { background: var(--ink); padding: 80px clamp(24px, 5vw, 60px); text-align: center; }
.pp-quote { font-family: 'Lora', serif; font-style: italic; font-size: clamp(18px,2.2vw,26px); color: #fff; line-height: 1.7; max-width: 800px; margin: 0 auto 24px; border: none; }
.pp-quote-attr { font-size: 13px; color: var(--t-white3); letter-spacing: 1px; }
.pp-quote-attr strong { color: var(--orange); }

/* Process */
.pp-process { background: var(--snow); }
.pp-process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--line); }
.pp-process-step { background: var(--cloud); padding: 44px 36px; }
.pp-process-num { font-family: 'Syne', sans-serif; font-size: 64px; font-weight: 800; color: rgba(201,75,31,.15); line-height: 1; margin-bottom: 16px; }
.pp-process-step h3 { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; color: var(--t-dark); margin-bottom: 10px; }
.pp-process-step p { font-size: 15px; color: var(--t-mid); line-height: 1.75; font-weight: 300; }

/* Crosslink */
.pp-crosslink { background: var(--cloud); }
.pp-crosslink-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 52px; background: var(--snow); border-left: 4px solid var(--orange); }
.pp-crosslink-inner a.btn-fill { flex-shrink: 0; }
.pp-crosslink p { font-size: 15px; color: var(--t-mid); line-height: 1.8; font-weight: 300; margin-top: 12px; }
.pp-crosslink p a { color: var(--orange); font-weight: 500; }

/* CTA */
.pp-cta { background: var(--orange); text-align: center; }
.pp-cta-sub { font-size: 16px; color: #fff; line-height: 1.8; font-weight: 300; max-width: 580px; margin: 16px auto 32px; }
.pp-cta-note { font-size: 12px; color: rgba(255,255,255,.8); margin-top: 14px; }

/* =====================
   FULL WIDTH PAGE OVERRIDE
   ===================== */
body.page:not(.home) .entry-content,
body.page:not(.home) #main-content,
body.page:not(.home) article,
body.page:not(.home) .post-content,
body.page:not(.home) .site-content,
body.page:not(.home) .content-area,
body.page:not(.home) main {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.pillar-page { max-width: 100% !important; width: 100% !important; }

/* =====================
   CSAAS PILLAR STYLES
   ===================== */
.pp-csaas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.pp-csaas-card { background: var(--cloud); padding: 44px 36px; border-left: 3px solid transparent; transition: border-color .3s, background .3s; }
.pp-csaas-card:hover { border-left-color: var(--orange); background: rgba(201,75,31,.025); }
.pp-csaas-icon { width: 52px; height: 52px; background: rgba(201,75,31,.1); border: 1px solid rgba(201,75,31,.3); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.pp-csaas-tag { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.pp-csaas-name { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800; color: var(--t-dark); margin-bottom: 14px; line-height: 1.1; }
.pp-csaas-desc { font-size: 15px; color: var(--t-mid); line-height: 1.8; font-weight: 300; margin-bottom: 18px; }
.pp-csaas-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-chip { font-size: 11.5px; font-weight: 600; letter-spacing: 1px; padding: 4px 10px; border: 1px solid var(--line); color: var(--t-dark); transition: all .2s; }
.pp-chip:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.pp-csaas-outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.pp-outcome { background: var(--snow); padding: 32px 28px; display: flex; gap: 18px; align-items: flex-start; }
.pp-outcome-mark { color: var(--orange); font-size: 20px; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.pp-outcome strong { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: var(--t-dark); display: block; margin-bottom: 6px; }
.pp-outcome p { font-size: 15px; color: var(--t-mid); line-height: 1.7; font-weight: 300; }

.pp-faq-list { max-width: 860px; display: flex; flex-direction: column; gap: 2px; background: var(--line); }
.pp-faq-item { background: var(--snow); border-left: 3px solid transparent; transition: border-color .25s; }
.pp-faq-item.open { border-left-color: var(--orange); }
.pp-faq-q { width: 100%; text-align: left; background: none; border: none; outline: none; padding: 24px 28px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: var(--t-dark); line-height: 1.4; }
.pp-faq-q::after { content: '+'; color: var(--orange); font-size: 22px; font-weight: 400; flex-shrink: 0; transition: transform .25s; }
.pp-faq-item.open .pp-faq-q::after { transform: rotate(45deg); }
.pp-faq-a { display: none; padding: 0 28px 24px; }
.pp-faq-item.open .pp-faq-a { display: block; }
.pp-faq-a p { font-size: 15px; color: var(--t-mid); line-height: 1.8; font-weight: 300; }

/* =====================
   WHO WE SERVE PAGE
   ===================== */
.wws-intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.wws-intro-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.wws-istat { background: var(--snow); padding: 28px 24px; }
.wws-istat-n { font-family: 'Syne', sans-serif; font-size: 36px; font-weight: 800; color: var(--t-dark); line-height: 1; }
.wws-istat-n span { color: var(--orange); }
.wws-istat-l { font-size: 11px; color: var(--t-soft); letter-spacing: 1px; margin-top: 5px; line-height: 1.5; text-transform: uppercase; }

.wws-type-header { display: flex; align-items: flex-start; gap: 32px; margin-bottom: 56px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.wws-type-num { font-family: 'Syne', sans-serif; font-size: 96px; font-weight: 800; color: rgba(201,75,31,.1); line-height: 1; flex-shrink: 0; margin-top: -12px; }
.wws-type-sub { font-size: 16px; color: var(--t-mid); line-height: 1.75; font-weight: 300; margin-top: 12px; max-width: 640px; }

.wws-type-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.wws-col-label { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 24px; }

.wws-challenge-list { display: flex; flex-direction: column; gap: 2px; background: var(--line); }
.wws-challenge { background: var(--snow); padding: 26px 24px; border-left: 3px solid transparent; transition: border-color .25s; }
.wws-challenge:hover { border-left-color: #EF4444; }
.wws-challenge-dark { background: var(--ink2) !important; }
.wws-challenge-dark:hover { border-left-color: rgba(239,68,68,.6) !important; }
.wws-challenge h4 { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: var(--t-dark); margin-bottom: 7px; }
.wws-challenge p { font-size: 15px; color: var(--t-mid); line-height: 1.7; font-weight: 300; }

.wws-solution-col { display: flex; flex-direction: column; gap: 2px; }
.wws-solution-card { padding: 36px 32px; background: var(--cloud); border: 1px solid var(--line); }
.wws-solution-dark { background: var(--ink); border-color: rgba(201,75,31,.3); }
.wws-solution-tag { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.wws-sol-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.wws-sol-list li { font-size: 15px; color: var(--t-dark); display: flex; align-items: flex-start; gap: 10px; line-height: 1.65; font-weight: 400; }
.wws-solution-dark .wws-sol-list li { color: var(--t-white2); }
.wws-sol-list li::before { content: '→'; color: var(--orange); font-size: 11px; flex-shrink: 0; font-weight: 700; margin-top: 2px; }
.wws-cta { display: inline-block; margin-top: 2px; padding: 18px 28px; background: var(--ink); color: var(--snow); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.wws-cta:hover { background: var(--orange); color: #fff; }

/* Pillar page responsive */
@media (max-width: 1024px) {
  .pp-hero, .pp-section { padding: 72px 5%; }
  .pp-hero-stats, .pp-problem-grid, .pp-who-grid, .pp-results-grid { grid-template-columns: 1fr 1fr; }
  .pp-models-grid, .pp-process-grid { grid-template-columns: 1fr; }
  .pp-services-grid { grid-template-columns: 1fr 1fr; }
  .pp-crosslink-inner { flex-direction: column; text-align: center; }
  .pp-hero-btns { flex-direction: column; align-items: center; }
  .pp-csaas-grid { grid-template-columns: 1fr 1fr; }
  .pp-csaas-outcomes { grid-template-columns: 1fr; }
  .wws-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .wws-type-body { grid-template-columns: 1fr; }
  .wws-type-header { gap: 20px; }
  .wws-type-num { font-size: 64px; }
  .pp-hero-title { padding: 0 5%; }
}
@media (max-width: 640px) {
  .pp-hero-stats, .pp-problem-grid, .pp-services-grid, .pp-who-grid, .pp-results-grid { grid-template-columns: 1fr; }
  .pp-csaas-grid { grid-template-columns: 1fr; }
  .wws-intro-stats { grid-template-columns: 1fr; }
}

/* =====================
   ABOUT US PAGE
   ===================== */
.abt-rekha { background: var(--cloud); }
.abt-rekha-inner { display: grid; grid-template-columns: clamp(180px, 22%, 260px) 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; width: min(92vw, 1100px); margin: 0 auto; }
.abt-rekha-word { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 100px; }
.abt-rekha-hindi { font-family: 'Syne', sans-serif; font-size: 88px; font-weight: 800; color: var(--orange); line-height: 1; letter-spacing: -2px; }
.abt-rekha-eng { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 700; color: var(--t-dark); letter-spacing: -0.5px; }
.abt-rekha-def { font-family: 'Lora', serif; font-style: italic; font-size: 15px; color: var(--t-soft); }
.abt-rekha-pillars { display: flex; flex-direction: column; gap: 28px; margin-top: 28px; }
.abt-rekha-pillar { display: flex; gap: 18px; align-items: flex-start; padding: 24px 28px; border-left: 3px solid var(--orange); }
.abt-rekha-pillar-light { background: var(--snow); }
.abt-rekha-pillar-icon { font-size: 24px; color: var(--orange); font-weight: 700; flex-shrink: 0; line-height: 1.4; }
.abt-rekha-pillar strong { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: var(--t-dark); display: block; margin-bottom: 6px; }
.abt-rekha-pillar p { font-size: 15px; color: var(--t-mid); line-height: 1.8; font-weight: 300; margin: 0; }

.abt-story { background: var(--snow); }
.abt-story-grid { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(36px, 5vw, 72px); align-items: start; max-width: 100%; }
.abt-timeline { display: flex; flex-direction: column; gap: 0; margin-top: 40px; position: relative; }
.abt-timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 56px; width: 1px; background: var(--line); }
.abt-titem { display: flex; gap: 32px; align-items: flex-start; padding-bottom: 40px; position: relative; }
.abt-titem:last-child { padding-bottom: 0; }
.abt-tyear { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: 1px; width: 56px; flex-shrink: 0; padding-top: 3px; }
.abt-tcontent { flex: 1; }
.abt-tcontent::before { content: ''; position: absolute; left: 52px; top: 6px; width: 9px; height: 9px; background: var(--orange); border-radius: 50%; border: 2px solid var(--snow); }
.abt-tcontent h4 { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--t-dark); margin-bottom: 8px; }
.abt-tcontent p { font-size: 15px; color: var(--t-mid); line-height: 1.8; font-weight: 300; margin: 0; }

.abt-certifications { background: var(--cloud); padding: 36px; }
.abt-cert-list { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; }
.abt-cert { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: var(--snow); }
.abt-cert-badge { width: 28px; height: 28px; background: var(--orange); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.abt-cert-badge-pending { background: transparent; border: 1.5px solid var(--t-soft); color: var(--t-soft); }
.abt-cert strong { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: var(--t-dark); display: block; margin-bottom: 5px; }
.abt-cert p { font-size: 14px; color: var(--t-mid); line-height: 1.75; font-weight: 300; margin: 0; }

.abt-global { margin-top: 48px; }
.abt-locations { display: flex; flex-direction: column; gap: 2px; }
.abt-location { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; background: var(--cloud); border-left: 3px solid transparent; transition: border-color .2s; }
.abt-location:hover { border-left-color: var(--orange); }
.abt-loc-flag { font-size: 22px; flex-shrink: 0; line-height: 1.4; }
.abt-location strong { font-family: 'Syne', sans-serif; font-size: 13.5px; font-weight: 700; color: var(--t-dark); display: block; margin-bottom: 3px; }
.abt-location p { font-size: 14px; color: var(--t-mid); line-height: 1.65; font-weight: 300; margin: 0; }

.abt-founder { background: var(--cloud); }
.abt-founder-grid { display: grid; grid-template-columns: clamp(240px, 28%, 360px) 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.abt-founder-photo img { width: 100%; display: block; filter: grayscale(20%); }
.abt-founder-contact { margin-top: 16px; }
.abt-founder-cta { display: block; background: var(--ink); color: #fff; padding: 14px 28px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; text-align: center; transition: background .2s; }
.abt-founder-cta:hover { background: var(--orange); }
.abt-founder-title { font-family: 'Lora', serif; font-style: italic; font-size: 15px; color: var(--t-soft); margin-top: 6px; margin-bottom: 4px; }
.abt-founder-creds { display: flex; gap: 2px; margin-top: 32px; }
.abt-fcred { flex: 1; background: var(--snow); padding: 20px 18px; text-align: center; }
.abt-fcred-n { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: var(--t-dark); display: block; line-height: 1; }
.abt-fcred-l { font-size: 11px; color: var(--t-soft); letter-spacing: 1px; text-transform: uppercase; display: block; margin-top: 6px; line-height: 1.4; }

.abt-diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: rgba(201,75,31,.15); margin-top: 0; }
.abt-diff { background: var(--ink2); padding: 36px 32px; display: flex; gap: 20px; align-items: flex-start; transition: background .2s; }
.abt-diff:hover { background: var(--ink3); }
.abt-diff-mark { font-size: 20px; color: var(--orange); font-weight: 700; flex-shrink: 0; line-height: 1.6; }
.abt-diff h4 { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: var(--t-white); margin-bottom: 10px; line-height: 1.4; }
.abt-diff p { font-size: 15px; color: var(--t-white2); line-height: 1.8; font-weight: 300; margin: 0; }

@media (max-width: 1024px) {
  .abt-rekha-inner, .abt-story-grid, .abt-founder-grid, .abt-diff-grid { grid-template-columns: 1fr; }
  .abt-rekha-hindi { font-size: 64px; }
  .abt-rekha-word { position: static; flex-direction: row; align-items: baseline; gap: 16px; flex-wrap: wrap; }
  .abt-founder-photo img { max-width: 320px; }
}

/* =====================
   CONTACT PAGE
   ===================== */
.contact-body { background: var(--cloud); }
.contact-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.2fr !important;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.contact-left, .contact-right { width: auto !important; max-width: none !important; float: none !important; }
.contact-grid > p { display: none; }

.contact-intro { margin-bottom: 44px; }
.contact-details { display: flex; flex-direction: column; gap: 2px; background: var(--line); margin-bottom: 36px; }
.contact-det { background: var(--snow); padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
.contact-det-icon { width: 38px; height: 38px; background: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-det-icon svg { width: 16px; height: 16px; }
.contact-det-label { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
.contact-det-val { font-size: 15px; color: var(--t-dark); font-weight: 400; line-height: 1.6; text-decoration: none; }
a.contact-det-val:hover { color: var(--orange); }

.contact-what-label { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.contact-what-steps { display: flex; flex-direction: column; gap: 2px; background: var(--line); }
.contact-what-step { background: var(--snow); padding: 16px 20px; display: flex; gap: 14px; align-items: flex-start; }
.contact-what-n { width: 26px; height: 26px; background: var(--orange); color: #fff; font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%; }
.contact-what-step p { font-size: 14.5px; color: var(--t-dark); line-height: 1.6; font-weight: 400; margin-top: 3px; }

.contact-right { position: sticky; top: 90px; }
.contact-form-wrap { background: var(--snow); border: 1px solid var(--line); }
.contact-form-header { padding: 28px 32px; border-bottom: 1px solid var(--line); }
.contact-form-header h3 { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; color: var(--t-dark); }
.contact-form-header p { font-size: 13px; color: var(--t-soft); margin-top: 4px; }
.contact-form-wrap .wpcf7 { padding: 0; }
.contact-form-wrap .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contact-form-wrap .wpcf7-form .wpcf7-form-control-wrap { display: block; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); box-sizing: border-box; }
.contact-form-wrap .wpcf7-form .wpcf7-form-control-wrap[data-name="practice-name"],
.contact-form-wrap .wpcf7-form .wpcf7-form-control-wrap[data-name="practice-type"],
.contact-form-wrap .wpcf7-form .wpcf7-form-control-wrap[data-name="service-interest"],
.contact-form-wrap .wpcf7-form .wpcf7-form-control-wrap[data-name="your-message"] { grid-column: 1 / -1; }
.contact-form-wrap .wpcf7-form input[type="submit"] { grid-column: 1 / -1; }
.contact-form-wrap .wpcf7-form input[type="text"],
.contact-form-wrap .wpcf7-form input[type="email"],
.contact-form-wrap .wpcf7-form input[type="tel"],
.contact-form-wrap .wpcf7-form select,
.contact-form-wrap .wpcf7-form textarea { width: 100%; padding: 28px 18px 12px; background: var(--snow); border: none; outline: none; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--t-dark); resize: none; appearance: none; display: block; box-sizing: border-box; }
.contact-form-wrap .wpcf7-form textarea { min-height: 120px; }
.contact-form-wrap .wpcf7-form select { cursor: pointer; }
.contact-form-wrap .wpcf7-form .wpcf7-form-control-wrap:focus-within { border-color: var(--ink); z-index: 1; }
.contact-form-wrap .wpcf7-form input[type="submit"] { width: 100%; background: var(--ink); color: var(--snow); border: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 36px; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; display: block; transition: background .3s; }
.contact-form-wrap .wpcf7-form input[type="submit"]:hover { background: var(--orange); }
.contact-form-wrap .wpcf7-not-valid-tip { font-size: 11px; color: #EF4444; padding: 4px 16px 8px; display: block; }
.contact-form-wrap .wpcf7-response-output { margin: 0; padding: 16px 18px; font-size: 13px; border: none !important; clear: both; }
.contact-form-wrap .wpcf7-mail-sent-ok { background: rgba(34,197,94,.1); color: #166534; }
.contact-form-wrap .wpcf7-mail-sent-ng,
.contact-form-wrap .wpcf7-validation-errors { background: rgba(239,68,68,.1); color: #991b1b; }

.contact-reassure { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.contact-reassure-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--t-white2); font-weight: 400; }
.contact-reassure-icon { color: var(--orange); font-size: 15px; font-weight: 700; }

@media (max-width: 1024px) {
  .contact-body .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-right { position: static; }
  .contact-reassure { gap: 24px; justify-content: flex-start; }
  .contact-form-wrap .wpcf7-form { grid-template-columns: 1fr; }
}

/* =====================
   FULL WIDTH PAGE OVERRIDE
   ===================== */
.page-template-default .entry-content,
body.page:not(.home) .entry-content,
body.page:not(.home) #main-content,
body.page:not(.home) article,
body.page:not(.home) .post-content,
body.page:not(.home) .site-content,
body.page:not(.home) .content-area,
body.page:not(.home) main {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.pillar-page { max-width: 100% !important; width: 100% !important; }

/* Force homepage section padding */
.home .serve-section,
.home .stats-section,
.home .problem-section,
.home .verticals-section,
.home .rcm-section,
.home .csaas-section,
.home .why-section,
.home .testimonials-section,
.home .cta-section,
.home .contact-section {
  padding-left: clamp(24px, 5vw, 60px) !important;
  padding-right: clamp(24px, 5vw, 60px) !important;
}
@media (max-width: 1024px) {
  .home .serve-section,
  .home .stats-section,
  .home .problem-section,
  .home .verticals-section,
  .home .rcm-section,
  .home .csaas-section,
  .home .why-section,
  .home .testimonials-section,
  .home .cta-section,
  .home .contact-section {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
}

/* =====================
   HERO REFINEMENT
   ===================== */
.hero-section { min-height: 100vh; align-items: stretch; }

.hero-left {
  padding: 40px clamp(24px, 5.5vw, 72px);
  justify-content: center;
  background: var(--snow);
  position: relative;
  overflow: hidden;
}
.hero-left::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,75,31,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,75,31,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none; z-index: 0;
}
.hero-left > * { position: relative; z-index: 1; }
.hero-left::after {
  content: '';
  position: absolute;
  top: 20%; bottom: 20%; left: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--orange), transparent);
  pointer-events: none;
}

.hero-title { font-size: clamp(52px, 6vw, 88px); letter-spacing: -3px; line-height: .92; margin-bottom: 30px; }
.hero-sub { font-size: 18px; line-height: 1.9; max-width: 460px; color: var(--t-mid); margin-bottom: 44px; }
.hero-pillars { margin-bottom: 48px; gap: 0; }
.hero-pillar { padding: 20px 24px; border: 1px solid var(--line); background: rgba(255,255,255,.8); position: relative; transition: background .2s, border-color .2s; }
.hero-pillar:hover { background: white; border-color: rgba(201,75,31,.35); }
.hero-pillar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.77,0,.18,1); }
.hero-pillar:hover::before { transform: scaleX(1); }
.pillar-tag  { font-size: 10px; letter-spacing: 3px; }
.pillar-name { font-size: 14.5px; margin-top: 2px; }
.pillar-desc { font-size: 12.5px; color: var(--t-soft); margin-top: 4px; }
.hero-btns { gap: 16px; }
.btn-fill   { padding: 16px 38px; }
.btn-line   { padding: 15px 32px; }
.hero-badge { padding: 7px 16px; margin-bottom: 28px; }
.hero-badge-txt { font-size: 10px; letter-spacing: 3px; }

/* Right panel */
.hr-grid {
  background-image:
    linear-gradient(rgba(201,75,31,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,75,31,.11) 1px, transparent 1px);
}
.hr-glow {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,75,31,.3) 0%, rgba(201,75,31,.08) 42%, transparent 70%);
  animation: glow-breath 5s ease-in-out infinite;
}
@keyframes glow-breath {
  0%,100% { transform: translate(-50%,-50%) scale(1);    opacity: 1; }
  50%      { transform: translate(-50%,-50%) scale(1.22); opacity: .6; }
}
.hero-right::before {
  content: '';
  position: absolute; left: 0; right: 0; height: 1px; z-index: 3;
  background: linear-gradient(90deg, transparent 0%, rgba(201,75,31,.55) 50%, transparent 100%);
  animation: scan-beam 8s linear infinite;
}
@keyframes scan-beam {
  0%   { top: 4%;  opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: 1; }
  100% { top: 96%; opacity: 0; }
}
.hub-ring { width: 210px; height: 210px; border: 1.5px solid rgba(201,75,31,.65); }
.hub-ring::before { inset: -22px; border: 1px solid rgba(201,75,31,.28); border-radius: 50%; animation: ring-spin 28s linear infinite; }
@keyframes ring-spin { to { transform: rotate(360deg); } }
.hero-hub::before {
  content: '';
  position: absolute; width: 316px; height: 316px; top: 50%; left: 50%;
  border: 1px solid rgba(201,75,31,.13); border-radius: 50%;
  animation: hub-orbit-ccw 42s linear infinite;
}
.hero-hub::after {
  content: '';
  position: absolute; width: 400px; height: 400px; top: 50%; left: 50%;
  border: 1px dashed rgba(201,75,31,.07); border-radius: 50%;
  animation: hub-orbit-cw 66s linear infinite;
}
@keyframes hub-orbit-ccw { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(-360deg); } }
@keyframes hub-orbit-cw  { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }
.hub-inner { font-size: 11px; letter-spacing: 2.5px; line-height: 1.65; }
.hub-inner small { font-size: 8.5px; letter-spacing: 4px; }
.hero-card {
  background: rgba(10,10,10,.75);
  border: 1px solid rgba(201,75,31,.52);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0,0,0,.65), 0 0 0 1px rgba(201,75,31,.07), inset 0 1px 0 rgba(255,255,255,.05);
  padding: 20px 28px;
}
.hero-card:nth-child(3) { bottom: 26%; left: 40px; }
.hero-card:nth-child(4) { top: 18%;  right: 40px; }
.hcard-num   { font-size: 50px; letter-spacing: -1px; line-height: 1; }
.hcard-label { font-size: 11px; letter-spacing: 2px; margin-top: 6px; }

@media (max-width: 1024px) {
  .hero-left { padding: 100px 5% 60px; }
  .hero-left::after { display: none; }
  .hero-right::before { display: none; }
  .hero-hub::before, .hero-hub::after { display: none; }
  .hub-ring::before { animation: none; }
}


/* =====================
   CLUSTER PAGES (.cp-*)
   All 17 RCM + CSaaS cluster pages share these styles.
   Hero: Option D — ink2 bg, orange left border, radial glow.
   Visually distinct from pillar pages (.pp-hero) without breaking the palette.
   ===================== */

.cp-wrap { width: min(92vw, 1200px); margin: 0 auto; padding: 0; }

/* ── Hero (Option D) ── */
.cp-hero {
  background: var(--ink2);
  padding: 68px 0 56px;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--orange);
}
/* Radial glow right side — replaces the busy grid of pillar pages */
.cp-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,75,31,.13) 0%, transparent 58%);
  pointer-events: none;
}
/* Thin orange top rule */
.cp-hero::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--orange) 0%, rgba(201,75,31,.15) 60%, transparent 100%);
}
.cp-hero-inner { width: min(92vw, 1200px); margin: 0 auto; padding: 0; position: relative; z-index: 1; }
.cp-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.cp-breadcrumb a { font-size: 12px; color: var(--t-white3); transition: color .2s; }
.cp-breadcrumb a:hover { color: var(--orange); }
.cp-breadcrumb span { font-size: 12px; color: var(--t-white3); }
.cp-breadcrumb .bc-cur { color: var(--orange); font-weight: 500; }
.cp-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px; }
.cp-hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(30px, 4vw, 52px); font-weight: 800;
  line-height: 1.06; letter-spacing: -1.5px; color: var(--t-white); margin-bottom: 20px; max-width: 760px; }
.cp-sub { font-family: 'Lora', serif; font-style: italic; font-size: 16.5px; line-height: 1.8;
  color: var(--t-white2); max-width: 620px; margin-bottom: 36px; }
.cp-btns { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cp-btn-fill { background: var(--orange); color: #fff; padding: 13px 30px; font-size: 11.5px;
  font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; transition: background .2s; display: inline-block; }
.cp-btn-fill:hover { background: var(--orange-d); }
.cp-btn-line { border: 1.5px solid rgba(201,75,31,.45); color: var(--t-white3); padding: 12px 26px;
  font-size: 11.5px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  transition: border-color .2s, color .2s; display: inline-block; }
.cp-btn-line:hover { border-color: var(--orange); color: var(--orange); }

/* ── Overview ── */
.cp-overview { padding: 96px 0; background: var(--snow); }
.cp-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.cp-eyebrow-light { font-size: 10.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px; }
.cp-h2 { font-family: 'Syne', sans-serif; font-size: clamp(26px, 3vw, 40px); font-weight: 800;
  letter-spacing: -1px; line-height: 1.08; color: var(--t-dark); margin-bottom: 20px; }
.cp-h2 em { font-family: 'Lora', serif; font-style: italic; font-weight: 400; color: var(--orange); }
.cp-body { font-size: 15.5px; color: var(--t-mid); line-height: 1.8; font-weight: 300; }
.cp-points { list-style: none; display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.cp-points li { font-size: 15px; color: var(--t-dark); line-height: 1.65; display: flex; gap: 12px; align-items: flex-start; }
.cp-points li::before { content: ''; width: 7px; height: 7px; background: var(--orange); border-radius: 50%;
  flex-shrink: 0; margin-top: 8px; }

/* ── Features ── */
.cp-features { padding: 96px 0; background: var(--ink); }
.cp-sec-hdr { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.cp-eyebrow-dark { font-size: 10.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.cp-eyebrow-dark::before, .cp-eyebrow-dark::after { content: ''; width: 36px; height: 1px; background: rgba(201,75,31,.4); }
.cp-h2-white { font-family: 'Syne', sans-serif; font-size: clamp(24px, 2.8vw, 38px); font-weight: 800;
  letter-spacing: -1px; color: var(--t-white); line-height: 1.1; }
.cp-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(201,75,31,.15); }
.cp-feat { background: var(--ink2); padding: 44px 36px; transition: background .25s; }
.cp-feat:hover { background: var(--ink3); }
.cp-feat-icon { width: 52px; height: 52px; background: rgba(201,75,31,.13); border: 1px solid rgba(201,75,31,.35);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.cp-feat-icon svg { width: 22px; height: 22px; stroke: var(--orange); fill: none; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; }
.cp-feat-title { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700;
  color: var(--t-white); margin-bottom: 10px; }
.cp-feat-desc { font-size: 14px; color: var(--t-white2); line-height: 1.75; font-weight: 300; }

/* ── Stats / Proof ── */
.cp-proof { padding: 80px 0; background: var(--cloud); }
.cp-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.cp-stat { background: var(--snow); padding: 44px 36px; }
.cp-stat-num { font-family: 'Syne', sans-serif; font-size: clamp(36px, 5vw, 58px); font-weight: 800;
  color: var(--t-dark); line-height: 1; letter-spacing: -2px; }
.cp-stat-num b { color: var(--orange); font-weight: 800; }
.cp-stat-label { font-size: 10.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--t-soft); margin: 10px 0 12px; }
.cp-stat-desc { font-size: 13.5px; color: var(--t-mid); line-height: 1.7; font-weight: 300; }

/* ── Related Services ── */
.cp-related { padding: 80px 0; background: var(--snow); }
.cp-sec-hdr-light { text-align: center; margin-bottom: 52px; }
.cp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); margin-bottom: 36px; }
.cp-rel-card { background: var(--snow); padding: 36px 30px; border-left: 3px solid transparent;
  transition: border-color .3s, background .3s; }
.cp-rel-card:hover { border-left-color: var(--orange); background: var(--cloud); }
.cp-rel-name { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--t-dark); margin-bottom: 8px; }
.cp-rel-desc { font-size: 13.5px; color: var(--t-soft); line-height: 1.65; font-weight: 300; margin-bottom: 14px; }
.cp-rel-link { font-size: 11.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); }
.cp-rel-link:hover { text-decoration: underline; }
.cp-pillar-link { text-align: center; font-size: 14px; color: var(--t-soft); }
.cp-pillar-link a { color: var(--orange); font-weight: 600; }
.cp-pillar-link a:hover { text-decoration: underline; }

/* ── CTA strip ── */
.cp-cta { background: var(--orange); padding: 80px 0; position: relative; overflow: hidden; }
.cp-cta::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cp-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; position: relative; }
.cp-cta h2 { font-family: 'Syne', sans-serif; font-size: clamp(22px, 3vw, 38px); font-weight: 800;
  color: #fff; letter-spacing: -1px; line-height: 1.1; }
.cp-cta p { font-size: 15px; color: rgba(255,255,255,.88); margin-top: 12px; line-height: 1.75;
  max-width: 500px; font-weight: 300; }
.cp-cta-side { display: flex; flex-direction: column; align-items: center; gap: 10px; flex-shrink: 0; }
.cp-cta-btn { background: #fff; color: var(--orange); padding: 16px 40px; font-size: 12px;
  font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap;
  transition: background .2s; display: inline-block; }
.cp-cta-btn:hover { background: var(--ink); color: #fff; }
.cp-cta-note { font-size: 12px; color: rgba(255,255,255,.75); }

/* ── Cluster page responsive ── */
@media (max-width: 1024px) {
  .cp-wrap, .cp-hero-inner { padding: 0; }
  .cp-hero { padding: 80px 0 56px; }
  .cp-overview { padding: 64px 0; }
  .cp-features { padding: 64px 0; }
  .cp-overview-grid { grid-template-columns: 1fr; gap: 36px; }
  .cp-feat-grid { grid-template-columns: 1fr; }
  .cp-proof-grid { grid-template-columns: 1fr; }
  .cp-related-grid { grid-template-columns: 1fr; }
  .cp-cta-inner { flex-direction: column; text-align: center; }
  .cp-cta-side { align-items: center; }
}

/* =====================================================================
   ENGAGEMENT MODEL + CONTINUITY GUARANTEE + AUTOMATION CALLOUT BLOCKS
   These new sections appear on all 12 RCM cluster pages (v3).
   ===================================================================== */

/* ── Engagement Model Block ── */
.cp-model {
  padding: 72px 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.cp-model::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
}
.cp-model-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.cp-model-tag {
  font-size: 9.5px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.cp-model-title {
  font-family: 'Syne', sans-serif;
  font-size: 26px; font-weight: 800;
  color: var(--t-white); line-height: 1.15;
  letter-spacing: -0.5px; margin-bottom: 18px;
}
.cp-model-body {
  font-size: 15px; color: var(--t-white2);
  line-height: 1.8; font-weight: 300;
  margin-bottom: 22px;
}
.cp-model-body strong { color: var(--orange); font-weight: 600; }
.cp-model-link {
  font-size: 12.5px; font-weight: 600;
  color: var(--orange); text-decoration: none;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(201,75,31,.4);
  padding-bottom: 2px;
  transition: border-color .2s;
}
.cp-model-link:hover { border-color: var(--orange); }
.cp-model-cards { display: flex; flex-direction: column; gap: 12px; }
.cp-model-card {
  padding: 26px 28px;
  background: var(--ink2);
  border: 1px solid rgba(255,255,255,.07);
  border-left: 3px solid rgba(255,255,255,.1);
  transition: border-left-color .25s;
}
.cp-model-card:hover { border-left-color: rgba(201,75,31,.4); }
.cp-model-card--rec {
  border-left-color: var(--orange) !important;
  background: rgba(201,75,31,.06);
}
.cp-model-card-tag {
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; margin-bottom: 8px;
}
.cp-model-card--rec .cp-model-card-tag { color: var(--orange); }
.cp-model-card:not(.cp-model-card--rec) .cp-model-card-tag { color: var(--t-white3); }
.cp-model-card-name {
  font-family: 'Syne', sans-serif;
  font-size: 16px; font-weight: 700;
  color: var(--t-white); margin-bottom: 8px;
}
.cp-model-card-desc {
  font-size: 13.5px; color: var(--t-white2);
  line-height: 1.7; font-weight: 300;
}

/* ── Continuity Guarantee Block ── */
.cp-continuity { padding: 72px 0; background: var(--cloud); }
.cp-cont-inner {
  display: flex; gap: 40px; align-items: flex-start;
  background: var(--snow);
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  padding: 44px 48px;
}
.cp-cont-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.cp-cont-icon svg { width: 24px; height: 24px; stroke: var(--orange); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.cp-cont-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--t-dark); margin-bottom: 12px;
}
.cp-cont-desc {
  font-size: 15px; color: var(--t-mid);
  line-height: 1.8; font-weight: 300; margin-bottom: 18px;
}
.cp-cont-link {
  font-size: 12.5px; font-weight: 600; color: var(--orange);
  text-decoration: none; letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(201,75,31,.4); padding-bottom: 2px;
  transition: border-color .2s;
}
.cp-cont-link:hover { border-color: var(--orange); }

/* ── Automation Callout Block (eligibility-verification page only) ── */
.cp-auto { padding: 0 0 72px; background: var(--snow); }
.cp-auto-inner {
  display: flex; gap: 36px; align-items: flex-start;
  background: var(--ink);
  padding: 44px 48px;
  border-left: 5px solid var(--orange);
  position: relative; overflow: hidden;
}
.cp-auto-inner::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,75,31,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,75,31,.06) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.cp-auto-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  background: rgba(201,75,31,.15); border: 1px solid rgba(201,75,31,.4);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.cp-auto-icon svg { width: 24px; height: 24px; stroke: var(--orange); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.cp-auto-body { position: relative; z-index: 1; }
.cp-auto-tag {
  font-size: 9px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.cp-auto-title {
  font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700;
  color: var(--t-white); margin-bottom: 14px;
}
.cp-auto-desc { font-size: 15px; color: var(--t-white2); line-height: 1.8; font-weight: 300; }

/* ── New block responsive ── */
@media (max-width: 1024px) {
  .cp-model-box  { grid-template-columns: 1fr; gap: 40px; }
  .cp-cont-inner { flex-direction: column; padding: 32px 5%; }
  .cp-auto-inner { flex-direction: column; padding: 32px 5%; }
}


/* =====================================================================
   CASE STUDY PAGES  (cs-*)
   Single: single-case_study.php
   Archive: archive-case_study.php

   Design language: editorial/long-form — clean white reading environment,
   ink left-border accent, orange outcomes. Deliberately lighter and more
   readable than the dark pp-/cp- pages. Feels like a professional
   case study document, not a landing page.
   ===================================================================== */

/* ── Single: Hero ─────────────────────────────────────────────── */
.cs-hero {
  background: var(--ink);
  padding: 100px 0 72px;
  position: relative;
  overflow: hidden;
}
.cs-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,75,31,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,75,31,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
/* Diagonal orange slash — visual signature distinct from pp/cp */
.cs-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 320px; height: 100%;
  background: linear-gradient(135deg, transparent 60%, rgba(201,75,31,.07) 100%);
  pointer-events: none;
}
.cs-hero-inner {
  width: min(92vw, 900px);
  margin: 0 auto;
  padding: 0;
  position: relative; z-index: 1;
}

.cs-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 28px;
}
.cs-breadcrumb a {
  font-size: 12px; color: var(--t-white3);
  text-decoration: none; transition: color .2s;
}
.cs-breadcrumb a:hover { color: var(--orange); }
.cs-breadcrumb span { font-size: 12px; color: var(--t-white3); }
.cs-breadcrumb .bc-cur { color: var(--orange); font-weight: 500; }

.cs-hero-meta {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 20px;
}
.cs-cat-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: #fff;
  background: var(--orange); padding: 5px 12px;
}
.cs-specialty {
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--t-white3);
  border: 1px solid rgba(255,255,255,.15); padding: 4px 12px;
}
.cs-location {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--t-white3); letter-spacing: 0.5px;
}
.cs-location svg { stroke: var(--orange); }

.cs-hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 800; line-height: 1.07;
  letter-spacing: -1.5px; color: var(--t-white);
  margin-bottom: 20px; max-width: 780px;
}

.cs-hero-sub {
  font-family: 'Lora', serif; font-style: italic;
  font-size: 17px; line-height: 1.8;
  color: var(--t-white2); max-width: 680px;
  margin-bottom: 40px;
}

/* Outcome stats bar */
.cs-outcomes {
  display: flex; gap: 0;
  border: 1px solid rgba(201,75,31,.35);
  width: fit-content;
}
.cs-outcome {
  padding: 20px 32px;
  border-right: 1px solid rgba(201,75,31,.35);
  min-width: 140px;
}
.cs-outcome:last-child { border-right: none; }
.cs-outcome-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800; color: var(--orange);
  line-height: 1; letter-spacing: -1px;
}
.cs-outcome-label {
  display: block;
  font-size: 11px; color: var(--t-white3);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-top: 7px; line-height: 1.4;
}

/* ── Single: Body ─────────────────────────────────────────────── */
.cs-body {
  background: var(--snow);
  padding: 72px 0 96px;
  border-top: 4px solid var(--orange);
}
.cs-body-inner {
  width: min(92vw, 1100px);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr clamp(220px, 25%, 300px);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}

/* Article content */
.cs-content { min-width: 0; }

/* Typography for the article — Lora body, Syne headings */
.cs-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800; color: var(--t-dark);
  letter-spacing: -.5px; line-height: 1.15;
  margin: 52px 0 16px;
  padding-left: 18px;
  border-left: 4px solid var(--orange);
}
.cs-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700; color: var(--t-dark);
  margin: 36px 0 12px; letter-spacing: -.3px;
}
.cs-content p {
  font-size: 16px; color: var(--t-mid);
  line-height: 1.85; font-weight: 300;
  margin-bottom: 22px;
}
.cs-content strong { color: var(--t-dark); font-weight: 600; }
.cs-content em { font-family: 'Lora', serif; }
.cs-content ul, .cs-content ol {
  margin: 0 0 22px 0;
  padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.cs-content ul li {
  font-size: 15.5px; color: var(--t-dark);
  line-height: 1.7; font-weight: 400;
  display: flex; gap: 12px; align-items: flex-start;
}
.cs-content ul li::before {
  content: '';
  width: 7px; height: 7px; background: var(--orange);
  border-radius: 50%; flex-shrink: 0; margin-top: 9px;
}
.cs-content ol { counter-reset: cs-counter; }
.cs-content ol li {
  font-size: 15.5px; color: var(--t-dark);
  line-height: 1.7; font-weight: 400;
  display: flex; gap: 12px; align-items: flex-start;
  counter-increment: cs-counter;
}
.cs-content ol li::before {
  content: counter(cs-counter);
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 800;
  color: #fff; background: var(--orange);
  width: 22px; height: 22px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 3px;
}
.cs-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--cloud);
  border-left: 4px solid var(--orange);
}
.cs-content blockquote p {
  font-family: 'Lora', serif; font-style: italic;
  font-size: 17px; color: var(--t-dark);
  margin-bottom: 0; font-weight: 400;
}
.cs-content img {
  width: 100%; height: auto; display: block;
  margin: 32px 0;
  border: 1px solid var(--line);
}

/* ── Sidebar ──────────────────────────────────────────────────── */
.cs-sidebar {
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 2px;
}
.cs-sidebar-card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  overflow: hidden;
}
.cs-sidebar-card-head {
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--orange); padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--snow);
}
.cs-snapshot {
  display: grid; grid-template-columns: auto 1fr;
  gap: 0; padding: 4px 0;
}
.cs-snapshot dt {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--t-soft);
  padding: 10px 20px; border-bottom: 1px solid var(--line);
}
.cs-snapshot dd {
  font-size: 13px; font-weight: 500; color: var(--t-dark);
  padding: 10px 20px; border-bottom: 1px solid var(--line);
}
.cs-snapshot dt:last-of-type,
.cs-snapshot dd:last-of-type { border-bottom: none; }

.cs-pillar-box {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 20px;
  background: var(--ink);
  text-decoration: none;
  border-left: 4px solid var(--orange);
  transition: background .25s;
}
.cs-pillar-box:hover { background: var(--ink2); }
.cs-pillar-label {
  font-size: 9.5px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--orange);
}
.cs-pillar-name {
  font-family: 'Syne', sans-serif; font-size: 15px;
  font-weight: 700; color: var(--t-white); line-height: 1.3;
}
.cs-pillar-arrow {
  font-size: 12px; color: var(--t-white3); margin-top: 4px;
  font-weight: 500;
}

.cs-related-list {
  padding: 8px 0; display: flex; flex-direction: column;
}
.cs-related-list li {
  border-bottom: 1px solid var(--line);
}
.cs-related-list li:last-child { border-bottom: none; }
.cs-related-list a {
  display: block; padding: 12px 20px;
  font-size: 13px; color: var(--t-dark); font-weight: 400;
  line-height: 1.5; text-decoration: none;
  transition: color .2s, background .2s;
}
.cs-related-list a:hover { color: var(--orange); background: var(--snow); }

.cs-all-link {
  font-size: 12.5px; font-weight: 600; color: var(--orange);
  text-decoration: none; display: block;
  padding: 14px 0; letter-spacing: .5px;
  border-top: 1px solid var(--line); margin-top: 4px;
  transition: color .2s;
}
.cs-all-link:hover { color: var(--orange-d); }

/* ── Single: CTA ──────────────────────────────────────────────── */
.cs-cta {
  background: var(--orange);
  padding: clamp(52px, 7vw, 80px) 0;
  position: relative; overflow: hidden;
}
.cs-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cs-cta-inner {
  width: min(92vw, 1100px); margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 48px; position: relative;
}
.cs-cta-h {
  font-family: 'Syne', sans-serif;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800; color: #fff;
  letter-spacing: -1px; line-height: 1.1;
}
.cs-cta-p {
  font-size: 15px; color: rgba(255,255,255,.88);
  margin-top: 12px; line-height: 1.75;
  max-width: 520px; font-weight: 300;
}
.cs-cta-side {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px; flex-shrink: 0;
}
.cs-cta-btn {
  background: #fff; color: var(--orange);
  padding: 16px 40px; font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  white-space: nowrap; text-decoration: none;
  transition: background .2s; display: inline-block;
}
.cs-cta-btn:hover { background: var(--ink); color: #fff; }
.cs-cta-note { font-size: 12px; color: rgba(255,255,255,.75); }

/* ══════════════════════════════════════════════════════════════════
   ARCHIVE PAGE
   ══════════════════════════════════════════════════════════════════ */

.cs-archive-hero {
  background: var(--ink); padding: 100px 0 72px;
  position: relative; overflow: hidden; text-align: center;
}
.cs-archive-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,75,31,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,75,31,.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cs-archive-hero-inner {
  width: min(92vw, 700px); margin: 0 auto;
  padding: 0; position: relative; z-index: 1;
}
.cs-archive-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--orange);
  display: block; margin-bottom: 16px;
}
.cs-archive-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800; color: var(--t-white);
  letter-spacing: -2px; line-height: 1; margin-bottom: 20px;
}
.cs-archive-sub {
  font-family: 'Lora', serif; font-style: italic;
  font-size: 17px; color: var(--t-white2); line-height: 1.8;
}

/* Filter bar */
.cs-filter-bar {
  background: var(--cloud);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 70px; z-index: 100;
}
.cs-filter-inner {
  width: min(92vw, 1100px); margin: 0 auto;
  padding: 0;
  display: flex; gap: 0; overflow-x: auto;
}
.cs-filter-btn {
  font-size: 11.5px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--t-soft);
  padding: 16px 22px; text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap; transition: color .2s, border-color .2s;
}
.cs-filter-btn:hover { color: var(--ink); }
.cs-filter-btn.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* Archive body + grid */
.cs-archive-body { background: var(--snow); padding: 64px 0; }
.cs-archive-inner {
  width: min(92vw, 1100px); margin: 0 auto; padding: 0;
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--line);
}

.cs-card {
  background: var(--snow);
  padding: 36px 30px;
  display: flex; flex-direction: column;
  border-left: 3px solid transparent;
  transition: border-color .3s, background .3s;
}
.cs-card:hover { border-left-color: var(--orange); background: var(--cloud); }

.cs-card-top {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.cs-card-cat {
  font-size: 9.5px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--orange);
}
.cs-card-pillar {
  font-size: 9.5px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 2px 8px; margin-left: auto;
}
.cs-card-pillar.rcm   { background: rgba(201,75,31,.1); color: var(--orange); }
.cs-card-pillar.csaas { background: rgba(13,13,13,.07); color: var(--ink); }

.cs-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 17px; font-weight: 700;
  color: var(--t-dark); line-height: 1.25; margin-bottom: 8px;
}
.cs-card-title a { color: inherit; text-decoration: none; transition: color .2s; }
.cs-card-title a:hover { color: var(--orange); }

.cs-card-specialty {
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--t-soft); margin-bottom: 12px;
}
.cs-card-excerpt {
  font-size: 14px; color: var(--t-mid); line-height: 1.7;
  font-weight: 300; margin-bottom: 16px; flex: 1;
}
.cs-card-stat {
  display: flex; align-items: baseline; gap: 8px;
  padding: 12px 0; border-top: 1px solid var(--line);
  margin-bottom: 16px;
}
.cs-card-stat-num {
  font-family: 'Syne', sans-serif; font-size: 28px;
  font-weight: 800; color: var(--orange); line-height: 1;
}
.cs-card-stat-label {
  font-size: 12px; color: var(--t-soft); font-weight: 400;
  line-height: 1.4;
}
.cs-card-link {
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
  color: var(--orange); text-decoration: none;
  transition: color .2s; margin-top: auto;
}
.cs-card-link:hover { color: var(--orange-d); }

/* Pagination */
.cs-pagination {
  margin-top: 52px; display: flex; justify-content: center;
}
.cs-pagination .nav-links { display: flex; gap: 4px; }
.cs-pagination .page-numbers {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; font-size: 13px; font-weight: 600;
  color: var(--t-dark); border: 1px solid var(--line);
  text-decoration: none; transition: all .2s;
}
.cs-pagination .page-numbers.current,
.cs-pagination .page-numbers:hover {
  background: var(--orange); border-color: var(--orange); color: #fff;
}

.cs-no-results {
  font-size: 16px; color: var(--t-soft); text-align: center;
  padding: 64px 0;
}

/* Archive pillar links */
.cs-archive-pillars {
  background: var(--cloud);
  border-top: 1px solid var(--line);
  padding: 0;
}
.cs-archive-pillars .cs-archive-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--line); padding: 0;
}
.cs-pillar-cta {
  background: var(--snow);
  padding: 40px 48px;
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: border-color .3s, background .3s;
}
.cs-pillar-cta:hover { border-bottom-color: var(--orange); background: var(--cloud); }
.cs-pillar-cta-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--orange);
}
.cs-pillar-cta-name {
  font-family: 'Syne', sans-serif; font-size: 22px;
  font-weight: 800; color: var(--t-dark); letter-spacing: -.5px;
}
.cs-pillar-cta-arrow {
  font-size: 13px; color: var(--t-soft); font-weight: 500;
  margin-top: 4px;
}

/* ── Hide duplicate WP title on case study pages ── */
body:has(.cs-hero) .entry-header,
body:has(.cs-hero) .page-header,
body:has(.cs-hero) .entry-title-wrap,
body:has(.cs-archive-hero) .entry-header,
body:has(.cs-archive-hero) .page-header { display: none !important; }

body:has(.cs-hero) .entry-content,
body:has(.cs-hero) .page-content,
body:has(.cs-archive-hero) .entry-content,
body:has(.cs-archive-hero) .page-content {
  padding-top: 0 !important; margin-top: 0 !important;
}

/* cs-content: override page-content p color rules */
.cs-content p,
.page-content .cs-content p,
main .cs-content p {
  font-size: 16px !important;
  color: var(--t-mid) !important;
  line-height: 1.85 !important;
  font-weight: 300 !important;
  margin-bottom: 22px !important;
}
.cs-content h2,
.page-content .cs-content h2,
main .cs-content h2 {
  font-family: 'Syne', sans-serif !important;
  font-size: clamp(20px, 2.2vw, 28px) !important;
  font-weight: 800 !important; color: var(--t-dark) !important;
  letter-spacing: -.5px !important; margin: 52px 0 16px !important;
  padding-left: 18px !important;
  border-left: 4px solid var(--orange) !important;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cs-hero-inner, .cs-archive-hero-inner,
  .cs-archive-inner { padding: 0 5%; }
  .cs-hero { padding: 80px 0 52px; }
  .cs-body-inner {
    grid-template-columns: 1fr;
    gap: 36px; padding: 0 5%;
  }
  .cs-body { padding: 52px 0 72px; }
  .cs-sidebar { position: static; }
  .cs-outcomes { flex-direction: column; width: 100%; }
  .cs-outcome { border-right: none; border-bottom: 1px solid rgba(201,75,31,.35); }
  .cs-outcome:last-child { border-bottom: none; }
  .cs-cta { padding: 52px 5%; }
  .cs-cta-inner { flex-direction: column; text-align: center; }
  .cs-cta-side { align-items: center; }
  .cs-filter-inner { padding: 0 5%; }
  .cs-grid { grid-template-columns: 1fr 1fr; }
  .cs-archive-pillars .cs-archive-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cs-grid { grid-template-columns: 1fr; }
}

/* =====================
   CRITICAL OVERRIDES — must stay at bottom
   ===================== */
.pp-hero .pp-hero-sub,
.pp-hero p.pp-hero-sub,
.pillar-page .pp-hero-sub,
.entry-content .pp-hero-sub,
body .pp-hero-sub {
  color: #FFFFFF !important;
  opacity: 1 !important;
  text-shadow: 0 1px 20px rgba(0,0,0,.9) !important;
}

/* ── Cluster pages: hide WordPress default page title (duplicate of cp-hero h1) ── */
body:has(.cp-hero) .entry-header,
body:has(.cp-hero) .page-header,
body:has(.cp-hero) .entry-title-wrap,
body:has(.cp-hero) .wp-block-post-title { display: none !important; }

/* ── Cluster pages: cp-sub readability on dark hero ── */
.cp-hero .cp-sub,
.cp-hero p.cp-sub,
body .cp-sub {
  color: #EBEBEB !important;
  opacity: 1 !important;
  text-shadow: 0 1px 16px rgba(0,0,0,.85) !important;
}

/* ── Cluster pages: h1 always white in hero ── */
.cp-hero h1 { color: #FFFFFF !important; }

/* ── Cluster pages: remove top gap above hero ── */
body:has(.cp-hero) .entry-content,
body:has(.cp-hero) .page-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ── Fix: .page-content p overrides cluster feature text ── */
.page-content .cp-feat-desc,
.page-content .cp-feat p,
main .cp-feat-desc,
main .cp-feat p {
  color: #EBEBEB !important;
  font-weight: 300 !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  margin-bottom: 0 !important;
}
.page-content .cp-feat-title,
main .cp-feat-title {
  color: #FFFFFF !important;
  font-size: 16px !important;
  margin-bottom: 10px !important;
}

/* ── Fix: ensure all cp-* dark section text overrides page-content p ── */
.page-content .cp-stat-desc,
main .cp-stat-desc { color: var(--t-mid) !important; font-size: 13.5px !important; }
.page-content .cp-cta p,
main .cp-cta p { color: rgba(255,255,255,.88) !important; }
.page-content .cp-rel-desc,
main .cp-rel-desc { color: var(--t-soft) !important; font-size: 13.5px !important; }
.page-content .cp-body,
main .cp-body { color: var(--t-mid) !important; font-size: 15.5px !important; }

/* ── Fix: .cp-model dark section text (page-content p override) ── */
.page-content .cp-model-body,
main .cp-model-body,
.cp-model .cp-model-body {
  color: #EBEBEB !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  line-height: 1.8 !important;
  margin-bottom: 22px !important;
}
.page-content .cp-model-body strong,
main .cp-model-body strong,
.cp-model .cp-model-body strong {
  color: var(--orange) !important;
  font-weight: 600 !important;
}
.page-content .cp-model-card-desc,
main .cp-model-card-desc,
.cp-model .cp-model-card-desc {
  color: #EBEBEB !important;
  font-size: 13.5px !important;
  font-weight: 300 !important;
  line-height: 1.7 !important;
}
.page-content .cp-model-title,
main .cp-model-title,
.cp-model .cp-model-title {
  color: #FFFFFF !important;
  font-size: 26px !important;
  margin-bottom: 18px !important;
}