/* =============================================
   NOVA VAKIL – admin-service-base.css
   Shared styles for notary & translation service pages
   (scenarios, process, services grid, sidebar, FAQ)
   ============================================= */

/* ── Intro ──────────────────────────────────── */
.svc-intro {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.svc-intro p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}
.svc-intro p:last-child { margin-bottom: 0; }

/* ── Scenarios ─────────────────────────────── */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.scenario-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
  position: relative;
}
.scenario-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.sc-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-light);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.sc-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.sc-icon-wrap.navy    { background: var(--navy); }
.sc-icon-wrap.emerald { background: var(--emerald); }
.sc-icon-wrap.gold    { background: linear-gradient(135deg, #8a6c2e, #b8933e); }

.scenario-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.scenario-card > p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
}

.sc-what-we-do {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 14px 16px;
}
.sc-we-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.sc-what-we-do ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sc-what-we-do li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.5;
}
.sc-what-we-do li::before {
  content: '✓';
  color: var(--emerald);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Type cards (optional, like company-registration) ── */
.company-types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ctype-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all var(--transition); }
.ctype-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.ct-header { padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ct-header.emerald { background: var(--emerald); }
.ct-header.navy    { background: var(--navy); }
.ct-header.gold    { background: linear-gradient(135deg, #8a6c2e, #b8933e); }
.ct-header h3 { font-size: 17px; font-weight: 800; color: var(--white); }
.ct-tag { font-size: 11px; font-weight: 600; background: rgba(255,255,255,0.15); color: var(--white); padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.ct-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.ct-body > p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.75; }
.ct-specs { display: flex; flex-direction: column; gap: 8px; background: var(--bg-light); border-radius: 10px; padding: 14px 16px; }
.ct-spec { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.ct-spec span { color: var(--text-muted); }
.ct-spec strong { color: var(--navy); font-weight: 600; }
.ct-pros { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.ct-pros li { font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 7px; }
.ct-pros li::before { content: '✓'; color: var(--emerald); font-size: 11px; font-weight: 700; flex-shrink: 0; }

/* ── Documents panel ───────────────────────── */
.docs-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  max-width: 720px;
  margin: 0 auto;
}
.docs-panel h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  text-align: right;
}

.notes-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-right: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 32px;
  max-width: 800px;
  margin: 0 auto;
}
.notes-panel.translation { border-right-color: var(--emerald); }
.notes-panel h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.notes-panel ul { padding-right: 20px; }
.notes-panel li { font-size: 14.5px; color: var(--text-secondary); line-height: 1.85; margin-bottom: 8px; }

/* ── Full Services List ─────────────────────── */
.full-services-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.service-cats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.scat:hover { box-shadow: var(--shadow-md); }

.scat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.scat-header.emerald { background: var(--emerald); }
.scat-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.scat-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.scat-items {
  padding: 18px 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.scat-items span {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}
.scat-items span:nth-last-child(-n+2) { border-bottom: none; }
.scat-items span::before {
  content: '←';
  font-size: 12px;
  color: var(--emerald);
  flex-shrink: 0;
}

/* ── Sidebar how-to card ────────────────────── */
.howto-card {
  background: rgba(31,122,99,0.05);
  border: 1px solid rgba(31,122,99,0.15);
  border-radius: var(--radius);
  padding: 24px;
}
.howto-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.howto-steps { display: flex; flex-direction: column; gap: 12px; }
.hs {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.hs-num {
  width: 26px; height: 26px;
  background: var(--emerald);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── FAQ ────────────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}

.faq-list .faq-item { border-bottom: 1px solid var(--border); }
.faq-list .faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-align: right;
  padding: 18px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--emerald); }
.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); color: var(--emerald); }
.faq-a {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.3s;
}
.faq-a.open { max-height: 300px; padding-bottom: 18px; }

/* ── Process responsive ─────────────────────── */
@media (max-width: 1024px) {
  .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
  .company-types-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .full-services-layout { grid-template-columns: 1fr; }
  .service-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .sidebar-cta-card { grid-column: 1 / -1; }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .svc-process .process-steps { flex-wrap: wrap; justify-content: center; gap: 24px; }
  .svc-process .process-connector { display: none; }
  .svc-process .process-step { flex: 0 1 calc(50% - 12px); min-width: 200px; }
}
@media (max-width: 640px) {
  .scenarios-grid { grid-template-columns: 1fr; }
  .scat-items { grid-template-columns: 1fr; }
  .scat-items span:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .scat-items span:last-child { border-bottom: none; }
  .service-sidebar { grid-template-columns: 1fr; }
  .svc-process .process-step { flex: 1 1 100%; }
  .docs-panel, .notes-panel { padding: 24px 20px; }
}
