/* ════════════════════════════════════════════════════
   Karma Services — style.css
   Design system: Bricolage Grotesque · DM Sans · DM Mono
   Tokens: dark base · amber gold accent
   ════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --bg:        #0b0b0b;
  --bg-raise:  #111111;
  --bg-lift:   #161616;
  --wire:      rgba(255,255,255,0.07);
  --wire-mid:  rgba(255,255,255,0.12);
  --gold:      #FFB547;
  --gold-dim:  rgba(255,181,71,0.12);
  --gold-glow: rgba(255,181,71,0.06);
  --text:      #f0ede8;   /* primary — unchanged */
  --text-2:    #a09e9a;   /* secondary — lifted from #888680, now ~5.5:1 on bg*/
  --text-3:    #6b6966;   /* tertiary — lifted from #444240, now ~3.1:1 on bg */
  --muted:     #6b6966;   /* alias kept in sync */
  --display:   'Bricolage Grotesque', sans-serif;
  --body:      'DM Sans', sans-serif;
  --mono:      'DM Mono', monospace;
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: #1a0f00; }

/* ── LAYOUT ── */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* legacy .container alias — keeps old code working */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }

/* ════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,11,11,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--wire);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.nav-brand {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
}

.nav-links a {
  display: block;
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--text);
  background: var(--wire);
}

.nav-tg {
  background: var(--gold-dim) !important;
  color: var(--gold) !important;
  border: 1px solid rgba(255,181,71,0.2) !important;
}
.nav-tg:hover {
  background: rgba(255,181,71,0.2) !important;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  color: var(--text-2);
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: 0.2s;
}

/* ════════════════════════════════════════════════════
   SECTION HEADING COMPONENTS (shared across pages)
   ════════════════════════════════════════════════════ */
.sec-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.sec-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
}

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* ════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: #1a0f00;
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.875rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn-primary:hover {
  background: #ffc96a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,181,71,0.28);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--wire);
  color: var(--text-2);
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--wire-mid);
  cursor: pointer;
  transition: 0.2s var(--ease);
}
.btn-ghost:hover {
  color: var(--text);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* legacy .btn alias */
.btn { /* see above classes */ }

/* ════════════════════════════════════════════════════
   FORMS  (shared: fg, inputs, star-picker, fmsg)
   ════════════════════════════════════════════════════ */
.fg,
.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.fg label,
.field-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}

.fg input,
.fg select,
.fg textarea,
.field-group input,
.field-group select,
.field-group textarea {
  background: var(--bg-raise);
  border: 1px solid var(--wire-mid);
  color: var(--text);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--body);
  transition: border-color 0.2s;
  resize: vertical;
  width: 100%;
}
.fg input::placeholder,
.fg textarea::placeholder,
.field-group input::placeholder,
.field-group textarea::placeholder {
  color: var(--text-3);
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus,
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: rgba(255,181,71,0.4);
}
.fg select option,
.field-group select option {
  background: var(--bg-lift);
}

.form-row,
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-actions-inline {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.nl-row {
  display: flex;
  gap: 0.5rem;
}
.nl-row input {
  flex: 1;
  background: var(--bg-raise);
  border: 1px solid var(--wire-mid);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: var(--body);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}
.nl-row input:focus {
  outline: none;
  border-color: rgba(255,181,71,0.4);
}

.star-picker { display: flex; gap: 0.2rem; }
.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-3);
  transition: 0.15s;
  padding: 0 0.05rem;
}
.star-btn.active,
.star-btn:hover { color: #f59e0b; transform: scale(1.1); }

.fa-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.fmsg,
.form-msg {
  font-size: 0.875rem;
  margin-top: 0.75rem;
  min-height: 1.2em;
}
.fmsg.ok, .form-msg.ok   { color: #4ade80; }
.fmsg.err, .form-msg.err { color: #f87171; }

/* ════════════════════════════════════════════════════
   POST CARDS  (used on landing + blog index)
   ════════════════════════════════════════════════════ */
.post-card {
  background: var(--bg-lift);
  border: 1px solid var(--wire);
  border-radius: 12px;
  padding: 1.75rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.2s, transform 0.2s;
}
.post-card:hover {
  border-color: rgba(255,181,71,0.3);
  transform: translateY(-3px);
}
.post-date {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.post-card h3 {
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.post-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  flex: 1;
  line-height: 1.6;
}
.post-more {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
/* legacy alias */
.post-read { font-size: 0.8rem; color: var(--gold); font-weight: 600; }

/* ════════════════════════════════════════════════════
   REVIEW COMPONENTS  (shared: landing + service pages)
   ════════════════════════════════════════════════════ */
.reviews-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2.5rem;
}

.review-featured {
  background: var(--bg-lift);
  border: 1px solid var(--wire-mid);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.review-featured::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-family: var(--display);
  font-size: 8rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.review-featured .rstars,
.review-featured .stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1.25rem;
}
.review-featured .rstars i,
.review-featured .stars i { color: #f59e0b; font-size: 0.875rem; }

.rfeat-text {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  letter-spacing: -0.015em;
}
.rfeat-meta strong { color: var(--text); font-size: 0.9375rem; }
.rfeat-meta span   { color: var(--text-2); font-size: 0.8125rem; }

.reviews-stack { display: flex; flex-direction: column; }

.rmin {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--wire);
}
.rmin:first-child { border-top: 1px solid var(--wire); }
.rmin-stars { display: flex; gap: 2px; margin-bottom: 0.5rem; }
.rmin-stars i { color: #f59e0b; font-size: 0.6rem; }
.rmin-text {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0.5rem;
}
.rmin-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* verified badge */
.vbadge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.65rem;
  color: #4ade80;
  font-style: normal;
  font-family: var(--mono);
  letter-spacing: 0.06em;
}
/* legacy alias */
.verified-badge {
  font-size: 0.7rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

/* review form wrapper */
.rfwrap {
  margin-top: 2.5rem;
  background: var(--bg-lift);
  border: 1px solid var(--wire-mid);
  border-radius: 16px;
  padding: 2rem;
}
.rfwrap h3 {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* legacy review-form-wrap alias */
.review-form-wrap {
  margin-top: 1.5rem;
  background: var(--bg-lift);
  border: 1px solid var(--wire-mid);
  border-radius: 16px;
  padding: 2rem;
}

/* ════════════════════════════════════════════════════
   BLOG LISTING PAGE
   ════════════════════════════════════════════════════ */
.blog-hero-section {
  padding: 5.5rem 0 4.5rem;
  border-bottom: 1px solid var(--wire);
  position: relative;
  overflow: hidden;
}
.blog-hero-section::before {
  content: '';
  position: absolute;
  top: -120px; left: -80px;
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(255,181,71,0.055) 0%, transparent 65%);
  pointer-events: none;
}
.blog-hero-section::after {
  content: 'UPDATES';
  position: absolute;
  right: -1rem; bottom: -1.5rem;
  font-family: var(--display);
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 800;
  color: var(--text);
  opacity: 0.025;
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.blog-hero-inner { position: relative; z-index: 1; }
.blog-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
}
.blog-hero-eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 1px;
  background: var(--gold);
}
.blog-hero-title {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 1rem;
}
.blog-hero-sub {
  font-size: 1.0625rem;
  color: var(--text-2);
  font-weight: 300;
  max-width: 460px;
  line-height: 1.7;
}
.blog-hero-meta {
  margin-top: 2rem;
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.blog-hero-count {
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--wire);
  padding: 0.35rem 0.85rem; border-radius: 100px;
}

/* Featured post — big card, full-width */
.blog-posts-section { padding: 4rem 0 6rem; }

.post-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--wire-mid);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
  text-decoration: none;
  color: var(--text);
  background: var(--bg-raise);
  transition: border-color 0.25s, background 0.25s;
}
.post-featured:hover {
  border-color: rgba(255,181,71,0.35);
  background: var(--bg-lift);
}
.post-featured-left {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--wire);
}
.post-featured-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--mono); font-size: 0.65rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
}
.post-featured-tag i { font-size: 0.6rem; }
.post-featured-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1; color: var(--text);
  margin-bottom: 1rem;
}
.post-featured-excerpt {
  font-size: 0.9375rem; color: var(--text-2);
  line-height: 1.7; font-weight: 300;
  flex: 1; margin-bottom: 2rem;
}
.post-featured-bottom {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.post-featured-date {
  font-family: var(--mono); font-size: 0.65rem;
  color: var(--text-3); letter-spacing: 0.1em;
  text-transform: uppercase;
}
.post-featured-cta {
  font-size: 0.8125rem; font-weight: 600;
  color: var(--gold);
  display: flex; align-items: center; gap: 0.4rem;
  transition: gap 0.2s;
}
.post-featured:hover .post-featured-cta { gap: 0.65rem; }

.post-featured-right {
  padding: 3rem;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--bg-lift);
  position: relative; overflow: hidden;
}
.post-featured-right::before {
  content: '"';
  position: absolute; top: -1rem; left: 1.5rem;
  font-family: var(--display); font-size: 10rem;
  font-weight: 800; color: var(--gold);
  opacity: 0.04; line-height: 1;
  pointer-events: none; user-select: none;
}
.post-featured-number {
  font-family: var(--display);
  font-size: 6rem; font-weight: 800;
  letter-spacing: -0.06em; line-height: 1;
  color: var(--text); opacity: 0.06;
  margin-bottom: 1.5rem;
}
.post-featured-blurb {
  font-family: var(--display);
  font-size: 1.25rem; font-weight: 600;
  color: var(--text); line-height: 1.4;
  letter-spacing: -0.02em;
  position: relative; z-index: 1;
}

/* posts grid — remaining posts below featured */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--wire);
  border: 1px solid var(--wire);
  border-radius: 12px;
  overflow: hidden;
}
.posts-grid .post-card {
  border: none;
  border-radius: 0;
  background: var(--bg-raise);
}
.posts-grid .post-card:hover {
  background: var(--bg-lift);
  transform: none;
  border: none;
}

/* landing page posts row (no gap trick, stays normal) */
.posts-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

/* empty state */
.blog-empty {
  text-align: center;
  padding: 5rem 0;
  color: var(--text-2);
}
.blog-empty p { font-size: 1.0625rem; font-weight: 300; }

/* ════════════════════════════════════════════════════
   BLOG POST PAGE
   ════════════════════════════════════════════════════ */
.read-progress {
  position: fixed; top: 62px; left: 0; right: 0;
  height: 2px; z-index: 99;
  background: var(--wire);
}
.read-progress-fill {
  height: 100%; width: 0%;
  background: var(--gold);
  transition: width 0.1s linear;
}

.post-page-section { padding: 4rem 0 7rem; }
.post-page-inner   { max-width: 780px; }

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 3rem;
  transition: color 0.2s;
  border: 1px solid var(--wire);
  padding: 0.45rem 0.85rem;
  border-radius: 100px;
}
.post-back:hover { color: var(--gold); border-color: rgba(255,181,71,0.3); }
.post-back i { font-size: 0.55rem; }

.post-header {
  margin-bottom: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--wire);
}
.post-header .post-date { margin-bottom: 1.25rem; }
.post-header-title {
  font-family: var(--display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.post-excerpt-lede {
  font-size: 1.1875rem;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.7;
  max-width: 620px;
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  margin-top: 1.5rem;
}
.post-meta-row {
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap; margin-top: 1.5rem;
}
.post-meta-pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--mono); font-size: 0.65rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--wire);
  padding: 0.3rem 0.75rem; border-radius: 100px;
}
.post-meta-pill i { font-size: 0.6rem; color: var(--gold); }

.post-body { font-size: 1.0625rem; line-height: 1.88; color: var(--text-2); font-weight: 300; }
.post-body p   { margin-bottom: 1.5rem; }
.post-body h2  { font-family: var(--display); font-size: 1.625rem; font-weight: 700; letter-spacing: -0.025em; color: var(--text); margin: 2.75rem 0 0.85rem; padding-top: 0.5rem; }
.post-body h3  { font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin: 2rem 0 0.65rem; }
.post-body a   { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.post-body ul,
.post-body ol  { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.post-body li  { margin-bottom: 0.6rem; color: var(--text-2); line-height: 1.7; }
.post-body code { background: var(--bg-lift); border: 1px solid var(--wire); padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.875em; font-family: var(--mono); }
.post-body blockquote { border-left: 2px solid var(--gold); padding: 1rem 1.5rem; margin: 2rem 0; background: var(--bg-raise); border-radius: 0 8px 8px 0; }
.post-body blockquote p { color: var(--text); font-size: 1.125rem; font-style: italic; font-weight: 400; margin: 0; }
.post-body strong { color: var(--text); font-weight: 600; }
.post-body hr { border: none; border-top: 1px solid var(--wire-mid); margin: 3rem 0; }

.post-foot {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--wire);
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-raise);
  border-top: 1px solid var(--wire);
  padding: 4rem 0 2rem;
}

/* service page uses .footer-layout instead of .footer-top */
.footer-layout,
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--wire);
}
/* service page only has brand + one col — override to 2-col */
.footer-layout {
  grid-template-columns: 1.5fr 1fr;
}

/* .footer-links wraps footer cols on service page */
.footer-links {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.footer-brand > p {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 1.25rem;
}
.footer-tg {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  transition: opacity 0.2s;
}
.footer-tg:hover { opacity: 0.75; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.825rem;
  color: var(--text-2);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-family: var(--mono); font-size: 0.7rem; color: var(--text-3); }
.footer-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.footer-chip {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--wire);
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
}

/* ════════════════════════════════════════════════════
   TELEGRAM FLOAT BUTTON
   ════════════════════════════════════════════════════ */
.tg-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a0f00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 20px rgba(255,181,71,0.3);
  z-index: 90;
  transition: 0.2s;
}
.tg-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,181,71,0.45);
}

/* ════════════════════════════════════════════════════
   POPUP + ANNOUNCEMENT BANNERS
   ════════════════════════════════════════════════════ */
.ann-bar {
  padding: 0.55rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-bottom: 1px solid var(--wire);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 200;
}
.ann-bar.type-info    { background: rgba(59,130,246,0.1); }
.ann-bar.type-warning { background: rgba(245,158,11,0.1); }
.ann-bar.type-success { background: rgba(255,181,71,0.08); }
.ann-bar.type-promo   { background: rgba(168,85,247,0.1); }
.ann-bar span { flex: 1; }
.ann-bar a    { color: var(--gold); text-decoration: none; white-space: nowrap; }
.ann-close-x  { background: none; border: none; cursor: pointer; color: var(--text-3); font-size: 1rem; padding: 0 0.25rem; }

.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(12px);
  z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.popup-modal {
  background: var(--bg-lift);
  border: 1px solid var(--wire-mid);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
}
.popup-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; cursor: pointer;
  color: var(--text-2); font-size: 1.2rem;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.popup-close:hover { background: var(--wire); color: var(--text); }
.popup-type-badge  { font-size: 2rem; margin-bottom: 1rem; }
.popup-msg         { color: var(--text-2); margin-bottom: 1.5rem; font-size: 0.9375rem; line-height: 1.65; }
.popup-dismiss-btn {
  background: none; border: 1px solid var(--wire-mid);
  color: var(--text-2); padding: 0.5rem 1.5rem;
  border-radius: 8px; cursor: pointer;
  font-size: 0.8125rem; font-family: var(--body);
  margin-top: 0.75rem; transition: 0.2s;
}
.popup-dismiss-btn:hover { border-color: var(--gold); color: var(--text); }

/* ════════════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════════════ */
.up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.up.in { opacity: 1; transform: none; }
.up-d1 { transition-delay: 0.08s; }
.up-d2 { transition-delay: 0.16s; }
.up-d3 { transition-delay: 0.24s; }

/* ════════════════════════════════════════════════════
   SERVICE DETAIL PAGE — SECTION WRAPPERS
   ════════════════════════════════════════════════════ */
.section {
  padding: 5rem 0;
}
.section-dark {
  padding: 5rem 0;
  background: var(--bg-raise);
}
.section-header {
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin: 0;
}
.section-eyebrow,
.svc-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ac, var(--gold));
  margin-bottom: 0.5rem;
}

/* ════════════════════════════════════════════════════
   SERVICE DETAIL PAGE — HERO
   ════════════════════════════════════════════════════ */
.svc-hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--wire);
}
.svc-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.svc-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--wire) 1px, transparent 1px),
    linear-gradient(90deg, var(--wire) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 30%, transparent 100%);
}
.svc-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.svc-glow-1 {
  width: 500px; height: 400px;
  top: -100px; left: -80px;
  background: radial-gradient(ellipse, rgba(var(--ac-rgb, 0,212,255), 0.12) 0%, transparent 65%);
}
.svc-glow-2 {
  width: 400px; height: 300px;
  top: -60px; right: -60px;
  background: radial-gradient(ellipse, rgba(var(--ac-rgb, 0,212,255), 0.07) 0%, transparent 65%);
}
.svc-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.svc-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--wire);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  transition: color 0.2s, border-color 0.2s;
}
.svc-back:hover {
  color: var(--ac, var(--gold));
  border-color: var(--ac-mid, rgba(255,181,71,0.3));
}
.svc-hero-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--ac-dim, rgba(0,212,255,0.12));
  border: 1px solid var(--ac-mid, rgba(0,212,255,0.28));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--ac, var(--gold));
  margin-bottom: 0.5rem;
}
.svc-hero-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: var(--text);
  margin: 0;
}
.svc-hero-tagline {
  font-size: 1.125rem;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.6;
  max-width: 560px;
  margin: 0;
}
.svc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ac, var(--gold));
  color: #000;
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.875rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s;
}
.svc-btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--ac-rgb, 0,212,255), 0.3);
}

/* ════════════════════════════════════════════════════
   SERVICE BODY (rich-text from DB)
   ════════════════════════════════════════════════════ */
.svc-body-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--wire);
}
.svc-body-inner {
  max-width: 800px;
  font-size: 1.0rem;
  line-height: 1.8;
  color: var(--text-2);
}
.svc-body-inner h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 2rem 0 0.6rem;
}
.svc-body-inner h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}
.svc-body-inner p         { margin-bottom: 1rem; }
.svc-body-inner strong    { color: var(--text); font-weight: 600; }
.svc-body-inner a         { color: var(--ac, var(--gold)); text-decoration: underline; text-underline-offset: 3px; }
.svc-body-inner ul,
.svc-body-inner ol        { padding-left: 1.5rem; margin-bottom: 1rem; }
.svc-body-inner li        { margin-bottom: 0.4rem; }

/* ════════════════════════════════════════════════════
   FEATURES GRID
   ════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.svc-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--bg-lift);
  border: 1px solid var(--wire);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
  transition: border-color 0.2s;
}
.svc-feature-item:hover {
  border-color: var(--ac-mid, rgba(0,212,255,0.28));
}
.svc-feature-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ac-dim, rgba(0,212,255,0.12));
  border: 1px solid var(--ac-mid, rgba(0,212,255,0.28));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--ac, var(--gold));
}

/* ════════════════════════════════════════════════════
   PLAN CARDS
   ════════════════════════════════════════════════════ */
.svc-plans-grid {
  display: grid;
  gap: 1.25rem;
}
.svc-plans-1col { grid-template-columns: repeat(1, minmax(0,1fr)); max-width: 380px; }
.svc-plans-2col { grid-template-columns: repeat(2, minmax(0,1fr)); }
.svc-plans-3col { grid-template-columns: repeat(3, minmax(0,1fr)); }
.svc-plans-4col { grid-template-columns: repeat(4, minmax(0,1fr)); }

.svc-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-lift);
  border: 1px solid var(--wire-mid);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.svc-plan-card:hover {
  border-color: rgba(var(--ac-rgb, 0,212,255), 0.35);
  transform: translateY(-3px);
}
.svc-plan-popular {
  border-color: var(--ac, var(--gold)) !important;
  box-shadow: 0 0 0 1px var(--ac, var(--gold)), 0 8px 32px rgba(var(--ac-rgb, 0,212,255), 0.15);
}
.svc-popular-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ac, var(--gold));
  color: #000;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 100px;
  white-space: nowrap;
}
.svc-plan-name {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.svc-plan-sub {
  font-size: 0.8125rem;
  color: var(--text-2);
  margin-bottom: 1rem;
}
.svc-plan-price-row {
  display: flex;
  align-items: flex-start;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.svc-plan-dollar {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-2);
  margin-top: 0.35rem;
}
.svc-plan-amount {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}
.svc-plan-period {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 1.25rem;
}
.svc-plan-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.svc-plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-2);
}
.svc-plan-features li i {
  color: var(--ac, var(--gold));
  font-size: 0.75rem;
  flex-shrink: 0;
}
.svc-plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--ac, var(--gold));
  color: #000;
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.8rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  margin-top: auto;
  transition: opacity 0.2s, transform 0.2s;
}
.svc-plan-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════
   REVIEWS GRID (service page)
   ════════════════════════════════════════════════════ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.review-card {
  background: var(--bg-lift);
  border: 1px solid var(--wire);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.2s;
}
.review-card:hover { border-color: var(--wire-mid); }
.review-stars { display: flex; gap: 3px; }
.review-stars i { font-size: 0.75rem; color: var(--text-3); }
.review-stars i.on { color: #f59e0b; }
.review-text { font-size: 0.9rem; color: var(--text-2); line-height: 1.65; font-style: italic; flex: 1; margin: 0; }
.review-meta { font-size: 0.8rem; color: var(--text-3); margin-top: 0.25rem; }
.review-meta strong { color: var(--text-2); }

/* ════════════════════════════════════════════════════
   FAQ (service page)
   ════════════════════════════════════════════════════ */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-list  { display: flex; flex-direction: column; }
.faq-item  { border-bottom: 1px solid var(--wire); }
.faq-item:first-child { border-top: 1px solid var(--wire); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-family: var(--body);
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--ac, var(--gold)); }
.faq-icon {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--text-3);
  transition: transform 0.25s var(--ease);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-a p {
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
}
.faq-item.open .faq-a   { max-height: 600px; }
.faq-item.open .faq-icon { transform: rotate(180deg); }

/* ════════════════════════════════════════════════════
   FINAL CTA SECTION
   ════════════════════════════════════════════════════ */
.svc-final-cta {
  padding: 5rem 0;
  background: var(--bg-raise);
  border-top: 1px solid var(--wire);
}
.svc-final-cta h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.svc-final-cta p {
  color: var(--text-2);
  font-size: 1rem;
  margin-bottom: 2rem;
}
.svc-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .footer-top,
  .footer-layout   { grid-template-columns: 1fr 1fr; }
  .footer-brand    { grid-column: 1 / -1; }
  .reviews-layout  { grid-template-columns: 1fr; }
  .posts-grid,
  .posts-row       { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .post-featured   { grid-template-columns: 1fr; }
  .post-featured-right { border-top: 1px solid var(--wire); border-right: none; min-height: 160px; }
  .post-featured-left  { border-right: none; }
  .svc-plans-3col,
  .svc-plans-4col  { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 640px) {
  /* Hamburger mobile menu */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 62px; left: 0; right: 0;
    background: rgba(11,11,11,0.97);
    backdrop-filter: blur(18px);
    padding: 1rem;
    border-bottom: 1px solid var(--wire);
    gap: 0.25rem;
    z-index: 99;
  }
  .nav-links.open  { display: flex; }
  .nav-hamburger   { display: flex; }

  .footer-top,
  .footer-layout   { grid-template-columns: 1fr; }
  .form-row,
  .field-row       { grid-template-columns: 1fr; }
  .nl-row          { flex-direction: column; }
  .svc-plans-2col,
  .svc-plans-3col,
  .svc-plans-4col  { grid-template-columns: 1fr; }
  .features-grid   { grid-template-columns: 1fr; }
  .reviews-grid    { grid-template-columns: 1fr; }
}