/* ==========================================================================
   THE CATALYST PRO — MASTER STYLESHEET
   Outsourced HR, Finance, Audit, IT & Digital Marketing
   ========================================================================== */

:root {
  --deep: #080808;
  --mid: #0fa87d;
  --midd: #0b3a2e;
  --sky: #0fa87d;
  --ink: #080808;
  --bg: #f4f9f7;
  --soft: #e8f2ee;
  --card: #ffffff;
  --text: #07100d;
  --muted: #51625c;
  --line: #d3e2dc;
  --acc: #0a8f6c;
  --g: #0fa87d;
  --gi: #04211a;
  --w: #ffffff;
  --f: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
  box-sizing: border-box;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #080808;
    --soft: #0d1412;
    --card: #111b18;
    --text: #f2f5f4;
    --muted: #b5bfbb;
    --line: #1f2e29;
    --acc: #12cf9a;
    --deep: #0b3a2e;
    --midd: #0b3a2e;
    --mid: #0fa87d;
    --g: #0fa87d;
    --gi: #04211a;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #080808;
  --soft: #0d1412;
  --card: #111b18;
  --text: #f2f5f4;
  --muted: #aab3af;
  --line: #1f2e29;
  --acc: #12cf9a;
  --deep: #0b3a2e;
  --midd: #0b3a2e;
  --mid: #0fa87d;
  --g: #0fa87d;
  --gi: #04211a;
  --w: #ffffff;
  color-scheme: dark;
}

:root[data-theme="light"], :root {
  --bg: #ffffff;
  --soft: #f2f7f4;
  --card: #ffffff;
  --text: #07100d;
  --muted: #51625c;
  --line: #e2ece7;
  --acc: #0a8f6c;
  --deep: #080808;
  --midd: #0b3a2e;
  --mid: #0fa87d;
  --g: #0fa87d;
  --gi: #04211a;
  --w: #ffffff;
  color-scheme: light;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--f);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--text);
}

p {
  margin: 0 0 16px;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

/* Layout Utilities */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.sec {
  padding: clamp(64px, 8vw, 104px) 0;
}

/* ==========================================================================
   Section Background Rhythm: 50% White, 25% Light, 25% Black
   ========================================================================== */

/* 50% White Sections */
.sec.bgw, .sec.bg-white, .bg-white {
  background: #ffffff !important;
  color: #07100d;
}
.sec.bgw h1, .sec.bgw h2, .sec.bgw h3, .sec.bgw h4,
.sec.bg-white h1, .sec.bg-white h2, .sec.bg-white h3, .sec.bg-white h4 {
  color: #07100d;
}
.sec.bgw p, .sec.bg-white p, .sec.bgw .lead, .sec.bg-white .lead {
  color: #51625c;
}
.sec.bgw .card, .sec.bgw .svc, .sec.bgw .deliv-card, .sec.bgw details, .sec.bgw form, .sec.bgw .quote-step, .sec.bgw .blog-card, .sec.bgw .prin-card, .sec.bgw .quote-summary, .sec.bgw .blog-feat {
  background: #ffffff;
  border: 1px solid #e2ece7;
  color: #07100d;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.sec.bgw .svc:hover, .sec.bgw .deliv-card:hover, .sec.bgw .blog-card:hover, .sec.bgw .blog-feat:hover {
  border-color: var(--g);
  box-shadow: 0 16px 36px rgba(15, 168, 125, 0.12);
}

/* 25% Light Sections */
.sec.bgg, .sec.bgl, .sec.bg-light, .bg-light, .trust.bgl {
  background: #f2f7f4 !important;
  color: #07100d;
  border-top: 1px solid #e3ece8;
  border-bottom: 1px solid #e3ece8;
}
.sec.bgg h1, .sec.bgg h2, .sec.bgg h3, .sec.bgg h4,
.sec.bgl h1, .sec.bgl h2, .sec.bgl h3, .sec.bgl h4 {
  color: #07100d;
}
.sec.bgg p, .sec.bgl p, .sec.bgg .lead, .sec.bgl .lead {
  color: #51625c;
}
.sec.bgg .card, .sec.bgg .svc, .sec.bgg .deliv-card, .sec.bgg .prin-card, .sec.bgg .blog-card, .sec.bgg .logo-card {
  background: #ffffff;
  border: 1px solid #dce8e2;
  color: #07100d;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

/* 25% Black Sections (Hero, Banner, Footer) */
.sec.bgk, .sec.bg-black, .bg-black, .hero.bgk, .page-hero.bgk {
  background: #080808 !important;
  color: #ffffff;
}
.sec.bgk h1, .sec.bgk h2, .sec.bgk h3, .sec.bgk h4,
.hero.bgk h1, .page-hero.bgk h1 {
  color: #ffffff;
}
.sec.bgk p, .sec.bgk p.sub, .sec.bgk p.lead,
.hero.bgk p.sub, .page-hero.bgk p.lead {
  color: #a7b7b0;
}
.sec.bgk .pill, .hero.bgk .pill, .page-hero.bgk .pill {
  background: #111a17;
  border-color: #1f2e29;
  color: #e5edea;
}
.sec.bgk .card, .sec.bgk .win, .sec.bgk .quote-step {
  background: #111a17;
  border-color: #1f2e29;
  color: #ffffff;
}

/* Progress bar */
.prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--deep), var(--mid), var(--sky));
  z-index: 99;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font: 700 16px var(--f);
  padding: 14px 26px;
  border-radius: 12px;
  background: var(--g);
  color: var(--gi);
  transition: all .2s ease;
  text-decoration: none;
}

.btn:hover {
  background: #14e4aa;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 168, 125, 0.35);
}

.btn.alt {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 2px var(--line);
}

.btn.alt:hover {
  box-shadow: inset 0 0 0 2px var(--mid);
  color: var(--mid);
  background: transparent;
}

.btn.dark {
  background: #080808;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn.dark:hover {
  background: #161b18;
  color: #fff;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .2s, border-color .2s;
}

:root[data-theme="dark"] header {
  background: rgba(8, 8, 8, 0.95);
  border-bottom: 1px solid #1f2e29;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.05em;
  color: var(--text);
  display: block;
  line-height: 1;
}

:root[data-theme="dark"] .brand {
  color: #ffffff;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a:not(.btn) {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  transition: color .2s;
}

:root[data-theme="dark"] nav a:not(.btn) {
  color: #dcdcdc;
}

nav a:not(.btn):hover,
nav a.active {
  color: var(--g) !important;
}

nav a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--g);
  border-radius: 2px;
}

nav .btn {
  padding: 10px 20px;
  font-size: 14.5px;
}

.thm {
  background: var(--soft);
  border: 1px solid var(--line);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 16px;
  transition: transform .2s, background .2s;
}

.thm:hover {
  transform: rotate(20deg);
  background: var(--card);
}

.menu {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
}

.menu span,
.menu span:before,
.menu span:after {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  content: "";
  margin: auto;
  position: relative;
  transition: transform .2s;
}

:root[data-theme="dark"] .menu span,
:root[data-theme="dark"] .menu span:before,
:root[data-theme="dark"] .menu span:after {
  background: #ffffff;
}

.menu span:before {
  position: absolute;
  top: -7px;
  left: 0;
}

.menu span:after {
  position: absolute;
  top: 7px;
  left: 0;
}

@media (max-width: 900px) {
  .menu {
    display: block;
  }
  nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  }
  nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* Sub-page Hero Section */
.page-hero {
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 60px);
  background: radial-gradient(700px 380px at 85% 10%, #0fa87d26, transparent), radial-gradient(600px 360px at 0 100%, #0fa87d1a, transparent);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  max-width: 22ch;
  line-height: 1.1;
  margin-bottom: 20px;
}

.page-hero p.lead {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.5;
  margin-bottom: 30px;
}

/* Headings & Badges */
.lab {
  color: var(--g);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.pill:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g);
}

.ticks {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
}

.ticks span:before {
  content: "✓";
  color: var(--g);
  font-weight: 800;
  margin-right: 8px;
}

/* Head titles */
.head {
  max-width: 680px;
  margin-bottom: 48px;
}

.head h2 {
  font-size: clamp(32px, 4.4vw, 44px);
}

.head p {
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 18px;
}

/* Hero Section (Home) */
.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px);
  background: radial-gradient(700px 380px at 85% 10%, #0fa87d26, transparent), radial-gradient(600px 360px at 0 100%, #0fa87d1f, transparent);
}

.hgrid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Window Chrome Preview */
.vis {
  position: relative;
  padding: 18px 0 28px;
}

.win {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
}

.win .top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.win .top i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}

.win .top i:first-child { background: #ff5f56; }
.win .top i:nth-child(2) { background: #ffbd2e; }
.win .top i:nth-child(3) { background: #27c93f; }

.win-url {
  margin-left: 10px;
  font-size: 12px;
  color: var(--muted);
  background: var(--bg);
  padding: 3px 12px;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: .02em;
  border: 1px solid var(--line);
}

.win-img {
  position: relative;
  height: clamp(280px, 32vw, 380px);
  overflow: hidden;
  background: var(--soft);
}

.win-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fl {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 2;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.fl .d {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
}

.fl.a { left: -22px; top: 46%; }
.fl.a .d { background: var(--deep); }
.fl.b { right: -14px; top: 2px; }
.fl.b .d { background: var(--g); color: #04211a; }
.fl.c { right: 20px; bottom: 0; align-items: flex-end; gap: 5px; padding: 14px 16px 12px; }
.fl.c i { width: 11px; border-radius: 4px 4px 0 0; background: var(--mid); height: var(--h); transform-origin: bottom; }
.fl.c i:nth-child(2) { background: var(--sky); }
.fl.c i:nth-child(4) { background: var(--deep); }
.fl.c span { margin-left: 8px; align-self: center; }

/* Client Logos / Trust Section */
.trust {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.trust p {
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 14.5px;
  margin: 0 0 24px;
  letter-spacing: .02em;
}

.logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.logo-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  cursor: default;
}

.logo-card:hover {
  transform: translateY(-2px);
  border-color: var(--g);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.logo-ic {
  flex: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-ic svg {
  width: 100%;
  height: 100%;
  display: block;
}

.logo-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.logo-meta .l-name {
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: .03em;
  color: var(--text);
}

.logo-meta .l-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

@media(max-width: 1024px) {
  .logos { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width: 680px) {
  .logos { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 440px) {
  .logos { grid-template-columns: 1fr; }
}

/* Marquee ribbon */
.mq {
  overflow: hidden;
  background: var(--card);
  color: var(--g);
  border-block: 1px solid var(--line);
  padding: 16px 0;
  white-space: nowrap;
}

:root[data-theme="dark"] .mq {
  background: #12cf9a;
  color: #04211a;
  border: 0;
}

.mt {
  display: inline-flex;
  width: max-content;
  animation: mq 34s linear infinite;
}

.mq:hover .mt {
  animation-play-state: paused;
}

.mt span {
  font-weight: 800;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: -.02em;
  padding-right: 40px;
  display: inline-flex;
  gap: 40px;
  align-items: center;
}

.mt span:after {
  content: "✦";
  color: var(--sky);
  font-size: 16px;
}

:root[data-theme="dark"] .mt span:after {
  color: #04211a;
}

@keyframes mq {
  to { transform: translateX(-50%); }
}

/* Services Grid (General) */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}

.svc:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--g);
}

.svc .i {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 22px;
  background: var(--deep);
}

.svc h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.svc p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.svc ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
}

.svc ul li:before {
  content: "•";
  color: var(--g);
  font-weight: 800;
  display: inline-block;
  width: 14px;
}

.svc .svc-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 15px;
  color: var(--g);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.svc .svc-link:hover {
  text-decoration: underline;
}

/* Dedicated Service Pillar Sections (services.html) */
.pillar-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 6vw, 64px);
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.pillar-row:last-child {
  border-bottom: 0;
}

.pillar-info h3 {
  font-size: clamp(28px, 3.5vw, 36px);
  margin-bottom: 14px;
}

.pillar-info p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 24px;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.deliv-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  transition: border-color .2s;
}

.deliv-card:hover {
  border-color: var(--g);
}

.deliv-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text);
}

.deliv-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* About Us Layout (about.html) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.split h2 {
  font-size: clamp(32px, 4.2vw, 46px);
}

.split p {
  color: var(--muted);
  font-size: 18px;
  margin: 16px 0 24px;
}

.checks {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checks li {
  display: flex;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
}

.checks li:before {
  content: "✓";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--g);
  color: #04211a;
  font-size: 13px;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.mv {
  display: grid;
  gap: 16px;
}

.mvc {
  border-radius: 22px;
  padding: 32px;
  color: #fff;
}

.mvc.a {
  background: #e9ecea;
  color: #0a0f0d;
}

:root[data-theme="dark"] .mvc.a {
  background: #161c1a;
  color: #ffffff;
}

.mvc.b {
  background: linear-gradient(135deg, var(--midd), var(--sky));
  color: var(--gi);
}

.mvc h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.mvc p {
  margin: 0;
  color: inherit;
  font-size: 16px;
  opacity: .95;
}

/* Principles Grid (about.html) */
.prin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.prin-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

.prin-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--g);
  margin-bottom: 12px;
  line-height: 1;
}

.prin-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.prin-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}

/* FAQ Accordion (faq.html) */
.faq-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.faq-filter button {
  cursor: pointer;
  border: 1.5px solid var(--line);
  background: var(--card);
  padding: 10px 20px;
  border-radius: 99px;
  font: 600 15px var(--f);
  color: var(--text);
  transition: all .2s ease;
}

.faq-filter button:hover,
.faq-filter button.active {
  background: var(--g);
  border-color: var(--g);
  color: var(--gi);
}

.faq-list {
  display: grid;
  gap: 16px;
  max-width: 900px;
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 28px;
  transition: border-color .2s, box-shadow .2s;
}

details[open] {
  border-color: var(--g);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

summary {
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  color: var(--text);
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: "+";
  font-size: 24px;
  font-weight: 600;
  color: var(--g);
  transition: transform .2s ease;
  flex: none;
  margin-left: 14px;
}

details[open] summary:after {
  transform: rotate(45deg);
}

details p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* Contact Us Layout (contact.html) */
.cgrid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: start;
}

.contact-info-list {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.ci-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--g);
  color: var(--gi);
  display: grid;
  place-items: center;
  flex: none;
}

.ci-content small {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--g);
  letter-spacing: .06em;
  margin-bottom: 2px;
}

.ci-content span,
.ci-content a {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

/* Forms */
form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 36px);
  display: grid;
  gap: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

form .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

form label {
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}

input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: 500 15.5px var(--f);
  transition: border-color .2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--g);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(15, 168, 125, 0.2);
}

/* Quote Page Interactive Steps (quote.html) */
.quote-container {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 36px;
  align-items: start;
}

.quote-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 20px;
}

.quote-step h3 {
  font-size: 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--g);
  color: var(--gi);
  font-size: 14px;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
}

.pill-select {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-select label {
  cursor: pointer;
  border: 1.5px solid var(--line);
  background: var(--bg);
  padding: 10px 18px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .2s ease;
}

.pill-select input[type="checkbox"],
.pill-select input[type="radio"] {
  display: none;
}

.pill-select label:has(input:checked) {
  background: var(--g);
  border-color: var(--g);
  color: var(--gi);
}

.quote-summary {
  position: sticky;
  top: 100px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.quote-summary h3 {
  font-size: 21px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.quote-summary ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.quote-summary ul li {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.quote-summary ul li b {
  color: var(--text);
}

/* Blog Hub Layout (blog.html) */
.blog-feat {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 48px;
  align-items: center;
  transition: transform .25s, box-shadow .25s;
}

.blog-feat:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15);
}

.blog-feat-img {
  height: 380px;
  overflow: hidden;
  background: var(--soft);
}

.blog-feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-feat-content {
  padding: clamp(24px, 4vw, 40px);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.blog-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--soft);
  position: relative;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.blog-tag {
  color: var(--g);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .06em;
}

.blog-card h3 {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.blog-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 20px;
}

.blog-card .read-more {
  margin-top: auto;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--g);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Individual Blog Article Post (blog/*.html) */
.article-header {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}

.article-header h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.15;
  margin: 16px 0 20px;
}

.article-header p.lead {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.article-cover {
  max-width: 1020px;
  margin: 0 auto 56px;
  border-radius: 24px;
  overflow: hidden;
  height: clamp(320px, 40vw, 500px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
}

.article-content h2 {
  font-size: 28px;
  margin: 44px 0 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.article-content h3 {
  font-size: 22px;
  margin: 32px 0 14px;
}

.article-content p {
  margin-bottom: 24px;
  color: var(--text);
  opacity: .92;
}

.article-content ul,
.article-content ol {
  margin: 0 0 28px;
  padding-left: 24px;
  display: grid;
  gap: 10px;
}

.takeaway-box {
  background: var(--soft);
  border-left: 4px solid var(--g);
  border-radius: 0 16px 16px 0;
  padding: 24px 28px;
  margin: 36px 0;
}

.takeaway-box h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text);
}

.takeaway-box p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

/* Glassmorphic Consultation Banner */
.bn {
  background: linear-gradient(135deg, #0b1a14 0%, #080808 100%);
  border: 1px solid rgba(15, 168, 125, 0.35);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 28px;
  padding: clamp(36px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.bn h2 {
  color: #ffffff;
}

.bn p {
  color: #a7b7b0;
}

.bnt span {
  color: #e2ece7;
}

.bn:before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 168, 125, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.bn h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 14px;
}

.bn p {
  color: var(--muted);
  font-size: 17.5px;
  margin-bottom: 22px;
}

.bnt {
  display: grid;
  gap: 12px;
}

.bnt span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

.bnt span:before {
  content: "✓";
  color: var(--g);
  font-weight: 800;
}

.bna {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
}

.bna small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

/* Footer */
footer {
  background: #080808;
  color: #fff;
  border-top: 1px solid #1f2e29;
  padding: 64px 0 32px;
}

.fg {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}

footer .brand {
  color: #fff;
  margin-bottom: 14px;
}

footer p {
  color: #9aa8a2;
  font-size: 15px;
  max-width: 32ch;
  line-height: 1.6;
}

footer h3 {
  font-size: 16px;
  color: #fff;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  font-size: 15px;
}

footer ul a {
  color: #9aa8a2;
  transition: color .2s;
}

footer ul a:hover {
  color: var(--g);
}

.copy {
  border-top: 1px solid #1f2e29;
  padding-top: 28px;
  text-align: center;
  color: #6d7b75;
  font-size: 14px;
}

/* Back to Top */
.top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--g);
  color: var(--gi);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  z-index: 40;
  transition: transform .2s;
}

.top:hover {
  transform: translateY(-3px);
}

/* Responsive Breakpoints */
@media(max-width: 980px) {
  .grid3, .blog-grid, .prin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hgrid, .split, .cgrid, .bn, .quote-container, .blog-feat, .pillar-row {
    grid-template-columns: 1fr;
  }
  .bna {
    align-items: flex-start;
  }
  .fg {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 640px) {
  .grid3, .blog-grid, .prin-grid, .fg, .deliverables-grid, form .two {
    grid-template-columns: 1fr;
  }
  .sec {
    padding: 56px 0;
  }
}

