/* ═══════════════════════════════════════════════════════════
   Sales Ignition — Shared Stylesheet
   Matches conversion.design dark aesthetic exactly
═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0f0f0f;
  --bg-alt:       #161616;
  --bg-card:      #1a1a1a;
  --bg-hover:     #222222;
  --border:       #2c2c2c;
  --border-light: #383838;
  --text:         #f2ede7;
  --text-muted:   #999999;
  --text-dim:     #555555;
  --accent:       #f0c040;
  --accent-dark:  #d4a020;
  --accent-text:  #0f0f0f;
  --link:         #f0c040;
  --font:         'Open Sans', sans-serif;
  --max:          1080px;
  --radius:       6px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 36px; }

.eyebrow {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 16px;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; color: var(--text); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; color: var(--text); margin-bottom: 24px; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.35; color: var(--text); margin-bottom: 12px; }

p { margin-bottom: 18px; color: var(--text); }
p:last-child { margin-bottom: 0; }
p.muted { color: var(--text-muted); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 700; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-text);
  font-family: var(--font); font-size: 15px; font-weight: 800;
  letter-spacing: 0.02em; padding: 14px 32px; border-radius: var(--radius);
  text-decoration: none; transition: background 0.18s, transform 0.15s; white-space: nowrap;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-1px); }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-light);
}
.btn--ghost:hover { background: var(--bg-card); color: var(--text); text-decoration: none; }

/* ── NAV ─────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 200; background: var(--bg); border-bottom: 1px solid var(--border); }
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 0 36px; display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav__logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.nav__logo-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--bg-card); border: 1px solid var(--border-light); flex-shrink: 0; }
.nav__logo-fallback { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); display: none; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: var(--accent-text); flex-shrink: 0; }
.nav__logo-name { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.25; }
.nav__logo-sub { display: block; font-size: 11px; font-weight: 400; color: var(--text-muted); }
.nav__links { display: flex; align-items: center; list-style: none; gap: 2px; flex: 1; justify-content: flex-end; }
.nav__links > li > a { display: block; font-size: 14px; font-weight: 600; color: var(--text-muted); padding: 7px 14px; border-radius: var(--radius); transition: color 0.15s, background 0.15s; text-decoration: none; white-space: nowrap; line-height: 1.3; text-align: center; }
.nav__links > li > a:hover { color: var(--text); background: var(--bg-card); }
.nav__links > li.nav__cta > a { background: var(--accent); color: var(--accent-text); font-weight: 800; }
.nav__links > li.nav__cta > a:hover { background: var(--accent-dark); }
.nav__dropdown { position: relative; }
.nav__dropdown > a::after { content: ' ▾'; font-size: 9px; opacity: 0.6; }
.nav__dropdown-menu { display: none; position: absolute; top: calc(100% + 10px); right: 0; min-width: 230px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,0.5); padding: 6px; z-index: 300; }
.nav__dropdown:hover .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a { display: block; padding: 9px 14px; font-size: 14px; font-weight: 500; color: var(--text-muted); border-radius: 4px; transition: color 0.12s, background 0.12s; }
.nav__dropdown-menu a:hover { color: var(--text); background: var(--bg-hover); text-decoration: none; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--text-muted); border-radius: 2px; }

/* ── CASE STUDY HERO ─────────────────────────────────────── */
.cs-hero { padding: 72px 0 64px; border-bottom: 1px solid var(--border); }
.cs-hero h1 { margin-bottom: 16px; }
.cs-hero__desc { font-size: 1.1rem; color: var(--text-muted); max-width: 680px; margin-bottom: 48px; line-height: 1.7; }

.cs-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  max-width: 780px;
}
.cs-meta__item {
  padding: 24px 28px;
  border-right: 1px solid var(--border);
}
.cs-meta__item:last-child { border-right: none; }
.cs-meta__label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-dim);
  display: block; margin-bottom: 10px;
}
.cs-meta__value {
  font-size: 15px; font-weight: 600; color: var(--text);
  line-height: 1.4;
}
.cs-meta__value.accent { color: var(--accent); font-size: 1.6rem; font-weight: 800; }
.cs-meta__value a { color: var(--link); font-weight: 600; }

/* ── CASE STUDY BODY ─────────────────────────────────────── */
.cs-body { padding: 72px 0; }
.cs-section { margin-bottom: 72px; }
.cs-section:last-child { margin-bottom: 0; }
.cs-section h2 { margin-bottom: 32px; }

/* Full-width image display */
.cs-image {
  width: 100%;
  border-radius: 8px;
  display: block;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.cs-image:last-child { margin-bottom: 0; }

/* Image placeholder */
.cs-image-placeholder {
  width: 100%;
  background: var(--bg-card);
  border: 1px dashed var(--border-light);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  padding: 60px 24px;
  margin-bottom: 20px;
}
.cs-image-placeholder code {
  display: block;
  font-family: monospace;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-hover);
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: 8px;
}

/* ── OTHER PROJECTS ──────────────────────────────────────── */
.other-projects { padding: 64px 0; border-top: 1px solid var(--border); }
.other-projects h2 { margin-bottom: 28px; }
.other-projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.other-projects__grid a {
  display: block;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.other-projects__grid a:hover {
  color: var(--text);
  border-color: var(--border-light);
  background: var(--bg-hover);
}
.other-projects__grid a.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--bg-card);
}

/* ── BOTTOM CTA ──────────────────────────────────────────── */
.bottom-cta {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 88px 0;
  text-align: center;
}
.bottom-cta .container { max-width: 620px; }
.bottom-cta__list {
  list-style: none; max-width: 420px; margin: 28px auto 40px; text-align: left;
}
.bottom-cta__list li {
  padding: 12px 0 12px 26px; border-bottom: 1px solid var(--border);
  position: relative; font-size: 16px; color: var(--text-muted);
}
.bottom-cta__list li:first-child { border-top: 1px solid var(--border); }
.bottom-cta__list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 28px 36px; text-align: center; font-size: 13px; color: var(--text-dim); }
footer a { color: var(--text-dim); }
footer a:hover { color: var(--text-muted); }

/* ── HOMEPAGE ONLY ───────────────────────────────────────── */
.hero { padding: 88px 0 72px; text-align: center; }
.hero h1 { max-width: 800px; margin: 0 auto 26px; }
.hero__sub { font-size: 1.1rem; color: var(--text-muted); max-width: 540px; margin: 0 auto 40px; line-height: 1.7; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 52px; }
.hero__proof { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero__avatars { display: flex; }
.hero__avatars .av { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; flex-shrink: 0; }
.hero__avatars .av:first-child { margin-left: 0; }
.hero__avatars .av:nth-child(1) { background: #2d6a9f; }
.hero__avatars .av:nth-child(2) { background: #9b4444; }
.hero__avatars .av:nth-child(3) { background: #3d7a52; }
.hero__avatars .av:nth-child(4) { background: #7a5a2d; }
.hero__avatars .av:nth-child(5) { background: #5a3d7a; }
.hero__proof-text { font-size: 14px; color: var(--text-muted); line-height: 1.5; text-align: left; }
.hero__proof-text strong { color: var(--text); }
.logos { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; background: var(--bg); }
.logos__inner { padding: 24px 0; }
.logos__track { display: flex; align-items: center; width: max-content; animation: marquee 30s linear infinite; }
.logos__track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.logos__item { padding: 0 44px; flex-shrink: 0; display: flex; align-items: center; border-right: 1px solid var(--border); }
.logos__item:last-child { border-right: none; }
.logos__item img { height: 22px; width: auto; filter: brightness(0) invert(1) opacity(0.35); transition: opacity 0.2s; }
.logos__item:hover img { filter: brightness(0) invert(1) opacity(0.7); }
.logos__item span { font-size: 12px; font-weight: 700; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; transition: color 0.2s; }
.logos__item:hover span { color: var(--text-muted); }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.check-list { list-style: none; margin: 28px 0 40px; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; color: var(--text-muted); line-height: 1.5; }
.check-list li:first-child { border-top: 1px solid var(--border); }
.check-list li::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.stat-stack { display: flex; flex-direction: column; gap: 16px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 24px 28px; }
.stat-card__num { font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1; display: block; margin-bottom: 6px; }
.stat-card__label { font-size: 14px; color: var(--text-muted); line-height: 1.4; }
.case-band { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 0; }
.case-band__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.case-band__numbers { display: flex; gap: 48px; margin: 32px 0 36px; flex-wrap: wrap; }
.case-band__big { font-size: 3.2rem; font-weight: 800; color: var(--text); line-height: 1; display: block; }
.case-band__pct { font-size: 1.4rem; font-weight: 700; color: var(--accent); display: block; margin-top: 2px; }
.case-band__label { font-size: 13px; color: var(--text-muted); display: block; margin-top: 4px; }
.case-band__placeholder { aspect-ratio: 16/10; background: var(--bg-card); display: flex; align-items: center; justify-content: center; color: var(--text-dim); font-size: 13px; border: 1px dashed var(--border-light); border-radius: 8px; }
.testimonials__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 52px; }
.tcard { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 36px; }
.tcard__meta { font-size: 13px; color: var(--text-dim); margin-bottom: 20px; }
.tcard h3 { font-size: 1.05rem; margin-bottom: 18px; }
.tcard p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 0; }
.tcard__author { display: flex; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); }
.tcard__author-img { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-hover); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: var(--accent); flex-shrink: 0; border: 1px solid var(--border-light); overflow: hidden; }
.tcard__author-img img { width: 100%; height: 100%; object-fit: cover; }
.tcard__author-name { font-weight: 700; font-size: 15px; }
.tcard__author-title { font-size: 13px; color: var(--text-muted); }
.about__photo-placeholder { aspect-ratio: 3/4; background: var(--bg-card); border-radius: 8px; border: 1px dashed var(--border-light); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--text-dim); font-size: 13px; line-height: 1.6; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { background: var(--bg-card); border: 1px solid var(--border); border-radius: 100px; padding: 5px 14px; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.portfolio__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 52px; }
.pcard { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.pcard:hover { border-color: var(--border-light); transform: translateY(-3px); }
.pcard__img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-hover); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-dim); font-size: 13px; }
.pcard__body { padding: 28px 28px 32px; }
.pcard__stats { display: flex; gap: 28px; margin: 16px 0; }
.pcard__stat-num { font-size: 1.9rem; font-weight: 800; color: var(--accent); line-height: 1; display: block; }
.pcard__stat-pct { font-size: 1.1rem; font-weight: 700; color: var(--accent); }
.pcard__stat-label { font-size: 12px; color: var(--text-dim); display: block; margin-top: 3px; }
.pcard__link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent); margin-top: 16px; text-decoration: none; }
.pcard__link:hover { text-decoration: underline; }
.pcard__link::after { content: '→'; }
.cta-section { padding: 96px 0; text-align: center; }
.cta-section .container { max-width: 620px; }
.cta__list { list-style: none; max-width: 420px; margin: 28px auto 40px; text-align: left; }
.cta__list li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--border); position: relative; font-size: 16px; color: var(--text-muted); }
.cta__list li:first-child { border-top: 1px solid var(--border); }
.cta__list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.contact-section { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 80px 0; text-align: center; }
.contact-section .container { max-width: 560px; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 820px) {
  .nav__links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 24px 20px; z-index: 500; }
  .nav__links.open { display: flex; }
  .nav__hamburger { display: flex; }
  .two-col, .case-band__inner { grid-template-columns: 1fr; gap: 44px; }
  .cs-meta { grid-template-columns: 1fr; }
  .cs-meta__item { border-right: none; border-bottom: 1px solid var(--border); }
  .cs-meta__item:last-child { border-bottom: none; }
  .testimonials__grid, .portfolio__grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 52px; }
  .section { padding: 64px 0; }
  h1 { font-size: 2.1rem; }
}

/* ── NEW PORTFOLIO CARD COLORS ───────────────────────────── */
.pcard--little-hunter   { background: #f97316; }  /* burnt orange      */
.pcard--tumblerware     { background: #0f766e; }  /* deep teal         */
.pcard--hear-com        { background: #1e40af; }  /* rich blue         */
.pcard--blaze-n-chill   { background: #16a34a; }  /* deep green        */
.pcard--enchant-brands  { background: #7c3aed; }  /* deep violet       */
.pcard--vurbmoto        { background: #18181b; }  /* near-black        */
.pcard--therapy-clean   { background: #e0f2fe; }  /* light sky blue    */

/* Light-text overrides for dark cards */
.pcard--tumblerware .pcard__body .eyebrow,
.pcard--hear-com .pcard__body .eyebrow,
.pcard--blaze-n-chill .pcard__body .eyebrow,
.pcard--enchant-brands .pcard__body .eyebrow,
.pcard--vurbmoto .pcard__body .eyebrow { color: rgba(255,255,255,0.45); }

.pcard--tumblerware .pcard__body h3,
.pcard--hear-com .pcard__body h3,
.pcard--blaze-n-chill .pcard__body h3,
.pcard--enchant-brands .pcard__body h3,
.pcard--vurbmoto .pcard__body h3 { color: #ffffff; }

.pcard--tumblerware .pcard__body p,
.pcard--hear-com .pcard__body p,
.pcard--blaze-n-chill .pcard__body p,
.pcard--enchant-brands .pcard__body p,
.pcard--vurbmoto .pcard__body p { color: rgba(255,255,255,0.62); }

.pcard--tumblerware .pcard__stat-num,
.pcard--tumblerware .pcard__stat-pct,
.pcard--hear-com .pcard__stat-num,
.pcard--hear-com .pcard__stat-pct,
.pcard--blaze-n-chill .pcard__stat-num,
.pcard--blaze-n-chill .pcard__stat-pct,
.pcard--enchant-brands .pcard__stat-num,
.pcard--enchant-brands .pcard__stat-pct,
.pcard--vurbmoto .pcard__stat-num,
.pcard--vurbmoto .pcard__stat-pct { color: #ffffff; }

.pcard--tumblerware .pcard__stat-label,
.pcard--hear-com .pcard__stat-label,
.pcard--blaze-n-chill .pcard__stat-label,
.pcard--enchant-brands .pcard__stat-label,
.pcard--vurbmoto .pcard__stat-label { color: rgba(255,255,255,0.45); }

.pcard--tumblerware .pcard__link,
.pcard--hear-com .pcard__link,
.pcard--blaze-n-chill .pcard__link,
.pcard--enchant-brands .pcard__link,
.pcard--vurbmoto .pcard__link { color: rgba(255,255,255,0.8); }

.pcard--tumblerware .pcard__link:hover,
.pcard--hear-com .pcard__link:hover,
.pcard--blaze-n-chill .pcard__link:hover,
.pcard--enchant-brands .pcard__link:hover,
.pcard--vurbmoto .pcard__link:hover { color: #ffffff; }
