/* ==========================================================================
   Prime Assist — Service Blog Pages (one page per service/reel)
   Shared stylesheet for /blog/*.html — mirrors the main site theme
   ========================================================================== */

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8e8e8e;
  --pill-dark: #28282a;
  --card-bg: #0d0d0d;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(255, 255, 255, 0.28);
  --accent-red: #CC0000;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* --- Top bar --- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .logo-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--pill-dark);
  display: grid;
  place-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.topbar .logo-btn img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  display: block;
}

.topbar .back-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.topbar .back-link:hover {
  color: var(--text);
}

/* --- Hero --- */
.hero {
  text-align: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 40px) clamp(32px, 5vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero .kicker {
  color: var(--accent-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

.hero .red-line {
  width: 64px;
  height: 4px;
  background: var(--accent-red);
  border-radius: 2px;
  margin: 0 auto 22px;
}

.hero .tagline {
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 20px);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Content sections --- */
.section {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 72px) clamp(20px, 5vw, 40px);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 38px);
  font-weight: 400;
  margin-bottom: 14px;
}

.section h2 .red-dot {
  color: var(--accent-red);
}

.section .lead {
  color: var(--muted);
  font-size: clamp(15px, 2.2vw, 17px);
  margin-bottom: 28px;
}

.section p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 2.2vw, 17px);
  margin-bottom: 16px;
}

/* --- Card grid --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px 20px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
}

.card .icon {
  color: var(--accent-red);
  font-size: 22px;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

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

/* --- CTA band --- */
.cta {
  text-align: center;
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 40px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
  margin-bottom: 14px;
}

.cta p {
  color: var(--muted);
  margin-bottom: 30px;
}

.cta .btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-red {
  background: var(--accent-red);
  color: #ffffff;
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204, 0, 0, 0.35);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.cta .contact-line {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.cta .contact-line a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* --- Footer --- */
.footer {
  text-align: center;
  padding: 28px clamp(20px, 5vw, 40px);
}

.footer .tagline {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.footer .copy {
  color: #4d4d4d;
  font-size: 12px;
  margin-top: 6px;
}
