/* MG Services Nav Widget — vertical service list with icons + call CTA card. */

.mg-snav {
  position: relative;
  background: #0e2547;
  color: #fff;
  padding: 28px 22px 28px;
  border-radius: 14px;
  font-family: 'Inter', system-ui, Arial, sans-serif;
  overflow: hidden;
}

/* Heading */
.mg-snav__heading {
  margin: 0 0 18px;
  padding: 0 8px;
  font: 700 26px/1.15 'Inter', sans-serif;
  color: inherit;
  letter-spacing: -.005em;
  position: relative;
}
.mg-snav__heading-rule {
  display: block;
  width: 40px;
  height: 3px;
  background: #3a73c6;
  margin-top: 10px;
  border-radius: 2px;
}

/* List */
.mg-snav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mg-snav__item {
  position: relative;
  border-radius: 10px;
  margin-bottom: 2px;
}
.mg-snav__item + .mg-snav__item .mg-snav__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 1px;
  background: rgba(255, 255, 255, .08);
}
.mg-snav--no-dividers .mg-snav__item + .mg-snav__item .mg-snav__link::before { display: none; }
.mg-snav__item--active {
  background: linear-gradient(90deg, rgba(58, 115, 198, .25) 0%, rgba(58, 115, 198, .08) 100%);
  border: 1px solid rgba(58, 115, 198, .45);
  margin: 4px 0;
}
.mg-snav__item--active .mg-snav__link::before { display: none; }

.mg-snav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  color: inherit;
  text-decoration: none;
  border-radius: 10px;
  transition: background .15s ease;
}
.mg-snav__link:hover {
  background: rgba(255, 255, 255, .04);
  color: inherit;
}

.mg-snav__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(58, 115, 198, .18);
  color: #b8d4f1;
  font-size: 18px;
}
.mg-snav__icon i,
.mg-snav__icon svg { width: 18px; height: 18px; }
.mg-snav__icon svg,
.mg-snav__icon svg path { fill: currentColor; }
.mg-snav__item--active .mg-snav__icon {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.mg-snav__label {
  flex: 1;
  font: 600 16px/1.2 'Inter', sans-serif;
  letter-spacing: .005em;
}

.mg-snav__chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
}
.mg-snav__chevron svg { width: 100%; height: 100%; }
.mg-snav__item--active .mg-snav__chevron { color: #fff; }

/* CTA card */
.mg-snav__cta {
  margin-top: 22px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(58, 115, 198, .18), rgba(58, 115, 198, .08));
  border: 1px solid rgba(58, 115, 198, .35);
  border-radius: 12px;
  position: relative;
}
.mg-snav__cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mg-snav__cta-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #3a73c6;
  color: #b8d4f1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mg-snav__cta-icon svg { width: 22px; height: 22px; }
.mg-snav__cta-text { flex: 1; }
.mg-snav__cta-heading {
  margin: 0 0 4px;
  font: 700 15px/1.2 'Inter', sans-serif;
  color: inherit;
}
.mg-snav__cta-subhead {
  margin: 0;
  font: 400 13px/1.35 'Inter', sans-serif;
  color: rgba(255, 255, 255, .75);
}
.mg-snav__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 16px;
  background: #eaf1fa;
  color: #1c3865;
  border-radius: 8px;
  text-decoration: none;
  font: 700 16px/1 'Inter', sans-serif;
  letter-spacing: .01em;
  transition: background .15s ease;
}
.mg-snav__cta-btn:hover {
  background: #d4e4f5;
  color: #1c3865;
}
.mg-snav__cta-btn svg { width: 18px; height: 18px; }
