/* ===========================================================
   AZ Managed IT — Service Directory (v4.7 — Clean, No Grid)
   =========================================================== */

.svc-acc {
  --bg: #0f0f0f;
  --ink: #e8edf4;
  --muted: #a9b5c5;
  --cyan: #00bfff;
  --ring: #22314c;
  --card: rgba(16, 24, 36, 0.6);
  --accent: #1a2a48;
  --yellow: #ffd700;

  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: transparent;
  padding: 72px 0;
  position: relative;
  z-index: 1;
}

/* ---------- WRAP ---------- */
.svc-acc .wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ---------- HEADER ---------- */
.svc-acc .hdr {
  text-align: center;
  margin-bottom: 48px;
}
.svc-acc .hdr .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  background: rgba(0,191,255,0.08);
  border: 1px solid var(--ring);
  border-radius: 30px;
  padding: 5px 14px;
}
.svc-acc .hdr h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 900;
  color: var(--ink);
  margin: 14px 0 10px;
}
.svc-acc .hdr .lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 65ch;
  margin: 0 auto;
}

/* ---------- CATEGORY INDEX ---------- */
.svc-acc .index {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 36px 0 28px;
}
.svc-acc .index a {
  color: var(--cyan);
  border: 1px solid var(--ring);
  border-radius: 6px;
  padding: 7px 16px;
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  background: rgba(0, 191, 255, 0.06);
}
.svc-acc .index a:hover,
.svc-acc .index a.active {
  background: var(--cyan);
  color: #0f1726;
  border-color: var(--cyan);
  transform: translateY(-1px);
}

/* ---------- CONTROLS ---------- */
.svc-acc .controls {
  text-align: center;
  margin-bottom: 32px;
}
.svc-acc .ctrl {
  background: rgba(15, 23, 38, 0.75);
  color: var(--ink);
  border: 1px solid var(--ring);
  border-radius: 6px;
  padding: 7px 16px;
  margin: 0 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.svc-acc .ctrl:hover {
  background: var(--cyan);
  color: #0f1726;
}

/* ---------- ACCORDION ---------- */
.svc-acc details {
  background: var(--card);
  border: 1px solid var(--ring);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
  backdrop-filter: blur(4px);
}
.svc-acc details[open] {
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0,191,255,0.15);
}
.svc-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  transition: background 0.25s ease;
}
.svc-acc summary:hover {
  background: rgba(0,191,255,0.05);
}
.svc-acc summary::marker,
.svc-acc summary::-webkit-details-marker { display: none; }
.svc-acc .ttl { flex: 1; }
.svc-acc .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-left: 10px;
}

/* ---------- PANEL ---------- */
.svc-acc .panel {
  padding: 12px 24px 22px;
  border-top: 1px solid var(--ring);
  background: rgba(15,23,38,0.45);
  color: var(--muted);
  overflow: hidden;
}
.svc-acc .panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 20px;
}
.svc-acc .panel li span {
  color: var(--ink);
  font-weight: 500;
  position: relative;
  padding-left: 16px;
}
.svc-acc .panel li span::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--cyan);
  opacity: 0.8;
}

/* ---------- CTA ---------- */
.svc-acc .cta {
  text-align: center;
  margin-top: 48px;
}
.svc-acc .cta p {
  color: var(--muted);
  margin-bottom: 10px;
}
.svc-acc .btn-yellow {
  display: inline-block;
  background: var(--yellow);
  color: #000;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
}
.svc-acc .btn-yellow:hover {
  background: #e6c100;
  transform: translateY(-1px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
  .svc-acc summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .svc-acc .panel ul {
    grid-template-columns: 1fr;
  }
}
