/*
Theme Name: Junaid Digital Growth
Theme URI: https://calendly.com/junaidjavaid
Author: Junaid Javaid
Description: A fast, SEO-optimised personal brand theme for performance marketers. Every homepage section (Hero, Results, Case Studies, Services, Process, Career, Toolkit, Testimonials, Lead Magnet form, FAQ, Booking, About, Contact, CTA) is a drag-and-drop block you can edit, reorder and reuse on any page. Includes built-in schema markup, Open Graph, lead capture with a Leads inbox and CSV export, Google Analytics / Tag Manager fields and Elementor compatibility.
Version: 1.2.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jdg
Tags: one-page, portfolio, blog, dark, custom-logo, custom-menu, editor-style, featured-images, full-width-template, block-patterns, threaded-comments, translation-ready, wide-blocks
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--jdg-bg: #061e41;
	--jdg-primary: #255ae0;
	--jdg-accent: #5aa6ff;
	--jdg-cta: #f7a823;
	--jdg-cta-ink: #0b1a33;
	--jdg-cta-hover: #ffb93d;
	--jdg-fg: #f8fafd;
	--jdg-muted-fg: #b1bcca;
	--jdg-subtle-fg: #8696ad;

	--jdg-bg-deep: color-mix(in srgb, var(--jdg-bg) 82%, #000);
	--jdg-surface: color-mix(in srgb, var(--jdg-bg) 86%, #ffffff 14%);
	--jdg-surface-2: color-mix(in srgb, var(--jdg-bg) 92%, #ffffff 8%);
	--jdg-card: color-mix(in srgb, #24456f 72%, transparent);
	--jdg-input: color-mix(in srgb, var(--jdg-bg) 75%, #000 25%);
	--jdg-border: rgba(248, 250, 253, 0.12);
	--jdg-border-strong: rgba(248, 250, 253, 0.18);
	--jdg-accent-soft: color-mix(in srgb, var(--jdg-accent) 16%, transparent);
	--jdg-primary-glow: color-mix(in srgb, var(--jdg-primary) 45%, transparent);
	--jdg-cta-glow: color-mix(in srgb, var(--jdg-cta) 42%, transparent);
	--jdg-wa: #15803d;

	--jdg-font: "Inter", "Segoe UI", Calibri, ui-sans-serif, system-ui, -apple-system, sans-serif;
	--jdg-font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;

	--jdg-radius-sm: 10px;
	--jdg-radius: 14px;
	--jdg-radius-lg: 20px;
	--jdg-radius-xl: 28px;

	--jdg-container: 1200px;
	--jdg-gutter: clamp(18px, 4vw, 32px);
	--jdg-section-y: clamp(72px, 10vw, 112px);
	--jdg-header-h: 72px;

	--jdg-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--jdg-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--jdg-header-h) + 12px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--jdg-bg);
	color: var(--jdg-fg);
	font-family: var(--jdg-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--jdg-accent); text-decoration: none; transition: color .2s; }
a:hover { color: color-mix(in srgb, var(--jdg-accent) 75%, #fff); }
h1, h2, h3, h4, h5, h6 { font-family: var(--jdg-font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; color: var(--jdg-fg); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--jdg-primary); color: #fff; }

:focus-visible {
	outline: 2px solid var(--jdg-accent);
	outline-offset: 3px;
	border-radius: 6px;
}

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: #fff; clip: auto !important; clip-path: none; color: #000;
	display: block; height: auto; left: 8px; padding: 12px 18px; top: 8px; width: auto; z-index: 100000;
}

.jdg-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--jdg-primary); color: #fff; padding: 10px 16px; border-radius: var(--jdg-radius-sm);
	font-weight: 600; transition: top .2s;
}
.jdg-skip:focus { top: 12px; color: #fff; }

.jdg-main:focus { outline: 0; }

.jdg-icon { width: 1.25em; height: 1.25em; flex: none; }
.jdg-flip { transform: scaleX(-1); }

.jdg-container {
	width: 100%;
	max-width: calc(var(--jdg-container) + var(--jdg-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--jdg-gutter);
}
.jdg-container--narrow { max-width: calc(820px + var(--jdg-gutter) * 2); }

@media (max-width: 640px) { .jdg-hide-sm { display: none; } }

/* ==========================================================================
   3. Typography helpers
   ========================================================================== */
.jdg-eyebrow {
	margin: 0 0 14px;
	font-family: var(--jdg-font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--jdg-accent);
}
.jdg-eyebrow a { color: inherit; }
.jdg-h2 {
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 16px;
	text-wrap: balance;
}
.jdg-lead {
	color: var(--jdg-muted-fg);
	font-size: clamp(16px, 1.6vw, 18px);
	line-height: 1.65;
	margin: 0;
	text-wrap: pretty;
}
.jdg-heading { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 56px); }
.jdg-heading--center { text-align: center; }
.jdg-heading--left { margin-inline: 0; text-align: left; }
.jdg-note { text-align: center; color: var(--jdg-subtle-fg); font-size: 13px; margin: 28px 0 0; }

.jdg-gradient-text {
	background: linear-gradient(100deg, var(--jdg-primary) 0%, var(--jdg-accent) 60%, color-mix(in srgb, var(--jdg-accent) 60%, #fff) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ==========================================================================
   4. Buttons, tags, cards
   ========================================================================== */
.jdg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px;
	border: 1px solid transparent; border-radius: var(--jdg-radius-sm);
	font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center;
	cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: transform .2s var(--jdg-ease), box-shadow .2s, background-color .2s, border-color .2s, color .2s;
}
.jdg-btn:active { transform: translateY(1px); }
.jdg-btn--lg { min-height: 52px; padding: 14px 24px; font-size: 15px; }
.jdg-btn--block { display: flex; width: 100%; }
.jdg-btn--primary {
	background: var(--jdg-cta); color: var(--jdg-cta-ink);
	box-shadow: 0 10px 30px -12px var(--jdg-cta-glow), inset 0 1px 0 rgba(255,255,255,.35);
}
.jdg-btn--primary:hover { color: var(--jdg-cta-ink); background: var(--jdg-cta-hover); transform: translateY(-2px); box-shadow: 0 16px 36px -12px var(--jdg-cta-glow); }
.jdg-btn--primary:focus-visible { outline-color: #fff; }
.jdg-btn--ghost { background: rgba(255,255,255,.03); color: var(--jdg-fg); border-color: var(--jdg-border-strong); }
.jdg-btn--ghost:hover { color: var(--jdg-fg); border-color: var(--jdg-accent); background: var(--jdg-accent-soft); transform: translateY(-2px); }
.jdg-btn--light { background: #fff; color: var(--jdg-bg); }
.jdg-btn--light:hover { color: var(--jdg-bg); transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(255,255,255,.35); }
.jdg-btn__icon { width: 16px; height: 16px; transition: transform .2s; }
.jdg-btn:hover .jdg-btn__icon:not(.jdg-btn__icon--lead) { transform: translateX(3px); }
.jdg-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.jdg-text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--jdg-accent); }
.jdg-text-link .jdg-icon { width: 16px; height: 16px; transition: transform .2s; }
.jdg-text-link:hover .jdg-icon { transform: translateX(3px); }

.jdg-tag {
	display: inline-flex; align-items: center; padding: 4px 10px;
	border-radius: 999px; border: 1px solid color-mix(in srgb, var(--jdg-accent) 35%, transparent);
	background: var(--jdg-accent-soft); color: color-mix(in srgb, var(--jdg-accent) 70%, #fff);
	font-size: 11px; font-weight: 600; letter-spacing: .01em;
}

.jdg-pill {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px; margin: 0 0 24px;
	border: 1px solid var(--jdg-border-strong); border-radius: 999px;
	background: rgba(255,255,255,.04);
	font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--jdg-muted-fg);
}
.jdg-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--jdg-accent); box-shadow: 0 0 0 4px var(--jdg-accent-soft); animation: jdg-pulse 2s infinite; }

.jdg-card {
	position: relative;
	background: var(--jdg-card);
	border: 1px solid var(--jdg-border);
	border-radius: var(--jdg-radius-lg);
	box-shadow: var(--jdg-shadow);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.jdg-icon-box {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 44px; height: 44px; border-radius: 12px;
	background: color-mix(in srgb, var(--jdg-primary) 22%, transparent);
	border: 1px solid color-mix(in srgb, var(--jdg-accent) 25%, transparent);
	color: var(--jdg-accent);
}
.jdg-icon-box .jdg-icon { width: 20px; height: 20px; }
.jdg-icon-box--sm { width: 28px; height: 28px; border-radius: 8px; }
.jdg-icon-box--sm .jdg-icon { width: 14px; height: 14px; }

.jdg-round-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid var(--jdg-border-strong); background: rgba(255,255,255,.04);
	color: var(--jdg-fg); cursor: pointer; transition: background .2s, border-color .2s;
}
.jdg-round-btn:hover { background: var(--jdg-accent-soft); border-color: var(--jdg-accent); }
.jdg-round-btn .jdg-icon { width: 18px; height: 18px; }

/* ==========================================================================
   5. Header
   ========================================================================== */
.jdg-header {
	position: sticky; top: 0; z-index: 100;
	background: color-mix(in srgb, var(--jdg-bg) 72%, transparent);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.admin-bar .jdg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .jdg-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .jdg-header { top: 0; } }
.jdg-header.is-scrolled { border-bottom-color: var(--jdg-border); background: color-mix(in srgb, var(--jdg-bg) 90%, transparent); box-shadow: 0 10px 30px -20px rgba(0,0,0,.6); }
.jdg-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--jdg-header-h); }

.jdg-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--jdg-fg); flex: none; }
.jdg-brand:hover { color: var(--jdg-fg); }
.jdg-logo-mark, .jdg-logo-img { width: 34px; height: 34px; object-fit: contain; }
.jdg-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.jdg-brand__name { font-family: var(--jdg-font-display); font-weight: 800; font-size: 16px; letter-spacing: .01em; text-transform: uppercase; }
.jdg-brand__tagline { margin-top: 4px; font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--jdg-accent); font-weight: 500; }

.jdg-nav { margin-left: auto; }
.jdg-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.jdg-nav__list a {
	display: block; padding: 8px 12px; border-radius: 8px;
	color: var(--jdg-muted-fg); font-size: 14px; font-weight: 500;
	transition: color .2s, background-color .2s;
}
.jdg-nav__list a:hover,
.jdg-nav__list .current-menu-item > a,
.jdg-nav__list a.is-active { color: var(--jdg-fg); background: rgba(255,255,255,.05); }
.jdg-header__actions { display: flex; align-items: center; gap: 10px; }
.jdg-header__cta { min-height: 40px; padding: 8px 18px; }

.jdg-menu-toggle {
	display: none; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: var(--jdg-radius-sm);
	border: 1px solid var(--jdg-border-strong); background: rgba(255,255,255,.04); cursor: pointer;
}
.jdg-menu-toggle .jdg-icon { width: 20px; height: 20px; }
.jdg-menu-toggle__close { display: none; }
.jdg-menu-toggle[aria-expanded="true"] .jdg-menu-toggle__open { display: none; }
.jdg-menu-toggle[aria-expanded="true"] .jdg-menu-toggle__close { display: block; }

.jdg-mobile-nav { border-top: 1px solid var(--jdg-border); background: var(--jdg-bg); }
.jdg-mobile-nav[hidden] { display: none; }
.jdg-mobile-nav .jdg-container { padding-block: 16px 24px; }
.jdg-mobile-nav__list { list-style: none; margin: 0 0 16px; padding: 0; }
.jdg-mobile-nav__list a { display: block; padding: 14px 4px; color: var(--jdg-fg); font-weight: 500; font-size: 17px; border-bottom: 1px solid var(--jdg-border); }

@media (max-width: 960px) {
	.jdg-nav { display: none; }
	.jdg-menu-toggle { display: inline-flex; }
	.jdg-header__actions { margin-left: auto; }
}
@media (max-width: 480px) {
	.jdg-header__inner { gap: 10px; }
	.jdg-header__cta { min-height: 40px; padding: 8px 12px; font-size: 13px; }
	.jdg-brand { gap: 8px; }
	.jdg-brand__name { font-size: 14px; }
	.jdg-brand__tagline { display: none; }
	.jdg-menu-toggle { width: 42px; height: 42px; }
}

/* ==========================================================================
   6. Sections (shared)
   ========================================================================== */
.jdg-section { position: relative; padding-block: var(--jdg-section-y); }
.jdg-section + .jdg-section { border-top: 1px solid rgba(248, 250, 253, 0.06); }
.jdg-content--sections > .jdg-section:first-child { border-top: 0; }

/* Scroll reveal (only when JS is running on the front end). */
.jdg-js .jdg-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--jdg-ease), transform .8s var(--jdg-ease); }
.jdg-js .jdg-reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   7. Hero
   ========================================================================== */
.jdg-hero {
	padding-block: clamp(40px, 7vw, 72px) clamp(56px, 8vw, 96px);
	overflow: hidden;
	background:
		radial-gradient(1200px 600px at 80% -10%, color-mix(in srgb, var(--jdg-primary) 40%, transparent), transparent 60%),
		radial-gradient(900px 500px at 0% 100%, color-mix(in srgb, var(--jdg-accent) 22%, transparent), transparent 65%);
}
.jdg-hero__glow {
	position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
	mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
}
.jdg-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.jdg-hero__title {
	font-size: clamp(42px, 7vw, 76px);
	font-weight: 800; line-height: 1.04; letter-spacing: -0.03em;
	margin: 0 0 24px; text-wrap: balance;
}
.jdg-hero__text { color: var(--jdg-muted-fg); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.65; max-width: 560px; margin: 0 0 32px; }
.jdg-hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 40px 0 0; }
.jdg-hero__stat {
	padding: 16px 14px; border-radius: var(--jdg-radius);
	background: rgba(255,255,255,.035); border: 1px solid var(--jdg-border);
}
.jdg-hero__stat-value { font-family: var(--jdg-font-display); font-weight: 800; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.02em; line-height: 1.1; white-space: nowrap; }
.jdg-hero__stat-label { margin: 6px 0 0; color: var(--jdg-muted-fg); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }

.jdg-hero__media { position: relative; justify-self: end; width: 100%; max-width: 520px; }
.jdg-portrait-frame {
	position: relative; overflow: hidden;
	aspect-ratio: 4 / 5;
	border-radius: var(--jdg-radius-xl);
	border: 1px solid color-mix(in srgb, var(--jdg-accent) 40%, transparent);
	background:
		radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--jdg-primary) 55%, transparent), transparent 70%),
		linear-gradient(180deg, color-mix(in srgb, var(--jdg-primary) 30%, var(--jdg-bg)) 0%, var(--jdg-surface) 100%);
	box-shadow: 0 0 0 8px rgba(255,255,255,.025), 0 40px 120px -30px var(--jdg-primary-glow);
}
.jdg-portrait { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.jdg-hero__chip {
	position: absolute; left: -20px; bottom: 28px;
	display: flex; align-items: center; gap: 10px;
	padding: 12px 16px; border-radius: var(--jdg-radius);
	background: color-mix(in srgb, var(--jdg-bg) 80%, #fff 6%); border: 1px solid var(--jdg-border-strong);
	box-shadow: var(--jdg-shadow);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	animation: jdg-float 5s ease-in-out infinite;
}
.jdg-hero__chip-icon { color: #fbbf24; fill: #fbbf24; width: 20px; height: 20px; }
.jdg-hero__chip strong { display: block; font-size: 13px; }
.jdg-hero__chip span { display: block; font-size: 12px; color: var(--jdg-muted-fg); }

@media (max-width: 900px) {
	.jdg-hero__grid { grid-template-columns: 1fr; }
	.jdg-hero__media { justify-self: center; max-width: 400px; }
	.jdg-hero__content { text-align: left; }
	.jdg-hero__chip { left: 12px; bottom: 16px; }
}
@media (max-width: 560px) {
	.jdg-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jdg-btn-row .jdg-btn { width: 100%; }
	.jdg-hero__media { max-width: 320px; }
}

/* ==========================================================================
   8. Marquee + trust
   ========================================================================== */
.jdg-marquee {
	padding-block: 18px !important;
	background: color-mix(in srgb, var(--jdg-bg) 88%, #fff 4%);
	border-block: 1px solid var(--jdg-border) !important;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.jdg-marquee__track { display: flex; width: max-content; animation: jdg-marquee 40s linear infinite; }
.jdg-marquee:hover .jdg-marquee__track { animation-play-state: paused; }
.jdg-marquee__list { display: flex; flex: none; list-style: none; margin: 0; padding: 0; }
.jdg-marquee__list li {
	display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
	font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--jdg-muted-fg); white-space: nowrap;
}
.jdg-marquee__list li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--jdg-accent); }

.jdg-trust { padding-block: clamp(48px, 6vw, 72px); }
.jdg-trust__title { text-align: center; font-family: var(--jdg-font); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--jdg-muted-fg); margin: 0 0 28px; }
.jdg-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.jdg-trust__item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; box-shadow: none; }
.jdg-trust__value { display: block; font-family: var(--jdg-font-display); font-size: 19px; font-weight: 700; line-height: 1.2; }
.jdg-trust__label { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--jdg-muted-fg); }
@media (max-width: 900px) { .jdg-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
	.jdg-trust__grid { gap: 10px; }
	.jdg-trust__item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
	.jdg-trust__value { font-size: 17px; }
}

/* ==========================================================================
   9. Results
   ========================================================================== */
.jdg-results { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--jdg-primary) 7%, transparent)); }
.jdg-results__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.jdg-panel { padding: clamp(22px, 3vw, 32px); transition: border-color .3s, box-shadow .3s; }
.jdg-panel:hover { border-color: color-mix(in srgb, var(--jdg-accent) 50%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--jdg-accent) 30%, transparent), 0 30px 80px -30px var(--jdg-primary-glow); }
.jdg-panel__title { font-family: var(--jdg-font); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--jdg-accent); margin: 0 0 6px; }
.jdg-panel__text { color: var(--jdg-muted-fg); font-size: 14px; margin: 0 0 24px; }
.jdg-metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.jdg-metric { padding: 22px 12px; text-align: center; border-radius: var(--jdg-radius); background: color-mix(in srgb, var(--jdg-bg) 70%, transparent); border: 1px solid var(--jdg-border); }
.jdg-metric__value { font-family: var(--jdg-font-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); line-height: 1; letter-spacing: -0.02em; color: var(--jdg-accent); white-space: nowrap; }
.jdg-metric__label { margin: 10px 0 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--jdg-muted-fg); }
@media (max-width: 860px) { .jdg-results__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   10. Case studies + dialog
   ========================================================================== */
.jdg-cases { background: var(--jdg-bg-deep); }
.jdg-cases__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.jdg-cases__grid > li { display: flex; }
.jdg-case {
	display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%;
	padding: 26px; text-align: left; cursor: pointer; color: var(--jdg-fg);
	transition: transform .35s var(--jdg-ease), border-color .3s, box-shadow .3s;
}
.jdg-case:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--jdg-accent) 50%, transparent); box-shadow: 0 30px 70px -30px var(--jdg-primary-glow); }
.jdg-case__title { font-size: 20px; font-weight: 700; margin: 6px 0 0; line-height: 1.25; }
.jdg-case__meta { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--jdg-muted-fg); }
.jdg-case__summary { color: var(--jdg-muted-fg); font-size: 14px; line-height: 1.6; flex: 1; }
.jdg-case__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--jdg-accent); }
.jdg-case__link .jdg-icon { width: 16px; height: 16px; transition: transform .2s; }
.jdg-case:hover .jdg-case__link .jdg-icon { transform: translate(2px, -2px); }
@media (max-width: 960px) { .jdg-cases__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .jdg-cases__grid { grid-template-columns: 1fr; } }

.jdg-dialog {
	width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 32px);
	padding: 0; border: 1px solid var(--jdg-border-strong); border-radius: var(--jdg-radius-xl);
	background: var(--jdg-surface); color: var(--jdg-fg);
	box-shadow: 0 40px 120px -20px rgba(0,0,0,.7), 0 0 0 1px color-mix(in srgb, var(--jdg-accent) 18%, transparent);
	overflow: auto; overscroll-behavior: contain;
}
.jdg-dialog::backdrop { background: rgba(2, 10, 24, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.jdg-dialog[open] { animation: jdg-pop .35s var(--jdg-ease); }
.jdg-dialog__inner { position: relative; padding: clamp(24px, 4vw, 40px); }
.jdg-dialog__close {
	position: sticky; top: 0; float: right; margin: -8px -8px 0 12px; z-index: 2;
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border-radius: 50%; border: 1px solid var(--jdg-border-strong); background: var(--jdg-surface-2); cursor: pointer;
}
.jdg-dialog__close .jdg-icon { width: 18px; height: 18px; }
.jdg-dialog__title { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; margin: 0 0 6px; }
.jdg-dialog__client { color: var(--jdg-muted-fg); font-size: 14px; margin: 0 0 18px; }
.jdg-dialog__summary { color: color-mix(in srgb, var(--jdg-fg) 85%, var(--jdg-muted-fg)); font-size: 16px; margin: 0 0 24px; }
.jdg-dialog__metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 28px; }
.jdg-dialog__metrics > div { padding: 16px 14px; border-radius: var(--jdg-radius); border: 1px solid var(--jdg-border); background: color-mix(in srgb, var(--jdg-bg) 55%, transparent); }
.jdg-dialog__metrics dt { font-family: var(--jdg-font-display); font-size: 20px; font-weight: 800; color: var(--jdg-accent); }
.jdg-dialog__metrics dd { margin: 4px 0 0; font-size: 12px; color: var(--jdg-muted-fg); }
.jdg-dialog__h { font-size: 18px; margin: 0 0 12px; }
.jdg-dialog__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.jdg-dialog__list li { position: relative; padding-left: 20px; color: color-mix(in srgb, var(--jdg-fg) 85%, var(--jdg-muted-fg)); font-size: 15px; }
.jdg-dialog__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--jdg-accent); }
.jdg-dialog__figure { margin: 0 0 28px; border-radius: var(--jdg-radius); overflow: hidden; border: 1px solid var(--jdg-border); }
@media (max-width: 620px) { .jdg-dialog__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
html.jdg-modal-open { overflow: hidden; }

/* ==========================================================================
   11. Services + process
   ========================================================================== */
.jdg-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.jdg-service { display: flex; flex-direction: column; padding: 28px; transition: transform .35s var(--jdg-ease), border-color .3s, box-shadow .3s; }
.jdg-service:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--jdg-accent) 45%, transparent); box-shadow: 0 30px 70px -30px var(--jdg-primary-glow); }
.jdg-service__title { font-size: 19px; font-weight: 700; margin: 22px 0 12px; }
.jdg-service__text { color: var(--jdg-muted-fg); font-size: 14.5px; line-height: 1.7; margin: 0 0 22px; flex: 1; }
@media (max-width: 960px) { .jdg-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .jdg-services__grid { grid-template-columns: 1fr; } }

.jdg-process__list { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.jdg-process__list::before {
	content: ""; position: absolute; left: 12%; right: 12%; top: 58px; height: 1px;
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--jdg-accent) 50%, transparent), transparent);
}
.jdg-step { padding: 28px 22px; text-align: center; }
.jdg-step__num {
	display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 18px;
	border-radius: 50%; position: relative; z-index: 1;
	background: var(--jdg-bg); border: 1px solid color-mix(in srgb, var(--jdg-accent) 45%, transparent);
	box-shadow: 0 0 0 6px color-mix(in srgb, var(--jdg-primary) 15%, transparent);
	font-family: var(--jdg-font-display); font-weight: 800; font-size: 18px; color: var(--jdg-accent);
}
.jdg-step__title { font-size: 18px; margin: 0 0 10px; }
.jdg-step__text { color: var(--jdg-muted-fg); font-size: 14px; line-height: 1.7; margin: 0; }
@media (max-width: 960px) { .jdg-process__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jdg-process__list::before { display: none; } }
@media (max-width: 560px) { .jdg-process__list { grid-template-columns: 1fr; } }

/* ==========================================================================
   12. Career scroller + toolkit
   ========================================================================== */
.jdg-career .jdg-heading { margin-bottom: 40px; }
.jdg-scroller {
	display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 6px max(var(--jdg-gutter), calc((100vw - var(--jdg-container)) / 2)) 24px;
	scroll-padding-inline: max(var(--jdg-gutter), calc((100vw - var(--jdg-container)) / 2));
	scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--jdg-accent) 50%, transparent) transparent;
	cursor: grab;
}
.jdg-scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.jdg-scroller::-webkit-scrollbar { height: 6px; }
.jdg-scroller::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--jdg-accent) 50%, transparent); border-radius: 6px; }
.jdg-role { flex: 0 0 clamp(260px, 30vw, 340px); scroll-snap-align: start; padding: 24px; box-shadow: none; user-select: none; }
.jdg-role__period { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--jdg-accent); margin: 0 0 12px; }
.jdg-role__company { font-size: 20px; margin: 0 0 4px; }
.jdg-role__title { color: var(--jdg-muted-fg); font-size: 14px; margin: 0 0 18px; }
.jdg-role__highlight { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px; border-radius: var(--jdg-radius); background: color-mix(in srgb, var(--jdg-bg) 60%, transparent); border: 1px solid var(--jdg-border); font-size: 14px; font-weight: 500; }
.jdg-role__highlight .jdg-icon { color: var(--jdg-accent); width: 18px; height: 18px; margin-top: 2px; }
.jdg-scroller__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.jdg-scroller__hint { margin: 0; font-size: 13px; color: var(--jdg-subtle-fg); }
.jdg-scroller__buttons { display: flex; gap: 8px; }

.jdg-tools .jdg-heading { margin-bottom: 40px; }
.jdg-tools__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.jdg-tools__track { display: flex; width: max-content; animation: jdg-marquee 45s linear infinite; }
.jdg-tools__viewport:hover .jdg-tools__track { animation-play-state: paused; }
.jdg-tools__list { display: flex; flex: none; gap: 16px; padding: 4px 16px 4px 0; margin: 0; list-style: none; }
.jdg-tool {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
	width: 160px; min-height: 148px; padding: 20px 14px; text-align: center;
	border-radius: var(--jdg-radius-lg); background: var(--jdg-card); border: 1px solid var(--jdg-border);
	transition: border-color .3s, transform .3s var(--jdg-ease);
}
.jdg-tool:hover { border-color: color-mix(in srgb, var(--jdg-accent) 45%, transparent); transform: translateY(-4px); }
.jdg-tool__badge {
	display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px;
	background: color-mix(in srgb, var(--jdg-primary) 22%, transparent); color: var(--jdg-accent);
	font-family: var(--jdg-font-display); font-weight: 800; font-size: 15px; overflow: hidden;
}
.jdg-tool__logo { width: 32px; height: 32px; object-fit: contain; }
.jdg-tool__name { font-size: 14px; font-weight: 600; line-height: 1.3; }

/* ==========================================================================
   13. Testimonials
   ========================================================================== */
.jdg-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.jdg-quote { display: flex; flex-direction: column; margin: 0; padding: 28px; }
.jdg-stars { display: inline-flex; gap: 3px; color: #fbbf24; font-size: 17px; line-height: 1; letter-spacing: 0; }
.jdg-star:not(.is-on) { color: rgba(255,255,255,.2); }
.jdg-quote__text { margin: 18px 0 24px; padding: 0; border: 0; flex: 1; }
.jdg-quote__text p { margin: 0; color: color-mix(in srgb, var(--jdg-fg) 82%, var(--jdg-muted-fg)); font-size: 15px; line-height: 1.75; }
.jdg-quote__by { padding-top: 18px; border-top: 1px solid var(--jdg-border); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.jdg-quote__by strong { font-family: var(--jdg-font-display); font-size: 16px; }
.jdg-quote__country { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 14px; }
.jdg-quote__source { width: 100%; font-size: 12px; color: var(--jdg-muted-fg); }
.jdg-rating-pill {
	display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
	margin: 40px auto 0; padding: 14px 26px; border-radius: var(--jdg-radius);
	border: 1px solid color-mix(in srgb, var(--jdg-accent) 35%, transparent); background: var(--jdg-accent-soft); font-size: 14px;
}
.jdg-rating-pill span:not(.jdg-star):not(.jdg-stars) { color: var(--jdg-muted-fg); }
@media (max-width: 960px) { .jdg-quotes { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

/* ==========================================================================
   14. Forms (audit + contact)
   ========================================================================== */
.jdg-audit__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); padding: clamp(24px, 4vw, 44px); background: linear-gradient(135deg, color-mix(in srgb, var(--jdg-primary) 16%, var(--jdg-card)), var(--jdg-card)); }
.jdg-audit .jdg-heading { margin-bottom: 24px; }
.jdg-audit .jdg-h2 { font-size: clamp(30px, 4vw, 42px); }
.jdg-checklist { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.jdg-checklist li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: color-mix(in srgb, var(--jdg-fg) 85%, var(--jdg-muted-fg)); }
.jdg-privacy { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--jdg-muted-fg); margin: 0; }
.jdg-privacy .jdg-icon { width: 16px; height: 16px; color: var(--jdg-accent); margin-top: 2px; }
.jdg-audit .jdg-form { padding: clamp(20px, 3vw, 28px); border-radius: var(--jdg-radius-lg); background: color-mix(in srgb, var(--jdg-bg) 65%, transparent); border: 1px solid var(--jdg-border); }
@media (max-width: 900px) { .jdg-audit__box { grid-template-columns: 1fr; } }

.jdg-form { position: relative; }
.jdg-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.jdg-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.jdg-field--full { grid-column: 1 / -1; }
.jdg-field label { font-size: 13px; font-weight: 500; color: color-mix(in srgb, var(--jdg-fg) 85%, var(--jdg-muted-fg)); }
.jdg-field input,
.jdg-field select,
.jdg-field textarea,
.jdg-search input {
	width: 100%; min-height: 48px; padding: 12px 14px;
	border-radius: var(--jdg-radius-sm); border: 1px solid var(--jdg-border-strong);
	background: var(--jdg-input); color: var(--jdg-fg); font-size: 15px;
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
.jdg-field textarea { min-height: 130px; resize: vertical; }
.jdg-field input::placeholder, .jdg-field textarea::placeholder, .jdg-search input::placeholder { color: var(--jdg-subtle-fg); opacity: 1; }
.jdg-field input:focus, .jdg-field select:focus, .jdg-field textarea:focus, .jdg-search input:focus {
	outline: 0; border-color: var(--jdg-accent); box-shadow: 0 0 0 4px var(--jdg-accent-soft);
}
.jdg-field.is-invalid input, .jdg-field.is-invalid select, .jdg-field.is-invalid textarea { border-color: #f87171; box-shadow: 0 0 0 4px rgba(248,113,113,.15); }
.jdg-field__error { font-size: 12px; color: #fca5a5; }
.jdg-select { position: relative; }
.jdg-select::after {
	content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
	border-right: 2px solid var(--jdg-muted-fg); border-bottom: 2px solid var(--jdg-muted-fg); transform: rotate(45deg); pointer-events: none;
}
.jdg-select select { padding-right: 40px; cursor: pointer; }
.jdg-select option { background: var(--jdg-bg); color: var(--jdg-fg); }
.jdg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.jdg-spin { display: none; width: 18px; height: 18px; animation: jdg-spin .8s linear infinite; }
.jdg-form.is-loading .jdg-spin { display: inline-block; }
.jdg-form.is-loading .jdg-btn__icon--lead { display: none; }
.jdg-form.is-loading button[type="submit"] { opacity: .8; pointer-events: none; }
.jdg-form__status:empty { display: none; }
.jdg-alert { margin: 16px 0 0; padding: 14px 16px; border-radius: var(--jdg-radius-sm); font-size: 14px; line-height: 1.5; }
.jdg-alert--ok { background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.4); color: #a7f3d0; }
.jdg-alert--ok a { color: #fff; font-weight: 600; text-decoration: underline; }
.jdg-alert--error { background: rgba(248,113,113,.12); border: 1px solid rgba(248,113,113,.4); color: #fecaca; }
.jdg-form.is-sent .jdg-form__grid, .jdg-form.is-sent button[type="submit"] { display: none; }
@media (max-width: 560px) { .jdg-form__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   15. FAQ
   ========================================================================== */
.jdg-faq__list { display: grid; gap: 12px; }
.jdg-faq__item { box-shadow: none; transition: border-color .25s, background-color .25s; }
.jdg-faq__item[open] { border-color: color-mix(in srgb, var(--jdg-accent) 40%, transparent); background: color-mix(in srgb, var(--jdg-primary) 10%, var(--jdg-card)); }
.jdg-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; }
.jdg-faq__q::-webkit-details-marker { display: none; }
.jdg-faq__q h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }
.jdg-faq__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--jdg-border-strong); color: var(--jdg-accent); transition: transform .3s var(--jdg-ease), background .3s; }
.jdg-faq__icon .jdg-icon { width: 16px; height: 16px; }
.jdg-faq__item[open] .jdg-faq__icon { transform: rotate(45deg); background: var(--jdg-accent-soft); }
.jdg-faq__a { padding: 0 22px 22px; overflow: hidden; }
.jdg-faq__a p { margin: 0; color: var(--jdg-muted-fg); font-size: 15px; line-height: 1.75; }

/* ==========================================================================
   16. Booking
   ========================================================================== */
.jdg-booking { background: radial-gradient(900px 400px at 50% 0%, color-mix(in srgb, var(--jdg-primary) 18%, transparent), transparent 70%); }
.jdg-booking__frame { position: relative; max-width: 960px; min-height: 700px; margin: 0 auto; overflow: hidden; background: var(--jdg-surface-2); }
.jdg-booking__frame iframe { position: relative; z-index: 1; display: block; width: 100%; height: 700px; border: 0; }
.jdg-booking__loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--jdg-muted-fg); font-size: 14px; }
.jdg-booking__loading .jdg-icon { width: 32px; height: 32px; color: var(--jdg-accent); animation: jdg-pulse 1.6s infinite; }
.jdg-booking__fallback { text-align: center; margin: 24px 0 0; font-size: 14px; }
.jdg-booking__fallback a { color: var(--jdg-muted-fg); text-decoration: underline; text-underline-offset: 3px; }
.jdg-booking__fallback a:hover { color: var(--jdg-fg); }
.jdg-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; margin: 24px 0 0; padding: 0; }
.jdg-points li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--jdg-border); background: rgba(255,255,255,.03); font-size: 14px; font-weight: 500; }
.jdg-points .jdg-icon { width: 16px; height: 16px; color: var(--jdg-accent); }
@media (max-width: 640px) { .jdg-booking__frame, .jdg-booking__frame iframe { min-height: 900px; height: 900px; } }

/* ==========================================================================
   17. About + contact
   ========================================================================== */
.jdg-about__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.jdg-about__media { max-width: 460px; width: 100%; }
.jdg-about__p { color: var(--jdg-muted-fg); font-size: 16px; line-height: 1.75; }
.jdg-badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 28px 0 0; padding: 0; }
.jdg-badges li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--jdg-border-strong); background: rgba(255,255,255,.03); font-size: 14px; font-weight: 600; }
.jdg-badges .jdg-icon { width: 16px; height: 16px; color: var(--jdg-accent); }
@media (max-width: 860px) { .jdg-about__grid { grid-template-columns: 1fr; } .jdg-about__media { margin-inline: auto; max-width: 380px; } }

.jdg-contact__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.jdg-contact__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.jdg-contact__item { display: flex; align-items: center; gap: 14px; padding: 18px; box-shadow: none; }
.jdg-contact__item small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--jdg-muted-fg); }
.jdg-contact__item a, .jdg-contact__item span > span { color: var(--jdg-fg); font-weight: 600; font-size: 15px; word-break: break-word; }
.jdg-contact__item a:hover { color: var(--jdg-accent); }
.jdg-contact__form { padding: clamp(22px, 3vw, 32px); }
@media (max-width: 860px) { .jdg-contact__grid { grid-template-columns: 1fr; } }

.jdg-social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.jdg-social a {
	display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px;
	border: 1px solid var(--jdg-border-strong); background: rgba(255,255,255,.03); color: var(--jdg-fg); transition: all .2s;
}
.jdg-social a:hover { border-color: var(--jdg-accent); background: var(--jdg-accent-soft); color: var(--jdg-fg); transform: translateY(-2px); }
.jdg-social .jdg-icon { width: 18px; height: 18px; }

/* ==========================================================================
   18. CTA banner
   ========================================================================== */
.jdg-cta {
	position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
	border-radius: var(--jdg-radius-xl);
	background: radial-gradient(600px 300px at 80% 0%, color-mix(in srgb, var(--jdg-accent) 55%, transparent), transparent 70%), linear-gradient(135deg, var(--jdg-primary), color-mix(in srgb, var(--jdg-primary) 50%, var(--jdg-bg)));
	box-shadow: 0 40px 100px -40px var(--jdg-primary-glow);
}
.jdg-cta .jdg-eyebrow { color: rgba(255,255,255,.8); }
.jdg-cta .jdg-lead { color: rgba(255,255,255,.85); max-width: 620px; margin: 0 auto 28px; }

/* ==========================================================================
   19. Footer
   ========================================================================== */
.jdg-footer { border-top: 1px solid var(--jdg-border); background: var(--jdg-bg-deep); padding-top: 56px; }
.jdg-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 40px; }
.jdg-footer__brand { max-width: 380px; }
.jdg-footer__tagline { color: var(--jdg-muted-fg); font-size: 14px; margin: 14px 0 18px; }
.jdg-footer__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(110px, auto)); gap: 12px 40px; }
.jdg-footer__list a { color: var(--jdg-muted-fg); font-size: 14px; }
.jdg-footer__list a:hover { color: var(--jdg-fg); }
.jdg-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid var(--jdg-border); font-size: 13px; color: var(--jdg-subtle-fg); }
.jdg-footer__bottom p { margin: 0; }
.jdg-footer__bottom a { color: var(--jdg-subtle-fg); }
.jdg-widget__title { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 560px) { .jdg-footer__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   20. Blog, pages & core blocks
   ========================================================================== */
.jdg-page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(32px, 5vw, 48px); background: radial-gradient(900px 400px at 80% -20%, color-mix(in srgb, var(--jdg-primary) 30%, transparent), transparent 65%); }
.jdg-page-hero__title { font-size: clamp(34px, 5vw, 56px); font-weight: 800; margin: 0; text-wrap: balance; }
.jdg-page-hero .jdg-lead { margin-top: 12px; }
.jdg-post-meta { color: var(--jdg-muted-fg); font-size: 14px; margin: 16px 0 0; }
.jdg-featured { margin-block: 0 40px; }
.jdg-featured img { border-radius: var(--jdg-radius-lg); width: 100%; }

.jdg-content { padding-bottom: var(--jdg-section-y); }
.jdg-content--sections { padding-bottom: 0; }
.jdg-content > *:not(.jdg-section):not(.alignfull):not(.alignwide) {
	max-width: 820px; margin-inline: auto; padding-inline: 0;
	width: calc(100% - var(--jdg-gutter) * 2);
}
.jdg-content > .alignwide { max-width: var(--jdg-container); margin-inline: auto; width: calc(100% - var(--jdg-gutter) * 2); }
.jdg-content > .alignfull { width: 100%; max-width: none; }
.jdg-content--wide > *:not(.jdg-section):not(.alignfull) { max-width: var(--jdg-container); }
.jdg-content :where(p, li):not(.jdg-section *) { color: color-mix(in srgb, var(--jdg-fg) 82%, var(--jdg-muted-fg)); font-size: 17px; line-height: 1.8; }
.jdg-content :where(h2):not(.jdg-section *) { font-size: clamp(26px, 3vw, 34px); margin-top: 1.6em; }
.jdg-content :where(h3):not(.jdg-section *) { font-size: clamp(21px, 2.4vw, 25px); margin-top: 1.4em; }
.jdg-content :where(a):not(.jdg-section *):not(.jdg-btn):not(.wp-block-button__link) { text-decoration: underline; text-underline-offset: 3px; }
.jdg-content :where(blockquote):not(.jdg-section *) { margin-block: 1.6em; padding: 4px 0 4px 22px; border-left: 3px solid var(--jdg-accent); }
.jdg-content :where(blockquote p):not(.jdg-section *) { font-size: 19px; color: var(--jdg-fg); }
.jdg-content :where(img):not(.jdg-section *) { border-radius: var(--jdg-radius); }
.jdg-content :where(pre, code):not(.jdg-section *) { background: var(--jdg-input); border-radius: 6px; font-size: .9em; }
.jdg-content :where(pre):not(.jdg-section *) { padding: 18px; overflow: auto; border: 1px solid var(--jdg-border); }
.jdg-content :where(code):not(.jdg-section *) { padding: 2px 6px; }
.jdg-content :where(table):not(.jdg-section *) { width: 100%; border-collapse: collapse; }
.jdg-content :where(th, td):not(.jdg-section *) { border: 1px solid var(--jdg-border); padding: 10px 12px; text-align: left; }
.jdg-content :where(hr):not(.jdg-section *) { border: 0; border-top: 1px solid var(--jdg-border); margin-block: 2.5em; }
.wp-block-button__link { background: var(--jdg-cta); color: var(--jdg-cta-ink); border-radius: var(--jdg-radius-sm); padding: 12px 22px; font-weight: 600; font-size: 15px; }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; border: 1px solid var(--jdg-border-strong); color: var(--jdg-fg); }
.wp-block-separator { border-color: var(--jdg-border); }
.wp-block-image figcaption, .wp-caption-text { color: var(--jdg-muted-fg); font-size: 13px; text-align: center; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.sticky, .bypostauthor, .gallery-caption, .wp-caption { max-width: 100%; }

.jdg-posts-wrap { padding-bottom: var(--jdg-section-y); }
.jdg-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.jdg-post-card { overflow: hidden; display: flex; flex-direction: column; box-shadow: none; transition: transform .35s var(--jdg-ease), border-color .3s; }
.jdg-post-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--jdg-accent) 45%, transparent); }
.jdg-post-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.jdg-post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.jdg-post-card__meta { font-size: 12px; color: var(--jdg-muted-fg); margin: 0 0 8px; }
.jdg-post-card__title { font-size: 20px; margin: 0 0 10px; }
.jdg-post-card__title a { color: var(--jdg-fg); }
.jdg-post-card__title a:hover { color: var(--jdg-accent); }
.jdg-post-card__excerpt { color: var(--jdg-muted-fg); font-size: 15px; flex: 1; }
@media (max-width: 960px) { .jdg-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .jdg-posts { grid-template-columns: 1fr; } }

.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers, .post-navigation a { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 8px 14px; border-radius: var(--jdg-radius-sm); border: 1px solid var(--jdg-border); color: var(--jdg-fg); font-weight: 500; }
.page-numbers.current { background: var(--jdg-primary); border-color: var(--jdg-primary); }
.post-navigation { margin-top: 48px; }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { flex-direction: column; align-items: flex-start; gap: 4px; max-width: 360px; }
.post-navigation .jdg-eyebrow { margin: 0; }
.jdg-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--jdg-border); font-size: 13px; color: var(--jdg-muted-fg); }

.jdg-search { display: flex; gap: 8px; }
.jdg-empty { padding: 40px; text-align: center; }
.jdg-404 { text-align: center; }
.jdg-404__code { font-family: var(--jdg-font-display); font-weight: 800; font-size: clamp(90px, 18vw, 160px); line-height: 1; margin: 0 0 12px; }
.jdg-404 .jdg-lead { margin-bottom: 28px; }

.jdg-comments { padding-block: 48px var(--jdg-section-y); border-top: 1px solid var(--jdg-border); }
.jdg-post-footer { padding-bottom: 48px; }
.jdg-content > ul:not(.jdg-section *), .jdg-content > ol:not(.jdg-section *) { padding-left: 1.3em; }
.jdg-comment-list { list-style: none; padding: 0; }
.jdg-comment-list .comment-body { padding: 18px; margin-bottom: 14px; border: 1px solid var(--jdg-border); border-radius: var(--jdg-radius); }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px; border-radius: var(--jdg-radius-sm); border: 1px solid var(--jdg-border-strong); background: var(--jdg-input); color: var(--jdg-fg); }
.comment-form .submit { background: var(--jdg-cta); color: var(--jdg-cta-ink); border: 0; padding: 12px 22px; border-radius: var(--jdg-radius-sm); font-weight: 600; cursor: pointer; }

/* ==========================================================================
   21. Animations
   ========================================================================== */
@keyframes jdg-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes jdg-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes jdg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes jdg-spin { to { transform: rotate(360deg); } }
@keyframes jdg-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.jdg-js .jdg-reveal { opacity: 1; transform: none; }
	.jdg-marquee__track, .jdg-tools__track { animation: none; }
	.jdg-marquee, .jdg-tools__viewport { overflow-x: auto; }
}

@media print {
	.jdg-header, .jdg-footer, .jdg-marquee, .jdg-booking, .jdg-form { display: none !important; }
	body { background: #fff; color: #000; }
	.jdg-js .jdg-reveal { opacity: 1; transform: none; }
}


/* ==========================================================================
   22. v1.1.0 — conversion & usability improvements
   ========================================================================== */

/* SEO keyword line inside the H1 */
.jdg-hero__kicker {
	display: block; margin-bottom: 14px;
	font-family: var(--jdg-font); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
	color: var(--jdg-accent);
}

/* Comfortable tap targets (WCAG 2.5.8 / mobile usability) */
.jdg-text-link { min-height: 44px; }
.jdg-contact__item a { display: inline-block; padding-block: 6px; }
.jdg-footer__list a { display: inline-block; padding-block: 8px; }
.jdg-footer__list { gap: 2px 40px; }
.jdg-booking__fallback a { display: inline-block; padding-block: 10px; }

/* Footer contact details */
.jdg-footer__contact { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 2px; }
.jdg-footer__contact li { display: flex; align-items: center; gap: 10px; }
.jdg-footer__contact .jdg-icon { width: 16px; height: 16px; color: var(--jdg-accent); }
.jdg-footer__contact a { display: inline-block; padding-block: 8px; color: var(--jdg-fg); font-size: 14px; font-weight: 500; }
.jdg-footer__contact a:hover { color: var(--jdg-accent); }

/* Form polish */
.jdg-optional { font-weight: 400; color: var(--jdg-subtle-fg); }
.jdg-download { margin-top: 14px; }
.jdg-rating-pill__link { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; font-weight: 600; color: var(--jdg-accent); }
.jdg-rating-pill__link .jdg-icon { width: 14px; height: 14px; }

/* Swipeable rows on mobile: shorter page, content still fully available */
@media (max-width: 620px) {
	.jdg-cases__grid,
	.jdg-quotes {
		display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
		margin-inline: calc(var(--jdg-gutter) * -1); padding: 4px var(--jdg-gutter) 18px;
		scroll-padding-inline: var(--jdg-gutter); scrollbar-width: none;
	}
	.jdg-cases__grid::-webkit-scrollbar, .jdg-quotes::-webkit-scrollbar { display: none; }
	.jdg-cases__grid > li { flex: 0 0 86%; scroll-snap-align: start; }
	.jdg-quotes > .jdg-quote { flex: 0 0 88%; scroll-snap-align: start; }
	.jdg-quotes { max-width: none; }
	.jdg-js .jdg-cases__grid > li.jdg-reveal, .jdg-js .jdg-quotes > .jdg-reveal { opacity: 1; transform: none; }
	.jdg-swipe-hint { display: flex; }
	.jdg-service { padding: 22px; }
	.jdg-service__title { margin-top: 16px; }
	.jdg-step { padding: 22px 18px; }
	.jdg-step__num { width: 48px; height: 48px; font-size: 16px; margin-bottom: 12px; }
}
.jdg-swipe-hint { display: none; align-items: center; justify-content: center; gap: 6px; margin: 4px 0 0; font-size: 12px; color: var(--jdg-subtle-fg); }
.jdg-swipe-hint .jdg-icon { width: 14px; height: 14px; }

/* WhatsApp floating button (desktop/tablet) */
.jdg-wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 90;
	display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px 0 16px;
	border-radius: 999px; background: var(--jdg-wa); color: #fff; font-weight: 600; font-size: 14px;
	box-shadow: 0 14px 34px -10px rgba(21, 128, 61, .65);
	transition: transform .25s var(--jdg-ease), box-shadow .25s;
}
.jdg-wa-float:hover { color: #fff; background: #166534; transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(21, 128, 61, .75); }
.jdg-wa-float .jdg-icon { width: 24px; height: 24px; }
@media (max-width: 1100px) { .jdg-wa-float__label { display: none; } .jdg-wa-float { width: 54px; padding: 0; justify-content: center; } }

/* Sticky mobile action bar */
.jdg-sticky-cta { display: none; }
@media (max-width: 760px) {
	.jdg-wa-float { display: none; }
	.jdg-sticky-cta {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
		display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
		background: color-mix(in srgb, var(--jdg-bg) 92%, transparent);
		-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
		border-top: 1px solid var(--jdg-border);
		transform: translateY(110%); transition: transform .35s var(--jdg-ease);
	}
	.jdg-sticky-cta.is-visible { transform: none; }
	.jdg-sticky-cta .jdg-btn { flex: 1; min-height: 48px; padding: 10px 12px; font-size: 15px; }
	body.jdg-sticky-on .jdg-footer { padding-bottom: 76px; }
}
.jdg-btn--wa { background: var(--jdg-wa); color: #fff; }
.jdg-btn--wa:hover { color: #fff; background: #166534; }

@media print { .jdg-sticky-cta, .jdg-wa-float { display: none !important; } }


/* ==========================================================================
   23. v1.2.0 — light sections (page rhythm) & colour refinements
   ========================================================================== */
.jdg-section--light {
	--jdg-fg: #0b1b33;
	--jdg-muted-fg: #46566e;
	--jdg-subtle-fg: #5b6a80;
	--jdg-accent: #1756c2;
	--jdg-accent-soft: rgba(23, 86, 194, .08);
	--jdg-bg: #ffffff;
	--jdg-card: #ffffff;
	--jdg-border: rgba(6, 30, 65, .10);
	--jdg-border-strong: rgba(6, 30, 65, .18);
	--jdg-shadow: 0 18px 40px -24px rgba(6, 30, 65, .28);
	--jdg-primary-glow: rgba(37, 90, 224, .22);
	background: #f3f6fb !important;
	color: var(--jdg-fg);
	border-top: 0 !important;
}
.jdg-section--light + .jdg-section { border-top: 0; }
.jdg-section--light .jdg-card { -webkit-backdrop-filter: none; backdrop-filter: none; }
.jdg-section--light .jdg-pill,
.jdg-section--light .jdg-round-btn,
.jdg-section--light .jdg-points li,
.jdg-section--light .jdg-badges li { background: #fff; }
.jdg-section--light .jdg-star { color: #c27a00; }
.jdg-section--light .jdg-star:not(.is-on) { color: rgba(6, 30, 65, .18); }
.jdg-section--light .jdg-rating-pill { background: #fff; border-color: var(--jdg-border-strong); box-shadow: var(--jdg-shadow); }
.jdg-section--light .jdg-step__num { background: #fff; box-shadow: 0 0 0 6px rgba(37, 90, 224, .08); }
.jdg-section--light .jdg-icon-box { background: rgba(37, 90, 224, .10); border-color: rgba(37, 90, 224, .20); }
.jdg-section--light .jdg-tag { color: var(--jdg-accent); border-color: rgba(23, 86, 194, .28); }
.jdg-section--light .jdg-faq__item[open] { background: #fff; }
.jdg-section--light .jdg-role__highlight { background: #f3f6fb; }
.jdg-section--light .jdg-tools__viewport .jdg-tool { box-shadow: var(--jdg-shadow); }
.jdg-section--light .jdg-scroller { scrollbar-color: rgba(23, 86, 194, .4) transparent; }
.jdg-section--light .jdg-service:hover,
.jdg-section--light .jdg-case:hover { box-shadow: 0 26px 50px -26px rgba(6, 30, 65, .35); }
