/* ════════════════════════════════════════════════════
   SERVICES PAGE STYLES  —  bob- namespace
   Append to pages.css
════════════════════════════════════════════════════ */

/* ── SERVICES ROOT VARIABLES ── */
:root {
  --services-grid-cols:       4;
  --services-grid-gap:        24px;
  --services-card-padding:    32px 28px;
  --services-icon-size:       52px;
  --services-icon-inner:      26px;
  --services-category-gap:    64px;
  --services-grid-bottom-gap: 64px;
}

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.bob-services-hero {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: 44px;
  background: var(--color-bg-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(251, 191, 36, 0.10);
}

.bob-services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 110%,
    rgba(251, 191, 36, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

/* ══════════════════════════════════
   MAIN SECTION
══════════════════════════════════ */
.bob-services-section {
  background: var(--color-bg-secondary);
  padding-bottom: 80px;
}

/* ══════════════════════════════════
   CATEGORY HEADER
══════════════════════════════════ */
.bob-category-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  margin-top: var(--services-category-gap);
}

.bob-category-header:first-of-type {
  margin-top: 0;
}

.bob-category-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.bob-category-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.35), transparent);
  border-radius: 1px;
}

/* ══════════════════════════════════
   SERVICES GRID
══════════════════════════════════ */
.bob-services-grid {
  display: grid;
  grid-template-columns: repeat(var(--services-grid-cols), 1fr);
  gap: var(--services-grid-gap);
}

/* Bottom spacing between grids (all except last) */
.bob-services-grid--spaced {
  margin-bottom: var(--services-grid-bottom-gap);
}

/* ══════════════════════════════════
   SERVICE CARD
══════════════════════════════════ */
.bob-service-card {
  background: rgba(20, 12, 0, 0.60);
  border: 1px solid rgba(251, 191, 36, 0.13);
  border-radius: 18px;
  padding: var(--services-card-padding);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.28s ease,
    transform    0.28s ease,
    box-shadow   0.28s ease;
}

/* Gold shimmer top on hover */
.bob-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.28s ease;
}

/* Corner glow */
.bob-service-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.04) 0%, transparent 65%);
  pointer-events: none;
}

.bob-service-card:hover {
  border-color: rgba(251, 191, 36, 0.38);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.bob-service-card:hover::before {
  opacity: 1;
}

/* ── Icon ── */
.bob-service-icon {
  width: var(--services-icon-size);
  height: var(--services-icon-size);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 14px;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background 0.28s ease, box-shadow 0.28s ease;
}

.bob-service-icon svg {
  width: var(--services-icon-inner);
  height: var(--services-icon-inner);
  stroke: var(--gold);
}

.bob-service-card:hover .bob-service-icon {
  background: rgba(251, 191, 36, 0.15);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.20);
}

/* ── Title ── */
.bob-service-title {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.3px;
  line-height: 1.3;
  margin-bottom: 12px;
}

/* ── Description ── */
.bob-service-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  font-weight: 300;
  flex: 1;
  margin-bottom: 20px;
}

/* ── CTA link ── */
.bob-service-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  opacity: 0.8;
  transition: opacity 0.22s ease, gap 0.22s ease;
}

.bob-service-link:hover {
  opacity: 1;
  gap: 10px;
}

/* ══════════════════════════════════
   CTA SECTION
══════════════════════════════════ */
.bob-services-cta-section {
  background: var(--color-bg-secondary);
  border-top: 1px solid rgba(251, 191, 36, 0.10);
}

.bob-services-cta {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

/* Ambient glow behind CTA */
.bob-services-cta::before {
  content: "";
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse 60% 80% at 50% 50%,
    rgba(251, 191, 36, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.bob-services-cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.4px;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  position: relative;
}

.bob-services-cta-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: var(--space-xl);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1200px) {
  :root { --services-grid-cols: 3; }
}

@media (max-width: 900px) {
  :root {
    --services-grid-cols:   2;
    --services-category-gap: 48px;
  }
}

@media (max-width: 540px) {
  :root {
    --services-grid-cols:    1;
    --services-card-padding: 24px 20px;
    --services-category-gap: 36px;
  }

  .bob-category-line { display: none; }
}