/* ============================================================
   Core Values Marketing — Shared Design System
   Font: DM Sans (loaded per-page via Google Fonts link)
   ============================================================ */

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --f:         'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --p:         #6D28D9;
  --p-dark:    #5B21B6;
  --p-on-dark: #A78BFA;
  --gold:      #D4A520;
  --gold-light:#F0C040;
  --dk:        #0A0318;
  --ink:       #0F0F14;
  --body:      #2A2A35;
  --muted:     #6B7280;
  --line:      #E4E4EB;
  --light:     #F5F5F7;
  --w:         #FFFFFF;
  --red:       #DC2626;
  --green:     #16A34A;
}

/* ─── BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--f);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--w);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── LAYOUT ──────────────────────────────────────────── */
.wrap    { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.wrap-sm { max-width:  780px; margin: 0 auto; padding: 0 40px; }
.wrap-xs { max-width:  640px; margin: 0 auto; padding: 0 40px; }

/* ─── TOP BAR ─────────────────────────────────────────── */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  height: 36px; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: #06020F;
  border-bottom: 1px solid rgba(212,165,32,0.10);
}
.top-bar-name {
  font-size: 11.5px; font-weight: 500;
  color: rgba(255,255,255,0.40); letter-spacing: 0.2px;
}
.top-bar-name strong { color: var(--gold); font-weight: 700; }
.top-bar-phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,0.50);
  text-decoration: none; transition: color .15s; letter-spacing: 0.2px;
}
.top-bar-phone:hover { color: var(--gold-light); }
.top-bar-phone svg { color: var(--gold); }

/* ─── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 100;
  height: 68px; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,3,24,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,165,32,0.14);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-img { height: 36px; width: 36px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name { font-size: 13.5px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--w); }
.nav-logo-sub  { font-size: 9.5px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links > li > a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.55); transition: color .15s; }
.nav-links > li > a:hover { color: var(--w); }

/* ── Dropdown ── */
.nav-drop { position: relative; }
.nav-drop-trigger {
  display: flex; align-items: center; gap: 5px; cursor: pointer;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.55);
  transition: color .15s; user-select: none; background: none; border: none;
  font-family: var(--f); padding: 0;
}
.nav-drop-trigger:hover { color: var(--w); }
.nav-drop-trigger svg { width: 11px; height: 11px; transition: transform .2s; }
.nav-drop:hover .nav-drop-trigger svg { transform: rotate(180deg); }

.nav-drop-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #0D0A1E;
  border: 1px solid rgba(212,165,32,0.16);
  border-radius: 12px; padding: 16px 8px 8px; min-width: 230px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
  z-index: 200;
  /* padding-top bridges the gap so mouse stays inside the hover target */
}
.nav-drop:hover .nav-drop-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-drop-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,0.62); text-decoration: none;
  transition: background .12s, color .12s;
}
.nav-drop-item:hover { background: rgba(255,255,255,0.06); color: var(--w); }
.nav-drop-item svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--gold); opacity: .7; }
.nav-drop-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 6px 4px; }
.nav-drop-all {
  display: block; text-align: center; padding: 9px 12px; border-radius: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--p-on-dark);
  transition: background .12s;
}
.nav-drop-all:hover { background: rgba(109,40,217,0.14); }

.nav-cta {
  background: var(--p); color: var(--w) !important;
  font-size: 13.5px; font-weight: 600;
  padding: 9px 18px; border-radius: 6px;
  transition: background .15s !important;
}
.nav-cta:hover { background: var(--p-dark) !important; }

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-burger span { width: 22px; height: 2px; background: var(--w); border-radius: 2px; }

.nav-mobile {
  display: none; position: fixed; top: 104px; left: 0; right: 0;
  background: var(--dk); border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px 32px;
  flex-direction: column; gap: 0; z-index: 99; overflow-y: auto; max-height: calc(100vh - 68px);
}
.nav-mobile.open { display: flex; }
.nav-mobile a,
.nav-mobile .nav-mob-label {
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.75);
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  display: block;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mob-label {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  padding-top: 20px; padding-bottom: 6px;
  border-bottom: none !important;
}
.nav-mob-sub {
  font-size: 14px !important; font-weight: 500 !important;
  color: rgba(255,255,255,0.50) !important;
  padding: 9px 0 9px 14px !important;
}
.nav-mobile .nav-cta {
  text-align: center; padding: 14px; font-size: 15px;
  border-radius: 8px; margin-top: 12px; color: var(--w) !important;
  border-bottom: none !important;
}

/* ─── HERO (homepage) ─────────────────────────────────── */
.hero {
  padding: 188px 0 104px;
  background-image:
    linear-gradient(105deg,
      rgba(10,3,24,0.97) 0%, rgba(10,3,24,0.92) 40%,
      rgba(10,3,24,0.60) 68%, rgba(10,3,24,0.28) 100%),
    url('hero-banner.png');
  background-size: cover;
  background-position: center center;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2.8px; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; display: inline-block;
  width: 28px; height: 2px;
  background: var(--gold); flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -2.5px; color: var(--w);
  max-width: 720px; margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(16px, 1.8vw, 18px);
  color: rgba(255,255,255,0.55); max-width: 500px;
  line-height: 1.65; margin-bottom: 36px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats { display: flex; align-items: stretch; border-top: 1px solid rgba(212,165,32,0.18); padding-top: 40px; }
.hero-stat { flex: 1; padding: 0 32px; border-right: 1px solid rgba(255,255,255,0.09); }
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child  { border-right: none; }
.hero-stat-num   { font-size: 22px; font-weight: 800; color: var(--gold-light); letter-spacing: -0.5px; line-height: 1; margin-bottom: 6px; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.4; font-weight: 500; }

/* ─── PAGE HERO (interior pages) ─────────────────────── */
.page-hero {
  background: var(--dk);
  padding: 156px 0 72px;
  border-bottom: 1px solid rgba(212,165,32,0.12);
}
.page-hero-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2.8px; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.page-hero-eyebrow::before {
  content: ''; display: inline-block;
  width: 24px; height: 2px;
  background: var(--gold); flex-shrink: 0;
}
.page-hero h1 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -2px; color: var(--w);
  max-width: 760px; margin-bottom: 18px;
}
.page-hero-sub {
  font-size: clamp(15px, 1.8vw, 17.5px);
  color: rgba(255,255,255,0.55); max-width: 540px;
  line-height: 1.65; margin-bottom: 32px;
}
.page-hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 7px; border: none;
  cursor: pointer; text-decoration: none;
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--p); color: var(--w); }
.btn-primary:hover { background: var(--p-dark); color: var(--w); transform: translateY(-1px); }
.btn-outline { background: transparent; color: rgba(255,255,255,0.72); border: 1.5px solid rgba(255,255,255,0.20); }
.btn-outline:hover { border-color: rgba(255,255,255,0.45); color: var(--w); }
.btn-lg { font-size: 16px; padding: 15px 32px; }
.btn-white { background: var(--w); color: var(--p); }
.btn-white:hover { background: #F0EBFF; color: var(--p-dark); transform: translateY(-1px); }
.btn-ghost-dark { background: transparent; color: rgba(255,255,255,0.65); border: 1.5px solid rgba(255,255,255,0.16); }
.btn-ghost-dark:hover { color: var(--w); border-color: rgba(255,255,255,0.38); }
.btn-secondary { background: transparent; color: var(--p); border: 1.5px solid var(--p); }
.btn-secondary:hover { background: rgba(109,40,217,0.06); transform: translateY(-1px); }

/* ─── CHANNEL BAR ─────────────────────────────────────── */
.channel-bar { background: rgba(10,3,24,0.98); border-bottom: 1px solid rgba(212,165,32,0.12); }
.channel-bar-inner { display: flex; align-items: stretch; flex-wrap: wrap; }
.channel-item { display: flex; align-items: center; gap: 12px; padding: 15px 32px; border-right: 1px solid rgba(255,255,255,0.06); flex: 1; min-width: 200px; }
.channel-item:last-child { border-right: none; }
.channel-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold); }
.channel-label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.80); }
.channel-sub   { font-size: 12px; color: rgba(255,255,255,0.35); margin-left: 6px; }

/* ─── SECTION BASICS ──────────────────────────────────── */
.section    { padding: 96px 0; }
.section-sm { padding: 72px 0; }
.section-light { background: var(--light); }
.section-dark  { background: var(--dk); }

.label {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--p); display: block; margin-bottom: 12px;
}
.section-dark .label { color: var(--gold); }

.h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -1px; color: var(--ink);
}
.section-dark .h2 { color: var(--w); }

.lead { font-size: 17px; color: var(--muted); line-height: 1.65; margin-top: 14px; }
.section-dark .lead { color: rgba(255,255,255,0.50); }

/* ─── HOMEPAGE: PAIN SECTION ──────────────────────────── */
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 60px; }
.pain-list { list-style: none; }
.pain-list li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.55; color: var(--body); }
.pain-list li:first-child { padding-top: 0; }
.pain-list li:last-child  { border-bottom: none; }
.x-dot { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; border-radius: 50%; background: #FEE2E2; display: flex; align-items: center; justify-content: center; }
.x-dot svg { width: 10px; height: 10px; color: var(--red); }
.pain-cta { border: 1px solid var(--line); border-left: 3px solid var(--p); border-radius: 0 10px 10px 0; padding: 32px; background: var(--w); }
.pain-cta h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.4px; color: var(--ink); margin-bottom: 10px; }
.pain-cta p  { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.pain-cta .btn { width: 100%; justify-content: center; }

/* ─── HOMEPAGE: SERVICES GRID ─────────────────────────── */
.services-head { max-width: 560px; margin-bottom: 48px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card { border: 1px solid var(--line); border-radius: 12px; padding: 28px 28px 32px; background: var(--w); }
.svc-icon { width: 38px; height: 38px; border-radius: 8px; background: rgba(109,40,217,0.07); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.svc-icon svg { width: 18px; height: 18px; color: var(--p); }
.service-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.2px; color: var(--ink); margin-bottom: 8px; }
.service-card p  { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ─── HOMEPAGE: PROCESS TABLE ─────────────────────────── */
.process-head { max-width: 560px; margin-bottom: 52px; }
.process-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.process-row { display: grid; grid-template-columns: 64px 1fr; border-bottom: 1px solid var(--line); }
.process-row:last-child { border-bottom: none; }
.process-num { display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: var(--p); border-right: 1px solid var(--line); padding: 28px 0; }
.process-body { padding: 28px 32px; }
.process-body h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 5px; letter-spacing: -0.2px; }
.process-body p  { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ─── HOMEPAGE: WHY CVM ───────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 60px; }
.why-list { list-style: none; }
.why-row { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.why-row:first-child { padding-top: 0; }
.why-row:last-child  { border-bottom: none; }
.check-dot { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; border-radius: 50%; background: #DCFCE7; display: flex; align-items: center; justify-content: center; }
.check-dot svg { width: 10px; height: 10px; color: var(--green); }
.why-row-text h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.why-row-text p  { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.why-aside { display: flex; flex-direction: column; gap: 16px; }
.stat-card { border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; background: var(--w); }
.stat-card-num   { font-size: 38px; font-weight: 800; color: var(--p); letter-spacing: -2px; line-height: 1; margin-bottom: 6px; }
.stat-card-label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.stat-card-sub   { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* ─── CTA SECTION ─────────────────────────────────────── */
.cta-layout { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.cta-text .h2 { margin-bottom: 12px; max-width: 520px; }
.cta-aside { display: flex; flex-direction: column; gap: 12px; min-width: 240px; }
.cta-aside .btn { justify-content: center; }
.cta-note { font-size: 12.5px; color: rgba(255,255,255,0.35); text-align: center; }
.cta-note a { color: var(--gold); }

/* ─── BLOG LIST ───────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; background: var(--w);
  display: flex; flex-direction: column;
  transition: box-shadow .2s;
}
.blog-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.08); }
.blog-card-thumb {
  width: 100%; aspect-ratio: 3/2; overflow: hidden; flex-shrink: 0;
}
.blog-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }
.blog-card-body {
  padding: 22px 24px 24px;
  display: flex; flex-direction: column; flex: 1;
}
.blog-card-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--p); margin-bottom: 12px; }
.blog-card h2 { font-size: 17.5px; font-weight: 700; letter-spacing: -0.3px; color: var(--ink); line-height: 1.3; margin-bottom: 10px; flex: 1; }
.blog-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.blog-card-date { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.blog-card-link { font-size: 13.5px; font-weight: 600; color: var(--p); display: flex; align-items: center; gap: 5px; }
.blog-card-link:hover { color: var(--p-dark); }

/* ─── ARTICLE (blog posts) ────────────────────────────── */
.post-header {
  padding: 156px 0 64px;
  background: var(--dk);
  border-bottom: 1px solid rgba(212,165,32,0.12);
}
.post-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px; transition: color .15s;
}
.post-back:hover { color: rgba(255,255,255,0.75); }
.post-back svg { width: 14px; height: 14px; }
.post-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block; }
.post-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -1.5px; color: var(--w);
  max-width: 760px; margin-bottom: 20px;
}
.post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.post-meta-item { font-size: 13.5px; color: rgba(255,255,255,0.45); font-weight: 500; }
.post-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.25); flex-shrink: 0; }
.post-author-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1.5px solid rgba(212,165,32,0.35); }
.post-author-name { color: rgba(255,255,255,0.70) !important; font-weight: 600 !important; }

.post-body {
  padding: 64px 0 80px;
}
.post-body-inner {
  max-width: 720px; margin: 0 auto; padding: 0 40px;
}

/* Article typography */
.post-body-inner h1,
.post-body-inner h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.8px; color: var(--ink);
  margin: 48px 0 16px;
}
.post-body-inner h2:first-child { margin-top: 0; }
.post-body-inner h3 {
  font-size: 19px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.3px;
  line-height: 1.3; margin: 36px 0 12px;
}
.post-body-inner h4 {
  font-size: 16.5px; font-weight: 700;
  color: var(--ink); margin: 28px 0 8px;
}
.post-body-inner p { font-size: 17px; color: var(--body); line-height: 1.75; margin-bottom: 20px; }
.post-body-inner ul,
.post-body-inner ol { padding-left: 24px; margin-bottom: 20px; }
.post-body-inner li { font-size: 17px; color: var(--body); line-height: 1.7; margin-bottom: 8px; }
.post-body-inner strong { font-weight: 700; color: var(--ink); }
.post-body-inner em { font-style: italic; }
.post-body-inner hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }
.post-body-inner blockquote {
  border-left: 3px solid var(--p);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
}
.post-body-inner blockquote p { font-size: 18px; font-style: italic; color: var(--ink); }
.post-body-inner a { color: var(--p); text-decoration: underline; text-underline-offset: 3px; }
.post-body-inner a:hover { color: var(--p-dark); }
.post-body-inner table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 15px; }
.post-body-inner th { background: var(--light); font-weight: 700; color: var(--ink); text-align: left; padding: 10px 14px; border: 1px solid var(--line); }
.post-body-inner td { padding: 10px 14px; border: 1px solid var(--line); color: var(--body); vertical-align: top; }
.post-body-inner tr:nth-child(even) td { background: #FAFAFA; }

/* Featured image at top of post */
.post-featured-img {
  width: 100%; border-radius: 12px;
  margin-bottom: 40px;
  aspect-ratio: 3/2; object-fit: cover;
  display: block;
}

/* Post CTA inline box */
.post-cta-box {
  background: var(--light);
  border: 1px solid var(--line);
  border-left: 3px solid var(--p);
  border-radius: 0 10px 10px 0;
  padding: 28px 28px 28px 28px;
  margin: 40px 0;
}
.post-cta-box h4 { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.post-cta-box p  { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.post-cta-box .btn { font-size: 14px; padding: 11px 22px; }

/* ─── SERVICE PAGE FEATURES ───────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature-item { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--w); }
.feature-icon { width: 40px; height: 40px; border-radius: 9px; background: rgba(109,40,217,0.07); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-icon svg { width: 20px; height: 20px; color: var(--p); }
.feature-item h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.2px; }
.feature-item p  { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--body); line-height: 1.55; }
.check-list li:first-child { padding-top: 0; }
.check-list li:last-child  { border-bottom: none; }
.check-list .ck { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; border-radius: 50%; background: #DCFCE7; display: flex; align-items: center; justify-content: center; }
.check-list .ck svg { width: 9px; height: 9px; color: var(--green); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.two-col-tight { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* ─── AUDIT LANDING PAGE ──────────────────────────────── */
.audit-form-wrap {
  background: var(--w);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px;
  max-width: 560px;
}
.form-field { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%; font-family: var(--f); font-size: 15px;
  padding: 12px 16px; border-radius: 8px;
  border: 1.5px solid var(--line); color: var(--ink);
  background: var(--w); transition: border-color .15s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--p); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-submit { width: 100%; justify-content: center; font-size: 16px; padding: 15px; }

/* ─── PORTFOLIO GRID ──────────────────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.portfolio-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--w); }
.portfolio-card-img { width: 100%; height: 200px; object-fit: cover; background: var(--light); display: flex; align-items: center; justify-content: center; }
.portfolio-card-body { padding: 24px; }
.portfolio-card-body h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.portfolio-card-body p  { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ─── FOOTER ──────────────────────────────────────────── */
footer { background: #07031A; border-top: 1px solid rgba(212,165,32,0.12); padding: 36px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-img  { height: 32px; width: 32px; object-fit: cover; border-radius: 5px; }
.footer-logo-name { font-size: 13.5px; font-weight: 800; color: rgba(255,255,255,0.60); letter-spacing: 0.3px; }
.footer-logo-name em { font-style: normal; color: var(--gold); }
.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.32); transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,0.65); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.22); margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }

/* ─── FLOAT CTA ───────────────────────────────────────── */
.float-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  display: flex; align-items: center; gap: 9px;
  background: var(--p); color: var(--w);
  font-family: var(--f); font-weight: 600; font-size: 13.5px;
  padding: 12px 20px; border-radius: 40px;
  box-shadow: 0 4px 20px rgba(109,40,217,0.36);
  transition: transform .2s, box-shadow .2s; text-decoration: none;
}
.float-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(109,40,217,0.48); color: var(--w); }
.float-cta svg { width: 15px; height: 15px; }

/* ─── BREADCRUMB ──────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.40); transition: color .15s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.70); }
.breadcrumb-sep { color: rgba(255,255,255,0.20); }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 960px) {
  .pain-grid, .why-grid, .two-col { grid-template-columns: 1fr; gap: 48px; }
  .services-grid, .two-col-tight  { grid-template-columns: 1fr; gap: 16px; }
  .feature-grid  { grid-template-columns: repeat(2, 1fr); }
  .blog-grid     { grid-template-columns: repeat(2, 1fr); }
  .cta-layout    { grid-template-columns: 1fr; gap: 32px; }
  .cta-aside     { flex-direction: row; flex-wrap: wrap; min-width: auto; }
  .cta-aside .btn { flex: 1 1 200px; }
  .nav-links   { display: none; }
  .nav-burger  { display: flex; }
  .hero-stats  { max-width: 640px; }
  .portfolio-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap, .wrap-sm, .wrap-xs { padding: 0 20px; }
  .top-bar { display: none; }
  .nav  { top: 0; padding-left: 20px; padding-right: 20px; }
  .nav-mobile {
    top: 68px;
    padding-left: 20px; padding-right: 20px;
    padding-bottom: max(28px, calc(16px + env(safe-area-inset-bottom)));
  }
  .hero   { padding: 116px 0 72px; }
  .page-hero  { padding: 100px 0 56px; }
  .post-header { padding: 100px 0 52px; }
  .section { padding: 68px 0; }
  .section-sm { padding: 52px 0; }

  /* Hero: stack buttons full-width so they don't overflow */
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { justify-content: center; }

  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-stat { padding: 0 !important; border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.09); padding-bottom: 20px !important; }
  .hero-stat:last-child { border-bottom: none; padding-bottom: 0 !important; }

  /* Channel bar: swap border to bottom when items stack */
  .channel-item { min-width: 100%; padding: 13px 20px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .channel-item:last-child { border-bottom: none; }

  .why-aside { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .blog-grid    { grid-template-columns: 1fr; }
  .post-body-inner { padding: 0 20px; }

  /* Float CTA: respect iPhone home indicator */
  .float-cta {
    bottom: max(16px, calc(8px + env(safe-area-inset-bottom)));
    right: 16px; padding: 11px 17px; font-size: 12.5px;
  }
}
