/* NexGen Rank widgets for Elementor */

/* Text colours for widgets placed on a dark blue section */
.ngr-on-dark { --w-ink: #FFFFFF; --w-text: #C9D5EC; --w-line: rgba(255, 255, 255, .16); --w-tile: rgba(255, 255, 255, .04); --w-chip: rgba(255, 255, 255, .1); --w-chip-ink: #FFFFFF; }
.ngr-on-light { --w-ink: var(--ngr-ink); --w-text: var(--ngr-text); --w-line: var(--ngr-line); --w-tile: var(--ngr-white); --w-chip: var(--ngr-mist); --w-chip-ink: var(--ngr-blue); }

/* ---------- Services ---------- */
.ngr-services { --cols: 3; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1024px) { .ngr-services { --cols: 2; } }
@media (max-width: 640px) { .ngr-services { --cols: 1; } }
.ngr-service { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.ngr-services--tiles .ngr-service { padding: 28px; border: 1px solid var(--w-line); border-radius: var(--ngr-r-md); background: var(--w-tile); transition: border-color .15s, box-shadow .15s; }
.ngr-services--tiles .ngr-service:has(a):hover { border-color: var(--ngr-blue); box-shadow: var(--ngr-shadow); }
.ngr-service__icon {
	display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px;
	border-radius: 14px; background: var(--w-chip); color: var(--w-chip-ink);
	transition: background .15s, color .15s;
}
.ngr-service:has(a):hover .ngr-service__icon { background: var(--ngr-grad); color: #fff; }
.ngr-service__title { font-size: 1.25rem; line-height: 1.3; margin: 0 0 10px; color: var(--w-ink); }
body.ngr .ngr-service__title a { color: inherit; }
.ngr-service__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ngr-service__title a:focus-visible { outline: none; }
.ngr-service:has(a:focus-visible) { outline: 3px solid var(--ngr-sky); outline-offset: 2px; }
.ngr-service__text { color: var(--w-text); margin: 0 0 18px; line-height: 1.6; }
.ngr-service__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--ngr-blue); }
.ngr-on-dark .ngr-service__more { color: var(--ngr-amber); }
.ngr-service:hover .ngr-service__more .ngr-icon { transform: translateX(3px); }
.ngr-service__more .ngr-icon { transition: transform .15s; }

/* ---------- Process ---------- */
.ngr-process { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: none; }
.ngr-process--row { grid-template-columns: repeat(var(--steps), minmax(0, 1fr)); }
.ngr-step { position: relative; display: flex; flex-direction: column; gap: 18px; }
.ngr-step__num {
	position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; flex: none;
	border-radius: 50%; background: var(--ngr-navy); color: #fff; font-weight: 800; font-size: 1.1rem;
	box-shadow: 0 0 0 6px var(--w-tile, #fff);
}
.ngr-on-dark .ngr-step__num { background: var(--ngr-amber); color: var(--ngr-navy-deep); box-shadow: 0 0 0 6px var(--ngr-navy); }
.ngr-process--row .ngr-step:not(:last-child)::before {
	content: ""; position: absolute; top: 23px; left: 56px; right: -24px; height: 2px;
	background: var(--ngr-grad); opacity: .45;
}
.ngr-step__time { margin: 0 0 4px; font-size: .85rem; font-weight: 700; color: var(--ngr-blue); }
.ngr-on-dark .ngr-step__time { color: var(--ngr-amber); }
.ngr-step__title { font-size: 1.2rem; margin: 0 0 8px; color: var(--w-ink); }
.ngr-step__text { margin: 0; color: var(--w-text); }
.ngr-process--column .ngr-step { flex-direction: row; gap: 22px; }
.ngr-process--column .ngr-step:not(:last-child)::before {
	content: ""; position: absolute; left: 23px; top: 56px; bottom: -24px; width: 2px; background: var(--ngr-grad); opacity: .45;
}
@media (max-width: 1024px) {
	.ngr-process--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ngr-process--row .ngr-step::before { display: none; }
}
@media (max-width: 640px) {
	.ngr-process--row { grid-template-columns: 1fr; }
	.ngr-process--row .ngr-step { flex-direction: row; gap: 18px; }
	.ngr-process--row .ngr-step:not(:last-child)::before { display: block; left: 23px; top: 56px; bottom: -24px; right: auto; width: 2px; height: auto; }
}

/* ---------- Package card ---------- */
.ngr-offer {
	position: relative; height: 100%; display: flex; flex-direction: column;
	padding: 34px 30px 30px; border: 1px solid var(--ngr-line); border-radius: var(--ngr-r-lg); background: var(--ngr-white);
}
.ngr-offer__badge {
	position: absolute; top: -14px; left: 30px; margin: 0; padding: 5px 14px;
	border-radius: 999px; background: var(--ngr-amber); color: var(--ngr-navy-deep); font-size: .8rem; font-weight: 800;
}
.ngr-offer__title { font-size: 1.4rem; margin: 0 0 10px; }
.ngr-offer__text { color: var(--ngr-muted); margin: 0 0 18px; }
.ngr-offer__price { margin: 0 0 20px; color: var(--ngr-muted); }
.ngr-offer__price strong { font-size: 2.6rem; font-weight: 800; color: var(--ngr-ink); letter-spacing: -0.03em; line-height: 1; margin-inline-end: 4px; }
.ngr-offer__list { list-style: none; margin: 0 0 28px; padding: 18px 0 0; border-top: 1px solid var(--ngr-line); display: grid; gap: 12px; }
.ngr-offer__list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.ngr-offer__list .ngr-icon { flex: none; color: var(--ngr-blue); margin-top: 2px; }
.ngr-offer .ngr-btn { margin-top: auto; }
.ngr-offer__small { margin: 14px 0 0; font-size: .85rem; color: var(--ngr-muted); text-align: center; }
.ngr-offer--featured { background: var(--ngr-navy); border-color: var(--ngr-navy); color: #C9D5EC; box-shadow: 0 30px 60px -30px rgba(15, 42, 92, .7); }
.ngr-offer--featured .ngr-offer__title, .ngr-offer--featured .ngr-offer__price strong { color: #fff; }
.ngr-offer--featured .ngr-offer__text, .ngr-offer--featured .ngr-offer__price, .ngr-offer--featured .ngr-offer__small { color: #AFC0E0; }
.ngr-offer--featured .ngr-offer__list { border-top-color: rgba(255, 255, 255, .15); }
.ngr-offer--featured .ngr-offer__list .ngr-icon { color: var(--ngr-amber); }

/* ---------- FAQ ---------- */
.ngr-faq { border-top: 1px solid var(--w-line); }
.ngr-faq__item { border-bottom: 1px solid var(--w-line); }
.ngr-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; cursor: pointer; list-style: none; }
.ngr-faq__item summary::-webkit-details-marker { display: none; }
.ngr-faq__q { margin: 0; font-size: 1.15rem; line-height: 1.4; font-weight: 700; color: var(--w-ink); }
.ngr-faq__item summary:hover .ngr-faq__q { color: var(--ngr-blue); }
.ngr-on-dark .ngr-faq__item summary:hover .ngr-faq__q { color: var(--ngr-amber); }
.ngr-faq__icon {
	flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%;
	background: var(--w-chip); color: var(--w-chip-ink); transition: transform .2s, background .2s;
}
.ngr-faq__item[open] .ngr-faq__icon { transform: rotate(180deg); background: var(--ngr-blue); color: #fff; }
.ngr-faq__a { padding: 0 56px 22px 0; color: var(--w-text); line-height: 1.7; }
.ngr-faq__a > :last-child { margin-bottom: 0; }
@media (max-width: 640px) { .ngr-faq__a { padding-right: 0; } .ngr-faq__q { font-size: 1.05rem; } }

/* ---------- Call to action ---------- */
.ngr-cta {
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px 48px;
	padding: clamp(32px, 4vw, 56px); border-radius: var(--ngr-r-lg);
}
.ngr-cta--navy { background: var(--ngr-navy); color: #C9D5EC; }
.ngr-cta--blue { background: var(--ngr-grad); color: #E8F1FF; }
.ngr-cta--soft { background: var(--ngr-mist); color: var(--ngr-text); border: 1px solid var(--ngr-line); }
.ngr-cta__text { flex: 1 1 420px; max-width: 640px; }
.ngr-cta__title { margin: 0 0 10px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); color: #fff; }
.ngr-cta--soft .ngr-cta__title { color: var(--ngr-ink); }
.ngr-cta p { margin: 0; font-size: 1.05rem; }
.ngr-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
body.ngr a.ngr-cta__second { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; color: #fff; }
body.ngr .ngr-cta--soft a.ngr-cta__second { color: var(--ngr-ink); }
body.ngr a.ngr-cta__second:hover { color: var(--ngr-amber); }
body.ngr .ngr-cta--soft a.ngr-cta__second:hover { color: var(--ngr-blue); }
.ngr-cta--blue .ngr-ribbon { color: #fff; opacity: .25; }

/* ---------- Google result preview ---------- */
.ngr-serp { margin: 0; }
.ngr-serp__window {
	padding: 22px 24px 26px; border-radius: var(--ngr-r-lg); background: #fff;
	border: 1px solid var(--ngr-line); box-shadow: var(--ngr-shadow);
	font-family: Arial, "Helvetica Neue", sans-serif; text-align: left;
}
.ngr-serp__bar {
	display: flex; align-items: center; gap: 10px; padding: 11px 18px; margin-bottom: 22px;
	border: 1px solid #DFE1E5; border-radius: 999px; color: #202124; font-size: 15px;
	box-shadow: 0 1px 6px rgba(32, 33, 36, .12);
}
.ngr-serp__bar .ngr-icon { color: #9AA0A6; }
.ngr-serp__site { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.ngr-serp__fav {
	display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
	background: var(--ngr-grad); color: #fff; font-weight: 700; font-size: 13px; flex: none;
}
.ngr-serp__site > span:last-child { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.ngr-serp__name { color: #202124; font-size: 14px; }
.ngr-serp__url { color: #4D5156; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ngr-serp__title { margin: 0 0 4px; color: #1A0DAB; font-size: 20px; line-height: 1.3; }
.ngr-serp__desc { margin: 0; color: #4D5156; font-size: 14px; line-height: 1.58; }
.ngr-serp figcaption { margin-top: 14px; font-size: .9rem; color: var(--ngr-muted); }

/* ---------- Team card ---------- */
.ngr-team { text-align: center; padding: 28px 22px; border: 1px solid var(--ngr-line); border-radius: var(--ngr-r-lg); background: #fff; height: 100%; }
.ngr-team__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; display: block; }
.ngr-team__initials { display: grid; place-items: center; background: var(--ngr-grad); color: #fff; font-size: 2rem; font-weight: 800; }
.ngr-team__name { margin: 0 0 4px; font-size: 1.2rem; }
.ngr-team__role { margin: 0 0 12px; color: var(--ngr-blue); font-weight: 700; font-size: .92rem; }
.ngr-team__bio { color: var(--ngr-muted); font-size: .95rem; }
.ngr-team__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; }
