/* Digital Smart Kit: request pop-up and card, homepage banner, transparent header. Scoped to its own classes. */
:root {
	--rq-navy: #071a4d;
	--rq-navy-2: #0b2468;
	--rq-ink: #0f1b3d;
	--rq-ink-2: #3b4766;
	--rq-muted: #5c6782;
	--rq-line: #cdd5e3;
	--rq-line-2: #e2e7f0;
	--rq-blue: #1652e8;
	--rq-blue-2: #2a66f5;
	--rq-yellow: #ffc81e;
	--rq-yellow-2: #ffd84d;
	--rq-white: #ffffff;
	--rq-on-navy: #d5ddf3;
	--rq-red: #d92d20;
	--rq-hero-bg: #011133;
	--rq-shade: rgba(2, 8, 30, 0.72);
	--rq-glass: rgba(255, 255, 255, 0.06);
	--rq-glass-line: rgba(140, 170, 255, 0.28);
	--rq-streak: rgba(90, 140, 255, 0.14);
}

/* ---------- Request card (page and pop-up) ---------- */
.dsk-rq { position: relative; overflow: hidden; color: var(--rq-white); background: linear-gradient(135deg, var(--rq-navy-2), var(--rq-navy) 55%); border-radius: 28px; padding: clamp(22px, 3.6vw, 44px); text-align: left; }
.dsk-rq::before { content: ""; position: absolute; top: -40%; right: -8%; width: 38%; height: 120%; background: var(--rq-streak); transform: rotate(28deg); pointer-events: none; }
.dsk-rq > * { position: relative; }
.dsk-rq__brand { display: flex; align-items: center; gap: 10px; color: var(--rq-white); font-weight: 800; font-size: clamp(15px, 1.5vw, 20px); letter-spacing: 0.04em; text-transform: uppercase; }
.dsk-rq__brand svg { color: var(--rq-yellow); width: 30px; height: 30px; }
.dsk-rq__title { margin: 14px 0 6px; color: var(--rq-white); font-size: clamp(30px, 4.6vw, 58px); line-height: 1.05; font-weight: 800; letter-spacing: -0.01em; }
.dsk-rq__title em { font-style: normal; color: var(--rq-yellow); }
.dsk-rq__lead { margin: 0 0 clamp(18px, 2.6vw, 32px); color: var(--rq-on-navy); font-size: clamp(15px, 1.6vw, 21px); }
.dsk-rq__grid { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); gap: 22px; align-items: start; }

.dsk-rq__form { background: var(--rq-white); color: var(--rq-ink); border-radius: 14px; padding: clamp(18px, 2.4vw, 28px); margin: 0; }
.dsk-rq__fields { display: grid; gap: 16px; }
.dsk-rq__fields[hidden], .dsk-rq__done[hidden], .dsk-rq__err[hidden] { display: none; }
.dsk-rq fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.dsk-rq legend, .dsk-rq__f > span:first-child { display: block; margin: 0 0 8px; padding: 0; font-size: 16px; font-weight: 700; color: var(--rq-ink); }
.dsk-rq legend span, .dsk-rq__f i { color: var(--rq-red); font-style: normal; }
.dsk-rq__chips { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.dsk-rq__chip { position: relative; margin: 0; cursor: pointer; }
.dsk-rq__chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dsk-rq__chip span { display: flex; align-items: center; gap: 8px; min-height: 50px; height: 100%; padding: 6px 10px; border: 1.5px solid var(--rq-line); border-radius: 8px; background: var(--rq-white); color: var(--rq-ink); font-size: 14px; font-weight: 600; line-height: 1.2; transition: border-color .15s, background-color .15s, color .15s; }
.dsk-rq__chip svg { flex: none; width: 22px; height: 22px; }
.dsk-rq__chip:hover span { border-color: var(--rq-blue); }
.dsk-rq__chip input:checked + span { background: var(--rq-blue); border-color: var(--rq-blue); color: var(--rq-white); }
.dsk-rq__chip input:focus-visible + span { outline: 3px solid var(--rq-yellow); outline-offset: 2px; }
.dsk-rq__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 22px; }
.dsk-rq__f { display: block; margin: 0; }
.dsk-rq input[type=text], .dsk-rq input:not([type]), .dsk-rq input[type=url], .dsk-rq input[type=email], .dsk-rq input[type=tel], .dsk-rq select, .dsk-rq textarea {
	width: 100%; min-height: 44px; margin: 0; padding: 9px 14px; border: 1.5px solid var(--rq-line); border-radius: 8px; background: var(--rq-white); color: var(--rq-ink); font: inherit; font-size: 16px; line-height: 1.4; box-shadow: none; }
.dsk-rq textarea { min-height: 76px; resize: vertical; }
.dsk-rq select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--rq-ink) 50%), linear-gradient(135deg, var(--rq-ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.dsk-rq ::placeholder { color: var(--rq-muted); opacity: 1; }
.dsk-rq input:focus-visible, .dsk-rq select:focus-visible, .dsk-rq textarea:focus-visible { outline: 3px solid var(--rq-blue-2); outline-offset: 1px; border-color: var(--rq-blue); }
.dsk-rq__inicon { position: relative; display: block; }
.dsk-rq__inicon svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--rq-ink-2); pointer-events: none; }
.dsk-rq__inicon input { padding-left: 46px !important; }
.dsk-rq__check { display: flex; align-items: center; gap: 12px; margin: 2px 0 0; font-size: 16px; color: var(--rq-ink); cursor: pointer; }
.dsk-rq__check input { width: 20px; height: 20px; margin: 0; accent-color: var(--rq-blue); }
.dsk-rq__priv { margin: -6px 0 0; font-size: 14px; color: var(--rq-ink-2); }
.dsk-rq__priv a { color: var(--rq-blue); text-decoration: underline; }
.dsk-rq__submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 50px; padding: 10px 20px; border: 0; border-radius: 8px; background: var(--rq-yellow); color: var(--rq-ink); font: inherit; font-size: 19px; font-weight: 800; cursor: pointer; text-decoration: none; transition: background-color .15s, transform .15s; }
.dsk-rq__submit:hover { background: var(--rq-yellow-2); color: var(--rq-ink); }
.dsk-rq__submit:active { transform: translateY(1px); }
.dsk-rq__submit:focus-visible { outline: 3px solid var(--rq-blue); outline-offset: 2px; }
.dsk-rq__submit[disabled] { opacity: .7; cursor: progress; }
.dsk-rq__terms { margin: -4px 0 0; text-align: center; font-size: 14px; color: var(--rq-ink-2); }
.dsk-rq__err { margin: 0; padding: 10px 14px; border-radius: 8px; background: #fdecea; color: #8a1c12; font-size: 15px; }
.dsk-rq__done { text-align: center; padding: 26px 10px; }
.dsk-rq__done svg { width: 46px; height: 46px; color: var(--rq-blue); }
.dsk-rq__done h3 { margin: 10px 0 6px; color: var(--rq-ink); font-size: 24px; }
.dsk-rq__done p { margin: 0; color: var(--rq-ink-2); }
.dsk-rq .dsk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.dsk-rq__how { background: rgba(14, 40, 110, 0.55); border: 1px solid var(--rq-glass-line); border-radius: 14px; padding: 24px 22px; color: var(--rq-white); }
.dsk-rq__how h3 { margin: 0 0 20px; color: var(--rq-white); font-size: 26px; font-weight: 800; }
.dsk-rq__how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.dsk-rq__how li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; margin: 0; }
.dsk-rq__how li > svg { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--rq-blue); color: var(--rq-white); }
.dsk-rq__how li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 52px; bottom: -20px; border-left: 2px dotted var(--rq-on-navy); opacity: .7; }
.dsk-rq__how b { display: block; color: var(--rq-white); font-size: 18px; line-height: 1.3; }
.dsk-rq__how li span { display: block; margin-top: 4px; color: var(--rq-on-navy); font-size: 15px; line-height: 1.45; }
.dsk-rq__cats { display: flex; align-items: center; gap: 12px; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--rq-glass-line); color: var(--rq-white); font-size: 16px; }
.dsk-rq__cats svg { flex: none; width: 30px; height: 30px; }

@media (max-width: 1023px) {
	.dsk-rq__chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dsk-rq__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.dsk-rq { border-radius: 20px; }
	.dsk-rq::before { width: 60%; }
	.dsk-rq__how { display: none; }
	.dsk-rq__row { grid-template-columns: minmax(0, 1fr); }
	.dsk-rq__chips { gap: 8px; }
	.dsk-rq__chip span { flex-direction: row; gap: 6px; min-height: 46px; padding: 6px 8px; font-size: 13px; }
	.dsk-rq__chip svg { width: 18px; height: 18px; }
	.dsk-rq legend, .dsk-rq__f > span:first-child { font-size: 15px; margin-bottom: 6px; }
	.dsk-rq__fields { gap: 13px; }
}

/* Request a Deal page */
.dsk-rq-page { max-width: 1180px; margin: clamp(16px, 3vw, 40px) auto; padding: 0 16px; }

/* ---------- Pop-up ---------- */
.dsk-rqm { width: min(1120px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: 28px; background: transparent; overflow: auto; overscroll-behavior: contain; }
.dsk-rqm::backdrop { background: var(--rq-shade); }
.dsk-rqm[open] { animation: dsk-rq-in .2s ease-out; }
@keyframes dsk-rq-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.dsk-rqm__x { position: sticky; top: 12px; float: right; z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; margin: 12px 12px -54px 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: var(--rq-white); cursor: pointer; }
.dsk-rqm__x:hover { background: rgba(255, 255, 255, 0.26); }
.dsk-rqm__x:focus-visible { outline: 3px solid var(--rq-yellow); outline-offset: 2px; }
html.dsk-rq-lock { overflow: hidden; }
@media (max-width: 767px) { .dsk-rqm { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 20px; } }

/* ---------- Homepage banner under a transparent header ---------- */
.dsk-hero { position: relative; background: var(--rq-hero-bg); }
.dsk-hero__art { position: relative; max-width: 1600px; margin: 0 auto; line-height: 0; }
.dsk-hero__art img { display: block; width: 100%; height: auto; }
.dsk-hero__art--mob { display: none; }
.dsk-hero__spot { position: absolute; display: block; border-radius: 12px; }
.dsk-hero__spot:hover { background: rgba(255, 255, 255, 0.06); }
.dsk-hero__spot:focus-visible { outline: 3px solid var(--rq-yellow); outline-offset: 2px; }
@media (max-width: 767px) {
	.dsk-hero__art--desk { display: none; }
	.dsk-hero__art--mob { display: block; }
}
/* The old Elementor hero on the Home page gives way to the banner. */
body.dsk-hero-on .elementor-element-83531f9 { display: none !important; }

/* Header: transparent over the banner, solid once the page scrolls. */
/* The theme wrapper clips anything pulled up under the header, so the header takes the banner's navy instead:
   it reads as one surface with the artwork, then turns white once the page scrolls. */
body.dsk-hero-on #masthead { position: sticky; top: 0; z-index: 99; background: var(--rq-hero-bg); transition: background-color .2s, box-shadow .2s; }
/* On phones the theme pins .site-header-inner (position: fixed) while #masthead scrolls away, so it carries the colour too. */
body.dsk-hero-on #masthead .site-header-inner { background: var(--rq-hero-bg); transition: background-color .2s, box-shadow .2s; }
body.dsk-hero-on.dsk-hdr-solid #masthead .site-header-inner { background: var(--rq-white); box-shadow: 0 2px 14px rgba(7, 26, 77, 0.12); }
body.dsk-hero-on:not(.dsk-hdr-solid) #masthead .primary-navigation > li > a,
body.dsk-hero-on:not(.dsk-hdr-solid) #masthead .site-tools a,
body.dsk-hero-on:not(.dsk-hdr-solid) #masthead .site-tools .tools-icon,
body.dsk-hero-on:not(.dsk-hdr-solid) #masthead .toggle-sidebar-menu-btn,
body.dsk-hero-on:not(.dsk-hdr-solid) #masthead .woostify-svg-icon { color: var(--rq-white); }
body.dsk-hero-on:not(.dsk-hdr-solid) #masthead .primary-navigation > li > a:hover { color: var(--rq-yellow); }
body.dsk-hero-on .dsk-logo-light { display: none; }
body.dsk-hero-on:not(.dsk-hdr-solid) .custom-logo-link img:not(.dsk-logo-light) { display: none; }
body.dsk-hero-on:not(.dsk-hdr-solid) .custom-logo-link .dsk-logo-light { display: inline-block; }
body.dsk-hero-on.dsk-hdr-solid #masthead { background: var(--rq-white); box-shadow: 0 2px 14px rgba(7, 26, 77, 0.12); }

/* ---------- Services page ---------- */
.dsk-svc__empty { max-width: 720px; margin: 10px auto 30px; padding: 26px; border: 1.5px solid var(--rq-line-2); border-radius: 14px; text-align: center; }
.dsk-svc__empty p { margin: 0 0 16px; color: var(--rq-ink-2); font-size: 17px; }
.dsk-svc__btn { max-width: 360px; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
	.dsk-rqm[open] { animation: none; }
	.dsk-rq__chip span, .dsk-rq__submit, body.dsk-hero-on #masthead { transition: none; }
}

/* Header menu: eight top-level items (Deals, AI Tools, Services, Membership added) on one line. */
@media (min-width: 992px) {
	#masthead .primary-navigation > li > a { margin-left: 11px; margin-right: 11px; }
}
@media (min-width: 992px) and (max-width: 1279px) {
	#masthead .primary-navigation > li > a { margin-left: 7px; margin-right: 7px; font-size: 13px; }
}

/* The theme sizes every h2/h3 and breaks long words; the request card keeps its own type. */
body .dsk-rq .dsk-rq__title { font-size: clamp(30px, 4.6vw, 58px); line-height: 1.05; margin: 14px 0 6px; }
body .dsk-rq .dsk-rq__how h3 { font-size: 26px; line-height: 1.2; margin: 0 0 20px; }
body .dsk-rq .dsk-rq__done h3 { font-size: 24px; line-height: 1.25; margin: 10px 0 6px; }
.dsk-rq, .dsk-rq * { word-break: normal; overflow-wrap: normal; hyphens: none; }
.dsk-rq__chip span { gap: 6px; padding: 6px 8px; font-size: 13.5px; }
.dsk-rq__chip svg { width: 20px; height: 20px; }

/* Request band under the plans: heading, line and button on one row; the chips only where they fit. */
body .dsk-reqband h2 { white-space: nowrap; }
@media (max-width: 1499px) {
	.dsk-reqband .dsk-reqband__chips { display: none; }
	.dsk-plans + .dsk-reqband .dsk-reqband__txt { flex: 1 1 auto; }
}
@media (max-width: 767px) {
	body .dsk-reqband h2 { white-space: normal; }
	.dsk-reqband .dsk-btn { margin-left: 0; width: 100%; text-align: center; }
}

/* Header over the banner, mobile parts: white menu icon, light mobile logo, no hairline under the header. */
body.dsk-hero-on:not(.dsk-hdr-solid) #masthead .woostify-icon-bar span { background-color: var(--rq-white); }
body.dsk-hero-on:not(.dsk-hdr-solid) #masthead .custom-mobile-logo { content: url(logo-on-dark.webp); }
body.dsk-hero-on #masthead .site-header-inner { border-bottom-color: transparent; }
body .dsk-rq .dsk-rq__lead { line-height: 1.45; }

/* Membership section on the homepage: lands below the sticky header when the banner's Membership button is used. */
#plans { scroll-margin-top: 96px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.dsk-home-plans { margin: 0; }
.dsk-home-plans .dsk-plans { margin-top: 0; }
body .dsk-plans--home #dsk-plans-title { margin: 0; font-family: var(--dsk-head, inherit); font-weight: 700; font-size: clamp(32px, 4.8vw, 60px); line-height: 1.06; color: var(--rq-white); }
