/* =====================================================
   ND SEO — Sticky Bar, Local Badges, CTA, Schema Hints
   NexDev Studio — Complete SEO UI Layer
   ===================================================== */

/* ── Speakable content hint (AI search) ────────────── */
[data-speakable], .nd-speakable {
  /* No visual change; marks content for speakable schema */
}

/* ── Breadcrumb nav ─────────────────────────────────── */
.nd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.nd-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color .2s; }
.nd-breadcrumb a:hover { color: #9F8BE7; }
.nd-breadcrumb .nd-bc-current { color: #9F8BE7; }
.nd-breadcrumb .nd-bc-sep { color: rgba(255,255,255,0.2); }

/* ── Review stars ───────────────────────────────────── */
.nd-stars { color: #FFD700; letter-spacing: 2px; font-size: 13px; }

/* ── Section keyword pill ───────────────────────────── */
.nd-kw-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(159,139,231,0.08);
  border: 1px solid rgba(159,139,231,0.2);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(159,139,231,0.9);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ── FAQ accordion ──────────────────────────────────── */
.nd-faq-item { border-bottom: 1px solid rgba(255,255,255,0.07); padding: 20px 0; }
.nd-faq-q {
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.9);
  margin: 0 0 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.nd-faq-a { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.75; margin: 10px 0 0; display: none; }
.nd-faq-item.open .nd-faq-a { display: block; }
.nd-faq-item.open .nd-faq-q i::before { content: '\f068'; }

/* ── Google Business-style rating box ──────────────── */
.nd-rating-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.nd-rating-box .nd-rating-num { font-size: 22px; font-weight: 700; color: #FFD700; }
.nd-rating-box .nd-rating-count { font-size: 11px; color: rgba(255,255,255,0.4); }

/* ── Service tags ───────────────────────────────────── */
.nd-service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.nd-service-tag {
  font-size: 12px; color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px; padding: 5px 14px;
  text-decoration: none;
  transition: color .22s, border-color .22s, background .22s;
}
.nd-service-tag:hover { color: #9F8BE7; border-color: rgba(159,139,231,0.4); background: rgba(159,139,231,0.06); }

/* ── Sticky Bottom CTA Bar (mobile only) ───────────── */
.nd-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2147483630;
  background: rgba(7,7,15,0.97);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  gap: 10px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
}

.nd-sticky-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  border: none;
  cursor: pointer;
  max-width: 160px;
  transition: transform 0.2s, opacity 0.2s;
  font-family: inherit;
}
.nd-sticky-cta-btn:hover { transform: scale(1.03); opacity: 0.92; }
.nd-sticky-cta-btn:active { transform: scale(0.97); }

.nd-sticky-cta-wa  { background: linear-gradient(135deg,#25D366,#128C7E); }
.nd-sticky-cta-tel { background: linear-gradient(135deg,#4CAF50,#2E7D32); }
.nd-sticky-cta-msg { background: linear-gradient(135deg,#9F8BE7,#5c4fd4); }

@media (max-width: 768px) {
  .nd-sticky-cta { display: flex; }

  /* Push chatbot above sticky bar */
  .nd-chatbot { bottom: 80px !important; }
}

/* ── SEO Local Badge ────────────────────────────────── */
.nd-local-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 30px;
  padding: 5px 14px 5px 10px;
  font-size: 11.5px;
  color: rgba(0,212,255,0.9);
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.nd-local-badge:hover {
  background: rgba(0,212,255,0.12);
  border-color: rgba(0,212,255,0.38);
  color: rgba(0,212,255,1);
}
.nd-local-badge i { font-size: 12px; }

/* ── CTA Section Ribbon ─────────────────────────────── */
.nd-cta-ribbon {
  background: linear-gradient(135deg, rgba(159,139,231,0.12) 0%, rgba(0,212,255,0.08) 100%);
  border: 1px solid rgba(159,139,231,0.2);
  border-radius: 20px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.nd-cta-ribbon-text h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #fff;
}

.nd-cta-ribbon-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.nd-cta-ribbon-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}

.nd-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #9F8BE7, #00c6f8);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.22s, box-shadow 0.22s;
  box-shadow: 0 4px 18px rgba(159,139,231,0.35);
  font-family: inherit;
}
.nd-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(159,139,231,0.5);
  color: #fff;
}

.nd-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.22s, color 0.22s, background 0.22s;
  font-family: inherit;
}
.nd-btn-outline:hover {
  border-color: rgba(159,139,231,0.5);
  color: #9F8BE7;
  background: rgba(159,139,231,0.06);
}

@media (max-width: 576px) {
  .nd-cta-ribbon { padding: 24px 20px; text-align: center; justify-content: center; }
  .nd-cta-ribbon-text h3 { font-size: 18px; }
  .nd-cta-ribbon-actions { justify-content: center; }
}

/* ── Trust Badges ───────────────────────────────────── */
.nd-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 0;
}

.nd-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
}
.nd-trust-item i { color: #00d4ff; font-size: 14px; }
.nd-trust-item strong { color: rgba(255,255,255,0.85); }
