/*
 * Webnaa — services, industries and trust pages (`wns-*`), the new home sections, the related-service card under
 * articles, the services footer column and the services drop-down. Built on the tokens and components of
 * webnaa.css (wn-section, wn-container, wn-h2, wn-btn, wn-steps, wn-faq, wn-checklist, wn-mcard…).
 */

/* ---------- Section rhythm and headings ---------- */
.wns-head { max-width: 672px; }
.wns-head--center { margin-inline: auto; text-align: center; }
.wns-head .wn-lead { margin-top: 12px !important; }
.wn-ink .wns-head .wn-lead, .wns-quote__box .wn-lead { color: var(--wnr-white-soft, rgba(255, 255, 255, .84)) !important; }
.wns-paper { background: var(--wn-paper); }
.wns-p { margin-top: 16px !important; font-size: 16px; line-height: 30px; color: rgba(11, 18, 21, .75); }
.wn-ink .wns-p { color: rgba(255, 255, 255, .75); }
.wns-p a, .wns-card__text a, .wns-fit__list a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Page hero: breadcrumb, chips, icon mark ---------- */
.wns-hero .wns-hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .wns-hero .wns-hero__grid { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; } }
.wns-hero h1 { font-size: 34px; line-height: 44px; }
@media (min-width: 768px) { .wns-hero h1 { font-size: 48px; line-height: 60px; } }
html[lang^="en"] .wns-hero h1 { line-height: 1.08; }
.wns-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 20px; font-size: 13px; line-height: 20px; color: rgba(255, 255, 255, .6); }
.wns-crumbs a { color: rgba(255, 255, 255, .78) !important; text-decoration: none; }
.wns-crumbs a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.wns-crumbs > * + *::before { content: "/"; margin-inline-end: 6px; color: rgba(255, 255, 255, .35); }
.wns-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0 !important; padding: 0; list-style: none; }
.wns-chips li { margin: 0; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .07); font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, .88); }
.wns-hero__mark { display: none; }
@media (min-width: 1024px) {
	.wns-hero__mark {
		position: relative; display: grid; place-items: center; width: 184px; height: 184px; border-radius: 50%; color: var(--wn-bronze);
		border: 1px solid rgba(255, 255, 255, .16);
		background: radial-gradient(circle at 32% 28%, rgba(196, 165, 116, .24), rgba(68, 110, 125, .2) 58%, rgba(11, 18, 21, .25));
		box-shadow: inset 0 0 0 14px rgba(255, 255, 255, .025), 0 30px 80px -30px rgba(0, 0, 0, .6);
		animation: wns-float 7s ease-in-out infinite;
	}
	.wns-hero__mark::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(196, 165, 116, .45); animation: wns-spin 48s linear infinite; }
	.wns-hero__mark svg { width: 76px; height: 76px; stroke-width: 1.25; }
}
@keyframes wns-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes wns-spin { to { transform: rotate(360deg); } }

/* ---------- Facts strip under the hero ---------- */
.wns-facts { background: #fff; border-bottom: 1px solid rgba(11, 18, 21, .08); }
.wns-facts__list { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 !important; padding: 0; list-style: none; }
@media (min-width: 640px) { .wns-facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .wns-facts__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wns-fact { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 18px 0; border-top: 1px solid rgba(11, 18, 21, .06); }
.wns-fact:first-child { border-top: 0; }
@media (min-width: 640px) { .wns-fact { padding: 22px 12px; } .wns-fact:nth-child(2) { border-top: 0; } }
@media (min-width: 1024px) { .wns-fact { border-top: 0; padding: 26px 18px; border-inline-start: 1px solid rgba(11, 18, 21, .06); } .wns-fact:first-child { border-inline-start: 0; padding-inline-start: 0; } }
.wns-fact__title { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--wn-ink); }
.wns-fact__text { margin-top: 2px !important; font-size: 13px; line-height: 20px; color: rgba(11, 18, 21, .6); }

/* ---------- Icon chip ---------- */
.wns-ico {
	display: inline-grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 999px; color: var(--wn-primary);
	border: 1px solid rgba(68, 110, 125, .2); background: linear-gradient(135deg, rgba(68, 110, 125, .14), rgba(68, 110, 125, .04));
	transition: background-color .3s, color .3s, border-color .3s, transform .3s;
}
.wns-ico svg { width: 22px; height: 22px; }
.wns-ico--sm { width: 40px; height: 40px; }
.wns-ico--sm svg { width: 19px; height: 19px; }
.wns-ico--light { color: var(--wn-bronze); border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); }

/* ---------- Cards (features and linked tiles) ---------- */
.wns-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .wns-grid--2, .wns-grid--3, .wns-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .wns-grid { gap: 20px; margin-top: 40px; } }
@media (min-width: 1024px) { .wns-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wns-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wns-card {
	position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; margin: 0; padding: 24px; overflow: hidden;
	border-radius: 4px; border: 1px solid rgba(11, 18, 21, .08); background: #fff; color: inherit !important; text-decoration: none !important;
	box-shadow: 0 1px 2px rgba(11, 18, 21, .04), 0 18px 40px -32px rgba(11, 18, 21, .35);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.wns-card::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--wn-primary), var(--wn-bronze)); transform: scaleX(0); transition: transform .35s ease; }
.wns-card--link:hover, .wns-card--link:focus-visible { transform: translateY(-3px); border-color: rgba(68, 110, 125, .35); box-shadow: 0 1px 2px rgba(11, 18, 21, .05), 0 26px 50px -28px rgba(11, 18, 21, .42); }
.wns-card--link:hover::after, .wns-card--link:focus-visible::after { transform: scaleX(1); }
.wns-card--link:hover .wns-ico, .wns-card--link:focus-visible .wns-ico { background: var(--wn-primary); border-color: var(--wn-primary); color: #fff; }
.wns-card__title { margin: 4px 0 0 !important; font-size: 18px; line-height: 28px; font-weight: 600; color: var(--wn-ink); }
.wns-card__text { margin: 0 !important; font-size: 14px; line-height: 24px; color: rgba(11, 18, 21, .68); }
.wns-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto !important; padding-top: 6px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--wnc-teal-text, var(--wn-primary)); }
.wns-card__more::after { content: "←"; transition: transform .25s ease; }
html[dir="ltr"] .wns-card__more::after { content: "→"; }
.wns-card--link:hover .wns-card__more::after { transform: translateX(-4px); }
html[dir="ltr"] .wns-card--link:hover .wns-card__more::after { transform: translateX(4px); }
.wn-ink .wns-card { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.wn-ink .wns-card__title { color: #fff; }
.wn-ink .wns-card__text { color: rgba(255, 255, 255, .68); }
.wn-ink .wns-ico { color: var(--wn-bronze); border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); }
.wn-ink .wns-card__more { color: var(--wn-bronze); }
.wn-ink .wns-card--link:hover { border-color: rgba(196, 165, 116, .45); background: rgba(255, 255, 255, .05); }
.wn-ink .wns-card--link:hover .wns-ico { background: var(--wn-bronze); border-color: var(--wn-bronze); color: var(--wn-ink); }

/* ---------- Split: text + image or text + points ---------- */
.wns-split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .wns-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; } }
.wns-split__text .wn-h2 { margin-top: 0; }
.wns-split__text .wn-eyebrow + .wn-h2 { margin-top: 12px !important; }
.wns-arrow { display: inline-flex; margin-top: 20px !important; }
/* 2026-11-13: two or more guide links in a row each get their own line (Semrush internal-linking fix). */
.wns-arrow + .wns-arrow { display: flex; width: fit-content; margin-top: 12px !important; }
.wn-ink .wns-arrow, .wn-ink .wns-arrow:hover { color: var(--wn-bronze) !important; }
.wn-steps + .wns-onink { margin-top: 28px !important; }
.wns-media { position: relative; isolation: isolate; margin: 0 0 16px; }
.wns-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 30px 60px -40px rgba(11, 18, 21, .55); }
.wns-media::before { content: ""; position: absolute; z-index: -1; inset: 18px -14px -16px 18px; border: 1px solid rgba(196, 165, 116, .55); border-radius: 4px; }
html[dir="rtl"] .wns-media::before { inset: 18px 18px -16px -14px; }
.wns-points { display: grid; gap: 12px; margin: 0 !important; padding: 0; list-style: none; }
.wns-points li { display: flex; gap: 14px; margin: 0; padding: 16px; border-radius: 4px; border: 1px solid rgba(11, 18, 21, .08); background: #fff; box-shadow: 0 12px 30px -28px rgba(11, 18, 21, .4); }
.wns-points__title { font-size: 15px; line-height: 24px; font-weight: 600; color: var(--wn-ink); }
.wns-points__text { margin-top: 2px !important; font-size: 14px; line-height: 22px; color: rgba(11, 18, 21, .65); }
.wns-prose { max-width: 768px; margin-top: 8px; }

/* ---------- Steps (dark): 5 columns when there are five ---------- */
@media (min-width: 1024px) { .wn-steps.wns-steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.wns-steps .wn-step { border-radius: 4px; transition: border-color .3s, background-color .3s; }
.wns-steps .wn-step:hover { border-color: rgba(196, 165, 116, .45); background: rgba(255, 255, 255, .02); }

/* ---------- Fit / not a fit ---------- */
.wns-fit { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 768px) { .wns-fit { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; } }
.wns-fit__col { padding: 24px; border-radius: 4px; border: 1px solid rgba(11, 18, 21, .08); border-top: 3px solid var(--wn-primary); background: #fff; }
.wns-fit__col--no { border-top-color: rgba(11, 18, 21, .2); background: var(--wn-paper); }
.wns-fit__title { font-size: 18px; line-height: 28px; font-weight: 600; color: var(--wn-ink); }
.wns-fit__list, .wns-factors { display: grid; gap: 12px; margin: 16px 0 0 !important; padding: 0; list-style: none; }
.wns-fit__list li, .wns-factors li { display: flex; gap: 10px; margin: 0; font-size: 15px; line-height: 26px; color: rgba(11, 18, 21, .82); }
.wns-fit__mark { display: inline-grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--wn-primary); color: #fff; }
.wns-fit__mark svg { width: 14px; height: 14px; stroke-width: 2.5; }
.wns-fit__col--no .wns-fit__mark { background: rgba(11, 18, 21, .1); color: rgba(11, 18, 21, .6); }

/* ---------- Quote: how the price is set + request box ---------- */
.wns-quote { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .wns-quote { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: 56px; } }
@media (min-width: 640px) { .wns-factors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wns-factors { margin-top: 24px !important; }
.wns-quote__box {
	position: relative; overflow: hidden; isolation: isolate; padding: 32px 28px; border-radius: 4px; color: #fff;
	background: linear-gradient(150deg, #0b1215 0%, #152229 55%, #1d333c 100%); box-shadow: 0 30px 60px -36px rgba(11, 18, 21, .7);
}
.wns-quote__box::before { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; top: -120px; inset-inline-end: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 165, 116, .35), transparent 70%); }
.wns-quote__title { margin-top: 16px !important; font-size: 22px; line-height: 32px; font-weight: 600; color: #fff; }
.wns-quote__text { margin-top: 8px !important; font-size: 15px; line-height: 26px; color: rgba(255, 255, 255, .74); }
.wns-quote__box .wn-btns { margin-top: 24px; }
.wns-quote__note { margin-top: 12px !important; font-size: 12px; line-height: 20px; color: rgba(255, 255, 255, .5); }

/* ---------- FAQ (a little larger than the pricing page's) ---------- */
.wns-faq { max-width: 860px; }
.wns-faq .wp-block-details { padding: 18px 0; }
.wns-faq .wp-block-details summary { font-size: 16px; line-height: 26px; }
.wns-faq .wp-block-details p { font-size: 15px; line-height: 28px; }

/* ---------- Related links ---------- */
@media (min-width: 768px) { .wns-rels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wns-rel { transition: border-color .2s, transform .2s; }
.wns-rel:hover { transform: translateY(-2px); }
.wns-rel__text { font-size: 15px; line-height: 24px; font-weight: 500; }

/* ---------- Closing call to action ---------- */
.wns-cta { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(120deg, #0b1215 0%, #1d333c 58%, #375a66 100%); }
.wns-cta::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.wns-cta::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; bottom: -220px; inset-inline-start: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 165, 116, .28), transparent 70%); animation: wns-drift 14s ease-in-out infinite alternate; }
@keyframes wns-drift { to { transform: translate(60px, -40px); } }
.wns-cta__inner { padding-block: 56px; text-align: center; }
@media (min-width: 768px) { .wns-cta__inner { padding-block: 88px; } }
.wns-cta .wn-h2 { color: #fff; }
.wns-cta .wn-lead { max-width: 640px; margin-inline: auto; color: var(--wnr-white-soft, rgba(255, 255, 255, .84)) !important; }
.wns-cta .wn-btns { justify-content: center; }

/* ---------- Related service card under articles ---------- */
.wns-artrel { display: flex; gap: 16px; align-items: flex-start; margin: 40px 0 8px; padding: 20px 22px; border-radius: 4px; border: 1px solid rgba(68, 110, 125, .25); border-inline-start: 4px solid var(--wn-primary); background: linear-gradient(135deg, rgba(68, 110, 125, .07), rgba(196, 165, 116, .06)); }
.wns-artrel .wns-ico { width: 44px; height: 44px; }
.wns-artrel__kicker { margin: 0 !important; font-size: 12px; line-height: 18px; letter-spacing: .12em; text-transform: uppercase; color: var(--wnc-teal-text, var(--wn-primary)); }
.wns-artrel__title { margin: 4px 0 0 !important; font-size: 18px; line-height: 28px; font-weight: 600; }
.wns-artrel__title a { color: var(--wn-ink); text-decoration: none; }
.wns-artrel__title a:hover { color: var(--wnc-teal-text, var(--wn-primary)); text-decoration: underline; text-underline-offset: 3px; }
.wns-artrel__text { margin: 4px 0 0 !important; font-size: 14px; line-height: 24px; color: rgba(11, 18, 21, .7); }

/* ---------- Footer: services column ---------- */
@media (min-width: 640px) { .wn-footer__cols:has(.wns-footer-services) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.wn-footer__grid:has(.wns-footer-services) > * { grid-column: span 3 / span 3; }
	.wn-footer__grid:has(.wns-footer-services) > .wn-footer__cols { grid-column: span 6 / span 6; }
}

/* ---------- Header: services drop-down (desktop) ---------- */
@media (min-width: 1024px) {
	.main-navigation .main-nav ul ul { min-width: 250px; padding: 8px 0; border: 1px solid rgba(11, 18, 21, .08); border-radius: 4px; background: #fff; box-shadow: 0 24px 48px -24px rgba(11, 18, 21, .35); }
	.main-navigation .main-nav ul ul li a { padding: 10px 18px !important; font-size: 14px; line-height: 22px; background-image: none !important; color: var(--wn-ink); }
	.main-navigation .main-nav ul ul li a:hover { background-color: var(--wn-paper) !important; color: var(--wnc-teal-text, var(--wn-primary)); }
}

/* ---------- Reveal on scroll (added by services.js only below the fold; no JS = no animation) ---------- */
.wns-rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.wns-rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.wns-rv { opacity: 1; transform: none; transition: none; }
	.wns-hero__mark, .wns-hero__mark::before, .wns-cta::after { animation: none; }
}

/* ---------- Home: plans at a glance (5 cards) ---------- */
@media (min-width: 640px) { .wns-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .wns-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .wns-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.wnh-plan { gap: 8px; padding: 22px 20px; }
.wnh-plan .wns-card__title { margin: 0 !important; font-size: 17px; line-height: 26px; }
.wnh-plan__price { margin: 0 !important; font-size: 22px; line-height: 30px; font-weight: 700; color: var(--wn-ink); }
.wnh-plan__price .wn-price { white-space: nowrap; }
.wnh-plan__price small { display: block; font-size: 13px; line-height: 18px; font-weight: 500; color: rgba(11, 18, 21, .76); }
@media (min-width: 1200px) { .wnh-plan__price { font-size: 20px; line-height: 28px; } }
.wnh-plan__tag { align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: rgba(196, 165, 116, .2); color: #5c4826; font-size: 12px; line-height: 20px; font-weight: 600; }
.wnh-plan--pop { border-color: rgba(68, 110, 125, .45); box-shadow: 0 1px 2px rgba(11, 18, 21, .05), 0 22px 46px -30px rgba(51, 83, 94, .55); }
.wnh-plans .wns-head .wn-lead { margin-inline: auto; }
.wnh-plans__more { display: flex; justify-content: center; margin-top: 24px !important; }

/* ---------- Home FAQ: an answer written as points ---------- */
.wn-faq .wp-block-details ul.wn-faq__list { margin: 8px 0 0; padding-inline-start: 20px; list-style: disc; }
.wn-faq__list > li { margin: 0; max-width: 768px; font-size: 15px; line-height: 28px; color: rgba(11, 18, 21, .86); }
.wn-faq__list > li + li { margin-top: 6px; }
.wn-faq__list > li::marker { color: var(--wn-primary); }
@media (max-width: 767.98px) { .wn-faq__list > li { font-size: 16px; line-height: 1.8; } }
