/* ==========================================================================
   Digital Wolf Blocks — shared design tokens + section styles
   Mirrors the Pencil "Digital Wolf — Landing v4 (Light)" design.
   ========================================================================== */

:root {
	--dw-bg: #f6f8fc;
	--dw-bg-2: #ebeff6;
	--dw-surface: #f7fafc;
	--dw-panel: #ffffff;
	--dw-text: #172033;
	--dw-dim: #4c5568;
	--dw-faint: #556070; /* darkened twice from design #8B94A6: AA (>=4.5:1) even on tinted surfaces like the footer box */
	--dw-muted: #59647a;
	--dw-border: rgba(12, 17, 27, 0.12);
	--dw-border-strong: rgba(12, 17, 27, 0.2);
	--dw-accent: #2563eb;
	--dw-accent-2: #6366f1;
	--dw-accent-3: #a855f7;
	--dw-accent-soft: #dbeafe;
	--dw-indigo: #4f46e5;
	--dw-success: #0e9f6e;
	--dw-cyan: #0e7490;
	--dw-star: #f5b83d;
	--dw-font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
	--dw-font-body: "Inter", system-ui, sans-serif;
	--dw-font-mono: "JetBrains Mono", ui-monospace, monospace;
	--dw-maxw: 1200px;
	--dw-radius: 16px;
}

/* ---- Base / reset within DW sections ---- */
.dw-section {
	font-family: var(--dw-font-body);
	color: var(--dw-text);
	width: 100%;
	box-sizing: border-box;
}
.dw-section * {
	box-sizing: border-box;
}
.dw-section--bg {
	background: var(--dw-bg);
}
.dw-section--bg2 {
	background: var(--dw-bg-2);
}
.dw-container {
	max-width: var(--dw-maxw);
	margin-inline: auto;
	padding-inline: 24px;
}
.dw-section--pad {
	padding-block: 92px;
}

/* ---- Typography helpers ---- */
.dw-eyebrow {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	gap: 9px;
	font-family: var(--dw-font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid var(--dw-border);
	background: var(--dw-surface);
	/* #1d4ed8 (not --dw-accent): AA contrast on the --soft #dbeafe pill. */
	color: #1d4ed8;
}
.dw-eyebrow svg { display: block; }
.dw-eyebrow--soft {
	background: var(--dw-accent-soft);
	border-color: rgba(34, 211, 238, 0.3);
}
.dw-h2 {
	font-family: var(--dw-font-head);
	font-weight: 600;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0;
	color: var(--dw-text);
}
.dw-lead {
	font-size: 17px;
	line-height: 1.55;
	color: var(--dw-dim);
	margin: 0;
}
.dw-grad {
	background-image: linear-gradient(90deg, var(--dw-accent), var(--dw-accent-2) 55%, var(--dw-accent-3));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.dw-header-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 18px;
}
.dw-header-stack .dw-lead { max-width: 620px; }
.dw-list .dw-header-stack .dw-lead { max-width: 100%; }

/* ---- Buttons ---- */
.dw-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--dw-font-head);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	padding: 14px 22px;
	border-radius: 12px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	line-height: 1;
}
.dw-btn svg { display: block; }
.dw-btn--primary {
	background: var(--dw-indigo);
	color: #fff;
	box-shadow: 0 6px 18px -4px rgba(79, 70, 229, 0.45);
}
.dw-btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px -6px rgba(79, 70, 229, 0.55);
}
.dw-btn--ghost {
	background: transparent;
	color: var(--dw-text);
	border: 1px solid var(--dw-border-strong);
}
.dw-btn--ghost:hover { background: rgba(12, 17, 27, 0.04); }

/* ---- Card base ---- */
.dw-card {
	background: var(--dw-surface);
	border: 1px solid var(--dw-border);
	border-radius: var(--dw-radius);
	box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.16), 0 2px 6px -3px rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   HEADER / TOP NAV
   ========================================================================== */
.dw-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding-block: 22px;
}
.dw-logo {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
	color: var(--dw-text);
}
.dw-logo__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.dw-logo__mark svg { display: block; }
.dw-logo__word {
	font-family: var(--dw-font-head);
	font-weight: 700;
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.dw-nav {
	display: flex;
	align-items: center;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.dw-nav a {
	font-size: 15px;
	color: var(--dw-dim);
	text-decoration: none;
}
.dw-nav a:hover { color: var(--dw-text); }
.dw-nav__has { position: relative; }
.dw-nav__has > a { display: inline-flex; align-items: center; gap: 5px; }
.dw-nav__has > a svg { opacity: 0.5; transform: rotate(90deg); transition: transform 0.15s ease; }
.dw-nav__has:hover > a svg, .dw-nav__has:focus-within > a svg { transform: rotate(-90deg); }
.dw-nav__sub {
	position: absolute; top: 100%; left: 50%; z-index: 60;
	min-width: 224px; margin: 0; padding: 8px; list-style: none;
	background: var(--dw-panel); border: 1px solid var(--dw-border); border-radius: 14px;
	box-shadow: 0 18px 44px -16px rgba(15, 23, 42, 0.28);
	opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.dw-nav__sub::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dw-nav__has:hover .dw-nav__sub, .dw-nav__has:focus-within .dw-nav__sub { opacity: 1; visibility: visible; transform: translateX(-50%); }
.dw-nav__sub li { margin: 0; }
.dw-nav__sub a { display: block; padding: 10px 12px; border-radius: 9px; font-size: 14px; color: var(--dw-dim) !important; white-space: nowrap; }
.dw-nav__sub a:hover { background: var(--dw-surface); color: var(--dw-text) !important; }
.dw-header__right { display: flex; align-items: center; gap: 18px; }
/* CTA button and language switcher share the same height in the header. */
.dw-header__right .dw-btn,
.dw-header__right .dw-langsw > .dw-lang-pill,
.dw-header__right > .dw-lang-pill {
	min-height: 46px;
	padding-top: 0;
	padding-bottom: 0;
}
.dw-lang-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 12px;
	border: 1px solid var(--dw-border);
	background: rgba(12, 17, 27, 0.03);
	font-family: var(--dw-font-mono);
	font-size: 12px;
	font-weight: 600;
	color: var(--dw-text);
}
.dw-lang-pill svg { color: var(--dw-dim); }

/* Language switcher (Polylang) */
.dw-langsw { position: relative; }
.dw-langsw > .dw-lang-pill { cursor: pointer; }
/* Keep the pill readable in every state (the theme tries to recolour <button>). */
.dw-lang-pill,
.dw-lang-pill:hover,
.dw-lang-pill:focus,
.dw-lang-pill:focus-visible,
.dw-lang-pill:active {
	background: var(--dw-surface) !important;
	color: var(--dw-text) !important;
	border-color: var(--dw-border-strong) !important;
}
.dw-lang-pill > span,
.dw-lang-pill > svg { color: var(--dw-text) !important; }
.dw-langsw:hover > .dw-lang-pill,
.dw-langsw:focus-within > .dw-lang-pill { background: var(--dw-panel-muted) !important; }
.dw-langsw > .dw-lang-pill svg:last-child { transform: rotate(90deg); opacity: 0.55; }
.dw-langsw__menu {
	position: absolute; top: calc(100% + 8px); right: 0; z-index: 50;
	min-width: 168px; margin: 0; padding: 6px; list-style: none;
	background: var(--dw-panel); border: 1px solid var(--dw-border); border-radius: 12px;
	box-shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.25);
	opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.dw-langsw:hover .dw-langsw__menu,
.dw-langsw:focus-within .dw-langsw__menu { opacity: 1; visibility: visible; transform: none; }
.dw-langsw--up { width: fit-content; }
.dw-langsw--up .dw-lang-pill { width: 100%; }
.dw-langsw--up .dw-langsw__menu { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; transform: translateY(4px); }
.dw-langsw--up:hover .dw-langsw__menu,
.dw-langsw--up:focus-within .dw-langsw__menu { transform: none; }
.dw-langsw__menu li { margin: 0; }
.dw-langsw__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--dw-text) !important; }
.dw-langsw__menu a:hover { background: var(--dw-surface); }
.dw-langsw__menu a[aria-current="true"] { background: var(--dw-accent-soft); }
.dw-langsw__code { font-family: var(--dw-font-mono); font-size: 12px; font-weight: 600; color: var(--dw-accent-2); }
.dw-langsw__flag { font-size: 16px; line-height: 1; }
.dw-langsw__name { font-size: 14px; }
.dw-footer__langs .dw-lang-chip { gap: 8px; }
.dw-footer__langs .dw-lang-chip__flag { font-size: 15px; line-height: 1; }
.dw-footer__langs .dw-lang-chip__name { font-size: 13px; color: var(--dw-dim); }
.dw-footer__langs a.dw-lang-chip:hover .dw-lang-chip__name { color: var(--dw-text); }

/* ==========================================================================
   HERO
   ========================================================================== */
.dw-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: center;
	gap: 48px;
	padding-block: 64px 96px;
}
.dw-hero__text { display: flex; flex-direction: column; gap: 30px; max-width: 660px; }
.dw-hero__emblem { display: grid; place-items: center; }
.dw-hero__emblem-mark {
	width: min(420px, 100%);
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 40%, rgba(99, 102, 241, 0.14), rgba(168, 85, 247, 0.04) 60%, transparent 75%);
}
.dw-hero__emblem-mark svg { width: 78%; height: auto; filter: drop-shadow(0 8px 30px rgba(99, 102, 241, 0.22)); }
.dw-hero__emblem-mark--img { background: none; border-radius: 28px; overflow: hidden; box-shadow: 0 24px 60px -20px rgba(26, 35, 54, 0.25); aspect-ratio: auto; }
.dw-hero__emblem-mark--img img { width: 100%; height: auto; display: block; }
.dw-hero__headline {
	font-family: var(--dw-font-head);
	font-weight: 700;
	font-size: clamp(38px, 5.2vw, 60px);
	line-height: 1.04;
	margin: 0;
	color: var(--dw-text);
}
.dw-hero__headline span { display: block; }
.dw-hero__sub { font-size: 17px; line-height: 1.55; color: var(--dw-dim); max-width: 560px; margin: 0; }
.dw-hero__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.dw-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.dw-service {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px 30px 26px;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.dw-service:hover {
	transform: translateY(-4px);
	border-color: rgba(37, 99, 235, 0.35);
	box-shadow: 0 22px 44px -18px rgba(15, 23, 42, 0.28), 0 4px 10px -4px rgba(15, 23, 42, 0.1);
}
.dw-badge {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	border: 1px solid var(--dw-border);
}
.dw-badge--blue { background: var(--dw-accent-soft); color: var(--dw-cyan); border-color: rgba(34, 211, 238, 0.4); }
.dw-badge--indigo { background: rgba(99, 102, 241, 0.08); color: var(--dw-accent-2); border-color: rgba(99, 102, 241, 0.25); }
.dw-badge--purple { background: rgba(168, 85, 247, 0.08); color: var(--dw-accent-3); border-color: rgba(168, 85, 247, 0.25); }
.dw-service__title { font-family: var(--dw-font-head); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; margin: 4px 0 0; }
.dw-service__desc { font-size: 14.5px; line-height: 1.5; color: var(--dw-dim); margin: 0; }
.dw-feature-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.dw-feature-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.4; }
.dw-feature-list svg { flex: none; }
.dw-fi--blue svg { color: var(--dw-cyan); }
.dw-fi--indigo svg { color: var(--dw-accent-2); }
.dw-fi--purple svg { color: var(--dw-accent-3); }
.dw-service__more {
	display: flex; align-items: center; gap: 7px;
	margin-top: auto; margin-inline: -30px; margin-bottom: -26px; padding: 16px 30px; border-top: 1px solid var(--dw-border);
	font-size: 13.5px; font-weight: 600; color: var(--dw-accent); text-decoration: none;
}
.dw-service__more svg { transition: transform 0.15s ease; }
.dw-service__more:hover svg { transform: translateX(3px); }
.dw-feature-list { margin-bottom: 10px; }

/* ==========================================================================
   AUTOMATION (process trail)
   ========================================================================== */
.dw-automation__inner { display: flex; flex-direction: column; align-items: center; gap: 56px; }
.dw-trail {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	position: relative;
}
.dw-trail::before {
	content: "";
	position: absolute;
	top: 32px;
	left: 8%;
	right: 8%;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--dw-accent), var(--dw-accent-2) 50%, var(--dw-accent-3));
	opacity: 0.45;
	z-index: 0;
}
.dw-stage { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; position: relative; z-index: 1; }
.dw-stage__marker {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--dw-surface);
	border: 1.5px solid var(--dw-accent);
	box-shadow: 0 4px 14px -2px rgba(12, 17, 27, 0.15);
	margin-bottom: 8px;
}
.dw-stage:nth-child(2) .dw-stage__marker { border-color: var(--dw-accent-2); color: var(--dw-accent-2); }
.dw-stage:nth-child(3) .dw-stage__marker { border-color: var(--dw-accent-3); color: var(--dw-accent-3); }
.dw-stage:nth-child(4) .dw-stage__marker { border-color: var(--dw-success); color: var(--dw-success); }
.dw-stage:nth-child(1) .dw-stage__marker { color: var(--dw-accent); }
.dw-stage__index { font-family: var(--dw-font-mono); font-size: 12px; letter-spacing: 0.16em; color: var(--dw-accent); }
.dw-stage:nth-child(2) .dw-stage__index { color: var(--dw-accent-2); }
.dw-stage:nth-child(3) .dw-stage__index { color: var(--dw-accent-3); }
.dw-stage:nth-child(4) .dw-stage__index { color: var(--dw-success); }
.dw-stage__title { font-family: var(--dw-font-head); font-weight: 600; font-size: 19px; margin: 0; }
.dw-stage__desc { font-size: 13.5px; line-height: 1.45; color: var(--dw-dim); margin: 0; max-width: 230px; }
.dw-metrics-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 880px;
	width: 100%;
	padding: 26px 44px;
	border-radius: 18px;
}
.dw-metric { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.dw-metric__value { font-family: var(--dw-font-head); font-weight: 700; font-size: 38px; }
.dw-metric__value.dw-grad { background-image: linear-gradient(115deg, var(--dw-accent), var(--dw-accent-3)); }
.dw-metric__label { font-size: 14px; color: var(--dw-dim); }
.dw-vrule { width: 1px; align-self: stretch; background: var(--dw-border); }
.dw-cta-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dw-cta-wrap__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.dw-cta-note { font-family: var(--dw-font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--dw-faint); }

/* ==========================================================================
   CONTENT NETWORK
   ========================================================================== */
.dw-network__inner { display: flex; flex-direction: column; align-items: center; gap: 56px; }
.dw-media-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; }
.dw-media {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
}
.dw-media__top { display: flex; flex-direction: column; gap: 18px; }
.dw-media__row { display: flex; align-items: center; justify-content: space-between; }
.dw-iconbox {
	width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
	background: var(--dw-accent-soft); color: var(--dw-accent); border: 1px solid rgba(34, 211, 238, 0.3);
}
.dw-iconbox svg { display: block; }
.dw-media__index { font-family: var(--dw-font-mono); font-size: 13px; color: var(--dw-faint); }
.dw-eyebrow-mono { font-family: var(--dw-font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--dw-accent); }
.dw-media__name { font-family: var(--dw-font-head); font-weight: 600; font-size: 23px; margin: 6px 0 0; }
.dw-media__desc { font-size: 14px; line-height: 1.5; color: var(--dw-dim); margin: 0; }
.dw-media__stats { display: flex; gap: 28px; padding-top: 14px; border-top: 1px solid var(--dw-border); }
.dw-stat__value { font-family: var(--dw-font-head); font-weight: 600; font-size: 28px; }
.dw-stat__label { font-family: var(--dw-font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--dw-faint); margin-top: 4px; }
.dw-summary {
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
	width: 100%; padding: 24px 32px; border-radius: 16px;
}
.dw-summary__totals { display: flex; align-items: center; gap: 40px; }
.dw-total__value { font-family: var(--dw-font-head); font-weight: 700; font-size: 30px; }
.dw-total__label { font-family: var(--dw-font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--dw-faint); margin-top: 5px; }

/* Advertising offer (inside content-network) */
.dw-offer { display: flex; flex-direction: column; gap: 32px; width: 100%; }
.dw-offer__heading { font-family: var(--dw-font-head); font-weight: 600; font-size: 28px; text-align: center; margin: 0; color: var(--dw-text); }
.dw-offer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dw-offer__card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 26px 24px; }
.dw-offer__title { font-family: var(--dw-font-head); font-weight: 600; font-size: 19px; color: var(--dw-text); margin: 4px 0 0; }
.dw-offer__desc { font-size: 14px; line-height: 1.55; color: var(--dw-dim); margin: 0; }
.dw-offer__ctabox {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
	padding: 26px 24px; text-decoration: none; border-color: transparent;
	background: var(--dw-indigo); color: #fff !important;
	box-shadow: 0 12px 30px -10px rgba(79, 70, 229, 0.45);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dw-offer__ctabox:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(79, 70, 229, 0.6); }
.dw-offer__ctabox .dw-iconbox { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.dw-offer__ctabox-title { font-family: var(--dw-font-head); font-weight: 700; font-size: 19px; margin-top: 4px; }
.dw-offer__ctabox-sub { font-size: 13.5px; color: rgba(255, 255, 255, 0.85); }
.dw-offer__ctabox > svg { color: #fff; margin-top: 2px; }
@media (max-width: 980px) { .dw-offer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .dw-offer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.dw-portfolio__head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px;
}
.dw-portfolio__head .dw-h2 { text-align: left; }
.dw-portfolio__hl { max-width: 900px; display: flex; flex-direction: column; gap: 16px; }
.dw-portfolio__hl .dw-lead { max-width: 100%; }
.dw-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dw-work { overflow: hidden; display: flex; flex-direction: column; }
.dw-work__thumb { height: 188px; background: linear-gradient(135deg, #dbeafe, #ede9fe); background-size: cover; background-position: center; }
.dw-work__body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 9px; padding: 20px 22px 22px; }
.dw-work__title { font-family: var(--dw-font-head); font-weight: 600; font-size: 20px; line-height: 1.2; margin: 0; }
.dw-work__desc { font-size: 14px; line-height: 1.5; color: var(--dw-dim); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dw-morelink { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding: 16px 22px; border-top: 1px solid var(--dw-border); text-decoration: none; font-family: var(--dw-font-head); font-weight: 600; font-size: 15px; color: var(--dw-accent); }
.dw-morelink svg { transition: transform 0.18s ease; }
a.dw-work:hover .dw-morelink svg { transform: translateX(3px); }
.dw-chip {
	display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px;
	background: var(--dw-accent-soft); color: var(--dw-accent); border: 1px solid rgba(34, 211, 238, 0.3);
	font-family: var(--dw-font-mono); font-size: 12px; font-weight: 500;
}
.dw-link {
	display: inline-flex; align-items: center; gap: 5px; text-decoration: none;
	font-family: var(--dw-font-head); font-weight: 600; font-size: 13px; color: var(--dw-text);
}
.dw-allbtn {
	display: inline-flex; align-items: center; gap: 8px; flex: none;
	padding: 13px 20px; border-radius: 12px; background: var(--dw-surface);
	border: 1px solid var(--dw-border-strong); text-decoration: none;
	font-family: var(--dw-font-head); font-weight: 600; font-size: 14px; color: var(--dw-text);
}

/* ==========================================================================
   STATS
   ========================================================================== */
.dw-stats-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dw-bigstat { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1; padding-inline: 16px; text-align: center; }
.dw-bigstat__num { font-family: var(--dw-font-head); font-weight: 600; font-size: clamp(40px, 5vw, 58px); letter-spacing: -0.02em; }
.dw-bigstat__num.dw-grad { background-image: linear-gradient(115deg, var(--dw-accent), var(--dw-accent-3)); }
.dw-bigstat__label { font-family: var(--dw-font-mono); font-size: 12px; letter-spacing: 0.12em; line-height: 1.4; color: var(--dw-dim); }
.dw-hairline { width: 1px; height: 72px; background: var(--dw-border); flex: none; }

/* ==========================================================================
   LANGUAGES
   ========================================================================== */
.dw-languages__inner { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.dw-lang-eyebrow { font-family: var(--dw-font-mono); font-size: 13px; letter-spacing: 0.22em; color: var(--dw-accent-2); }
.dw-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 760px; }
.dw-lang-chip {
	display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
	background: var(--dw-surface); border: 1px solid var(--dw-border-strong);
	box-shadow: 0 2px 10px -1px rgba(12, 17, 27, 0.1);
}
.dw-lang-chip__code { font-family: var(--dw-font-mono); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; color: var(--dw-accent-2); }
.dw-lang-chip__flag { font-size: 18px; line-height: 1; }
.dw-lang-chip__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--dw-faint); }
.dw-lang-chip__name { font-size: 14px; color: var(--dw-text); }

/* ==========================================================================
   REFERENCES
   ========================================================================== */
.dw-references__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.dw-testi {
	display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
	padding: 28px; min-height: 300px;
}
.dw-stars { display: flex; gap: 3px; color: var(--dw-star); }
.dw-testi__quote { font-size: 15px; line-height: 1.55; margin: 0; color: var(--dw-text); }
.dw-person { display: flex; align-items: center; gap: 12px; }
.dw-avatar {
	width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center;
	background: var(--dw-indigo); color: #fff; font-family: var(--dw-font-head); font-weight: 700; font-size: 15px;
}
.dw-avatar--photo { object-fit: cover; background: none; padding: 0; }
.dw-person__name { font-family: var(--dw-font-head); font-weight: 700; font-size: 15px; }
.dw-person__role { font-size: 13px; color: var(--dw-faint); }
.dw-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }
.dw-trust__label { font-family: var(--dw-font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--dw-faint); }
.dw-trust__logo { font-family: var(--dw-font-head); font-weight: 700; font-size: 18px; color: var(--dw-dim); }

/* Testimonials slider (0..N) */
.dw-testi-slider { position: relative; width: 100%; }
.dw-testi-track {
	display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
	scroll-behavior: smooth; padding: 4px; margin: -4px;
	scrollbar-width: none; -ms-overflow-style: none;
}
.dw-testi-track::-webkit-scrollbar { display: none; }
.dw-testi-track .dw-testi { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; }
.dw-slide-btn {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
	width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
	appearance: none; -webkit-appearance: none; padding: 0; margin: 0; line-height: 0;
	background: var(--dw-panel) !important; border: 1px solid var(--dw-border-strong);
	display: flex; align-items: center; justify-content: center; color: var(--dw-text) !important;
	box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.28);
	transition: background 0.15s ease, transform 0.15s ease;
}
.dw-slide-btn svg { display: block; }
.dw-slide-btn:hover { background: var(--dw-surface) !important; }
.dw-slide-btn--prev { left: -14px; }
.dw-slide-btn--next { right: -14px; }
.dw-slide-btn--prev svg { transform: rotate(180deg); }
.dw-slide-btn[hidden] { display: none; }
@media (max-width: 900px) {
	.dw-testi-track .dw-testi { flex-basis: calc((100% - 24px) / 2); }
	.dw-slide-btn--prev { left: 4px; }
	.dw-slide-btn--next { right: 4px; }
}
@media (max-width: 640px) {
	.dw-testi-track .dw-testi { flex-basis: 86%; }
}

/* ==========================================================================
   CTA
   ========================================================================== */
.dw-cta { position: relative; overflow: hidden; }
.dw-cta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-block: 110px; }
.dw-cta__headline { font-family: var(--dw-font-head); font-weight: 700; font-size: clamp(34px, 4.6vw, 50px); line-height: 1.06; letter-spacing: -0.02em; margin: 0; max-width: 680px; }
.dw-cta__headline span { display: block; }
.dw-cta__sub { font-size: 16px; line-height: 1.55; color: var(--dw-dim); max-width: 540px; margin: 0; }
.dw-cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding-top: 8px; }
.dw-cta__buttons .dw-btn--ghost { background: var(--dw-surface); border-color: var(--dw-border-strong); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.dw-footer { background: var(--dw-bg-2); }
.dw-footer__inner { padding-block: 60px 28px; }
.dw-footer__top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 40px 48px; align-items: start; padding-bottom: 48px; }
@media (max-width: 900px) { .dw-footer__top { grid-template-columns: 1fr 1fr; } }

.dw-footer__brand { max-width: 320px; display: flex; flex-direction: column; gap: 18px; }
.dw-footer__tagline { font-size: 14px; line-height: 1.55; color: var(--dw-dim); margin: 0; }
.dw-social { display: flex; gap: 10px; padding-top: 4px; }
.dw-social a {
	width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
	background: var(--dw-surface); border: 1px solid var(--dw-border); color: var(--dw-dim); text-decoration: none;
}
.dw-social a:hover { color: var(--dw-text); border-color: var(--dw-border-strong); }
.dw-footer__col.dw-footer__company {
	gap: 14px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--dw-dim);
	border: 1px solid var(--dw-border);
	border-radius: 14px;
	padding: 20px 22px;
}
.dw-footer__company-name { font-weight: 600; color: var(--dw-text); }
.dw-footer__company-address { font-style: normal; display: flex; flex-direction: column; gap: 2px; }
.dw-footer__company-ids { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; }
.dw-footer__company-ids div { display: flex; gap: 6px; }
.dw-footer__company-ids dt { margin: 0; color: var(--dw-faint); }
.dw-footer__company-ids dd { margin: 0; color: var(--dw-text); font-variant-numeric: tabular-nums; }
.dw-footer__company-contact { display: flex; flex-direction: column; gap: 8px; }
.dw-footer__company-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--dw-text); text-decoration: none; }
.dw-footer__company-contact a:hover { color: var(--dw-accent); }
.dw-footer__company-contact svg { display: block; flex: none; color: var(--dw-accent); }
.dw-footer__col { display: flex; flex-direction: column; gap: 15px; }
.dw-footer__col .dw-footer__hd { font-family: var(--dw-font-head); font-weight: 700; font-size: 14px; margin: 0; color: var(--dw-text); }
.dw-footer__col a { font-size: 14px; color: var(--dw-dim); text-decoration: none; }
.dw-footer__col a:hover { color: var(--dw-text); }
.dw-footer__divider { height: 1px; background: var(--dw-border); }
.dw-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding-top: 24px; }
.dw-footer__bottom-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.dw-footer__copy { font-size: 13px; color: var(--dw-faint); }
.dw-footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.dw-footer__legal a { font-size: 13px; color: var(--dw-faint); text-decoration: none; }
.dw-footer__legal a:hover { color: var(--dw-text); }
.dw-footer__langs { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.dw-footer__langs .dw-lang-chip { width: 100%; justify-content: flex-start; padding: 8px 14px; text-decoration: none; transition: border-color 0.15s ease, background 0.15s ease; }
.dw-footer__langs .dw-lang-chip__code { font-size: 12px; }
.dw-footer__langs a.dw-lang-chip:hover { border-color: var(--dw-accent-2); background: var(--dw-panel); }
.dw-footer__langs .dw-lang-chip.is-active { border-color: var(--dw-accent-2); background: var(--dw-accent-soft); }

/* ==========================================================================
   COOKIE BAR (styled to match the brand; logic stays in the child theme)
   ========================================================================== */
.dw-cookie {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	background: var(--dw-surface);
	border-top: 1px solid var(--dw-border);
	box-shadow: 0 -12px 32px -14px rgba(15, 23, 42, 0.22);
	transform: translateY(0);
	transition: transform 0.5s ease;
	font-family: var(--dw-font-body);
}
.dw-cookie--hidden { transform: translateY(110%); }
.dw-cookie__inner {
	max-width: var(--dw-maxw);
	margin-inline: auto;
	padding: 10px 16px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}
.dw-cookie__text { display: flex; align-items: flex-start; gap: 12px; }
.dw-cookie__icon { color: var(--dw-accent); flex: none; margin-top: 1px; }
.dw-cookie__icon svg { display: block; }
.dw-cookie__msg { font-size: 12.5px; line-height: 1.4; color: var(--dw-dim); margin: 0; }
.dw-cookie__actions { display: flex; gap: 10px; flex: none; }
.dw-cookie__actions .dw-btn { padding: 9px 16px; font-size: 13.5px; flex: 1 1 auto; justify-content: center; }
.dw-cookie__actions .dw-btn--ghost { background: var(--dw-panel); }
@media (min-width: 768px) {
	.dw-cookie__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 32px; }
	.dw-cookie__msg { max-width: 760px; font-size: 13px; }
	.dw-cookie__actions .dw-btn { flex: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
	.dw-hero__inner { grid-template-columns: 1fr; }
	.dw-grid-3, .dw-media-cards, .dw-cards { grid-template-columns: 1fr; }
	.dw-trail { grid-template-columns: repeat(2, 1fr); }
	.dw-trail::before { display: none; }
	.dw-stats-row { flex-wrap: wrap; }
	.dw-hairline { display: none; }
	.dw-bigstat { flex: 1 1 40%; }
	.dw-portfolio__head { flex-direction: column; align-items: flex-start; }
	.dw-nav { display: none; }
	.dw-metrics-strip, .dw-summary { flex-wrap: wrap; }
}
@media (max-width: 600px) {
	.dw-section--pad { padding-block: 64px; }
	.dw-trail { grid-template-columns: 1fr; }
	.dw-bigstat { flex: 1 1 100%; }
	.dw-service { padding: 26px 22px 22px; }
	.dw-service__more { margin-inline: -22px; margin-bottom: -22px; padding-inline: 22px; }
	.dw-service__title { font-size: 20px; }
	.dw-grid-3, .dw-cards { gap: 18px; }
}

/* ==========================================================================
   LISTING PAGES (blog-list, portfolio-list)
   ========================================================================== */
.dw-list__inner { display: flex; flex-direction: column; gap: 40px; }
.dw-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.dw-filter {
	padding: 9px 16px; border-radius: 999px;
	border: 1px solid var(--dw-border-strong); background: var(--dw-surface);
	font-family: var(--dw-font-head); font-weight: 600; font-size: 14px;
	color: var(--dw-dim); cursor: pointer; transition: all 0.15s ease;
}
/* The parent theme recolours button:hover globally — pin all three properties. */
.dw-filter:hover { color: var(--dw-text) !important; border-color: var(--dw-text) !important; background: var(--dw-surface) !important; }
.dw-filter.is-active,
.dw-filter.is-active:hover { background: var(--dw-indigo) !important; color: #fff !important; border-color: transparent !important; }

.dw-work { text-decoration: none; color: inherit; transition: transform 0.18s ease, box-shadow 0.18s ease; }
a.dw-work:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(15, 23, 42, 0.28); }
.dw-work__thumb--ph { background: linear-gradient(135deg, #dbeafe, #ede9fe); }
.dw-work { position: relative; }
.dw-ownbadge {
	position: absolute; top: 14px; left: 14px; z-index: 3;
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px; border-radius: 999px;
	background: var(--dw-indigo); color: #fff !important;
	font-family: var(--dw-font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
	box-shadow: 0 6px 16px -6px rgba(79, 70, 229, 0.5);
}
.dw-ownbadge svg { color: #fff; display: block; }
.dw-ownbadge--inline { position: static; box-shadow: none; }
.dw-work__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.dw-chip--soft {
	/* #4f46e5 (not --dw-accent-2): AA contrast on the tinted background. */
	background: rgba(99, 102, 241, 0.08); color: #4f46e5;
	border-color: rgba(99, 102, 241, 0.22); font-size: 11px; padding: 4px 9px;
}

.dw-work--featured {
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: stretch; overflow: hidden;
}
.dw-work--featured .dw-work__thumb { height: 100%; min-height: 320px; grid-row: 1 / span 2; }
.dw-work--featured .dw-work__body { justify-content: center; padding: 40px; gap: 14px; }
.dw-work--featured .dw-work__title { font-size: 28px; }
.dw-work--featured .dw-work__desc { font-size: 15.5px; }
.dw-work--featured .dw-morelink { grid-column: 2; padding-inline: 40px; }

.dw-ctastrip { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px 40px; }
.dw-ctastrip > div { flex: 1 1 auto; min-width: 0; }
.dw-ctastrip .dw-btn { flex: 0 0 auto; }
.dw-ctastrip__title { font-family: var(--dw-font-head); font-weight: 600; font-size: 24px; line-height: 1.2; margin: 0; }
.dw-ctastrip__text { color: var(--dw-dim); margin: 8px 0 0; font-size: 15px; }

/* ==========================================================================
   DETAIL / SINGLE PAGES
   ========================================================================== */
.dw-detail { padding-block: 52px 96px; }
.dw-back {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px;
	font-family: var(--dw-font-head); font-weight: 600; font-size: 14px;
	color: var(--dw-dim); text-decoration: none;
}
.dw-back svg { transform: rotate(180deg); }
.dw-detail__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 36px; }
.dw-detail__headline { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.dw-detail__chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dw-detail__chips .dw-chip--soft { padding: 6px 12px; }
.dw-detail__actions { padding-bottom: 6px; }
.dw-detail__title {
	font-family: var(--dw-font-head); font-weight: 700;
	font-size: clamp(32px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.02em; margin: 0; color: var(--dw-text);
}
.dw-detail__hero {
	width: 100%; aspect-ratio: 16 / 7; border-radius: 20px;
	background-size: cover; background-position: center;
	margin-bottom: 48px; border: 1px solid var(--dw-border);
}
.dw-detail__hero--ph { background: linear-gradient(135deg, #dbeafe, #ede9fe); }
.dw-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.dw-detail__aside { padding: 28px; position: sticky; top: 24px; }
.dw-aside__title { font-family: var(--dw-font-head); font-weight: 700; font-size: 16px; margin: 0 0 8px; }
.dw-aside__list { margin: 0; }
.dw-aside__list dt { font-family: var(--dw-font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dw-faint); margin-top: 16px; }
.dw-aside__list dd { margin: 4px 0 0; font-size: 15px; color: var(--dw-text); }
.dw-aside__list dd a { color: var(--dw-accent); }

/* Prose (the_content) */
.dw-prose { font-size: 17px; line-height: 1.75; color: var(--dw-dim); }
.dw-prose--narrow { max-width: 760px; margin-inline: auto; }
.dw-prose > *:first-child { margin-top: 0; }
.dw-prose h2 { font-family: var(--dw-font-head); color: var(--dw-text); font-size: 30px; font-weight: 600; line-height: 1.2; margin: 44px 0 16px; }
.dw-prose h3 { font-family: var(--dw-font-head); color: var(--dw-text); font-size: 23px; font-weight: 600; margin: 32px 0 12px; }
.dw-prose p { margin: 0 0 20px; }
.dw-prose a { color: var(--dw-accent); text-decoration: underline; }
.dw-prose strong { color: var(--dw-text); }
.dw-prose ul, .dw-prose ol { margin: 0 0 20px; padding-left: 22px; }
.dw-prose li { margin-bottom: 8px; }
.dw-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.dw-prose blockquote {
	margin: 28px 0; padding: 20px 26px; border-left: 3px solid var(--dw-accent);
	background: var(--dw-surface); border-radius: 0 12px 12px 0; font-size: 18px; color: var(--dw-text);
}

/* Article specifics */
.dw-article { max-width: 820px; margin-inline: auto; }
.dw-article__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.dw-article__meta { display: flex; align-items: center; gap: 10px; color: var(--dw-muted); font-size: 14px; }
.dw-article__meta--sm { font-size: 12.5px; gap: 6px; }
.dw-dot { color: var(--dw-faint); }
.dw-avatar--sm { width: 28px; height: 28px; font-size: 12px; }
.dw-authorbox { display: flex; align-items: center; gap: 14px; padding: 22px 24px; margin: 44px 0 0; }
.dw-related { margin-top: 56px; display: flex; flex-direction: column; gap: 24px; }
.dw-pagehero { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 40px; }

.dw-project-stats { margin-top: 48px; max-width: none; }
.dw-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.dw-gallery__img { aspect-ratio: 4 / 3; border-radius: 16px; background-size: cover; background-position: center; border: 1px solid var(--dw-border); }
.dw-projquote { margin-top: 48px; padding: 36px 40px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.dw-projquote__text { font-family: var(--dw-font-head); font-weight: 500; font-size: 22px; line-height: 1.5; color: var(--dw-text); margin: 0; max-width: 800px; }
@media (max-width: 700px) { .dw-gallery { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
	.dw-detail__grid { grid-template-columns: 1fr; }
	.dw-detail__aside { position: static; }
	.dw-work--featured { grid-template-columns: 1fr; }
	.dw-work--featured .dw-work__thumb { min-height: 200px; grid-row: auto; }
	.dw-work--featured .dw-morelink { grid-column: auto; padding-inline: 22px; }
	.dw-ctastrip { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   PARTNERS (dw/partners)
   ========================================================================== */
.dw-partners-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; }
.dw-partner {
	display: inline-flex; align-items: center; padding: 9px 18px;
	border-radius: 999px; background: var(--dw-surface); border: 1px solid var(--dw-border);
	font-family: var(--dw-font-head); font-weight: 600; font-size: 15px; color: var(--dw-dim);
	transition: border-color 0.15s ease, color 0.15s ease;
}
.dw-partner:hover { border-color: var(--dw-border-strong); color: var(--dw-text); }
.dw-partners-note { font-family: var(--dw-font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--dw-faint); }

/* ==========================================================================
   SERVICE DETAIL (dw/service-detail)
   ========================================================================== */
.dw-svc__bc .dw-container { display: flex; align-items: center; gap: 8px; padding-block: 20px; }
.dw-svc__crumb { font-family: var(--dw-font-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--dw-faint); }
.dw-svc__crumb-sep { color: var(--dw-faint); }
.dw-svc__crumb--active { color: var(--dw-accent-2); }

.dw-svc__hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 64px; align-items: center; padding-block: 64px 96px; }
.dw-svc__hero-text { display: flex; flex-direction: column; gap: 24px; }
.dw-svc__eyebrow { font-family: var(--dw-font-mono); font-size: 14px; letter-spacing: 0.18em; color: var(--dw-accent); }
.dw-svc__h1 { font-family: var(--dw-font-head); font-weight: 700; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.02em; margin: 0; color: var(--dw-text); }
.dw-svc__lead { font-size: 18px; line-height: 1.6; color: var(--dw-dim); margin: 0; max-width: 560px; }
.dw-svc__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dw-svc__hero-visual {
	width: 100%; max-width: 480px; height: 440px; justify-self: end;
	border-radius: 24px; background: radial-gradient(circle at 50% 38%, rgba(99, 102, 241, 0.12), transparent 62%), var(--dw-surface);
	border: 1px solid var(--dw-border); display: grid; place-items: center;
	box-shadow: 0 18px 48px -12px rgba(26, 35, 54, 0.12);
}
.dw-svc__hero-visual svg { width: 55%; height: 55%; }
/* Image variant: never crop — the box follows the image's natural ratio
   (double class beats the fixed heights in the responsive rules). */
.dw-svc__hero-visual.dw-svc__hero-visual--img { background: none; overflow: hidden; height: auto; }
.dw-svc__hero-visual--img img { width: 100%; height: auto; display: block; }

.dw-iconbox--indigo { width: 46px; height: 46px; background: var(--dw-accent-soft); color: var(--dw-accent-2); border-color: rgba(99, 102, 241, 0.25); }
.dw-svc__feature { display: flex; flex-direction: column; gap: 16px; padding: 26px; }
.dw-svc__feature-title { font-family: var(--dw-font-head); font-weight: 600; font-size: 19px; margin: 0; color: var(--dw-text); }
.dw-svc__feature-desc { font-size: 14px; line-height: 1.5; color: var(--dw-dim); margin: 0; }

.dw-svc__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dw-svc__step { display: flex; flex-direction: column; gap: 14px; padding: 26px; }
.dw-svc__step-index { font-family: var(--dw-font-mono); font-size: 28px; font-weight: 500; color: var(--dw-accent-2); }
.dw-svc__step-rule { width: 36px; height: 2px; background: var(--dw-accent-2); display: block; }

.dw-svc__faq-inner { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; }
.dw-svc__faq-left { display: flex; flex-direction: column; gap: 16px; }
.dw-svc__faq-list { display: flex; flex-direction: column; gap: 14px; }
.dw-faq { padding: 0; overflow: hidden; }
.dw-faq__q { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 24px; font-family: var(--dw-font-head); font-weight: 600; font-size: 18px; color: var(--dw-text); }
.dw-faq__q::-webkit-details-marker { display: none; }
.dw-faq__icon { color: var(--dw-faint); flex: none; transition: transform 0.2s ease; }
.dw-faq__icon svg { display: block; }
.dw-faq[open] .dw-faq__icon { transform: rotate(45deg); }
.dw-faq__a { margin: 0; padding: 0 24px 24px; font-size: 15px; line-height: 1.55; color: var(--dw-dim); }

.dw-svc__band-inner { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 64px 40px; }
.dw-svc__band-inner::before { content: ""; position: absolute; top: -180px; left: 50%; transform: translateX(-50%); width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 70, 229, 0.14), transparent 70%); pointer-events: none; }
.dw-svc__band-inner > * { position: relative; }

@media (max-width: 900px) {
	.dw-svc__hero-inner { grid-template-columns: 1fr; }
	.dw-svc__hero-visual { height: 280px; justify-self: stretch; order: -1; }
	.dw-svc__faq-inner { grid-template-columns: 1fr; }
	.dw-svc__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .dw-svc__steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Overrides — defend against the child theme's global Tailwind base, which
   sets `a { color: dw-accent-red }` and `a:hover { color:#fff !important }`.
   Without these, button/link labels turn white (invisible) on hover.
   ========================================================================== */
.dw-section a,
.dw-cookie a { text-decoration: none; }

/* The child theme (originally a dark theme) colours all h1–h6 white globally,
   which made our headings invisible on the light sections. Force brand text. */
.dw-section :is( h1, h2, h3, h4, h5, h6 ) { color: var(--dw-text); }
.dw-section .dw-grad { color: transparent; }

.dw-btn--primary,
.dw-btn--primary:hover,
.dw-btn--primary:focus { color: #fff !important; }
.dw-btn--primary span,
.dw-btn--primary svg { color: #fff !important; }

.dw-btn--ghost,
.dw-btn--ghost:hover,
.dw-btn--ghost:focus { color: var(--dw-text) !important; }
.dw-btn--ghost:hover { background: rgba(12, 17, 27, 0.05); }

.dw-logo,
.dw-logo:hover,
.dw-logo:hover .dw-logo__word { color: var(--dw-text) !important; }

.dw-nav a,
.dw-footer__col a,
.dw-footer__legal a,
.dw-social a { color: var(--dw-dim) !important; }
.dw-nav a:hover,
.dw-footer__col a:hover,
.dw-footer__legal a:hover,
.dw-social a:hover { color: var(--dw-text) !important; }

/* Card links: keep their inner text colors on hover (cards are <a>). */
a.dw-work,
a.dw-work:hover { color: var(--dw-text) !important; }
.dw-work__title { color: var(--dw-text); }
a.dw-work:hover .dw-work__title { color: var(--dw-text) !important; }
a.dw-work:hover .dw-work__desc { color: var(--dw-dim) !important; }
a.dw-work:hover .dw-eyebrow-mono { color: var(--dw-accent) !important; }

.dw-link,
.dw-link span,
.dw-allbtn,
.dw-allbtn span { color: var(--dw-text) !important; }
.dw-link:hover,
.dw-link:hover span,
.dw-allbtn:hover,
.dw-allbtn:hover span { color: var(--dw-accent) !important; }

/* Cookie bar buttons live outside .dw-section, so re-assert there too. */
.dw-cookie .dw-btn--primary,
.dw-cookie .dw-btn--primary:hover { color: #fff !important; }
.dw-cookie .dw-btn--ghost,
.dw-cookie .dw-btn--ghost:hover { color: var(--dw-text) !important; }
.dw-cookie a { color: inherit; }

/* Readability bumps for small mono labels that sat on light surfaces. */
.dw-stat__label,
.dw-total__label,
.dw-media__index,
.dw-cta-note,
.dw-trust__label,
.dw-footer__copy,
.dw-person__role { color: var(--dw-muted); }

/* ==========================================================================
   Error pages (404 / 500) — block design
   ========================================================================== */
.dw-error__section { display: flex; align-items: center; min-height: calc(100vh - 140px); }
.dw-error__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 680px; margin-inline: auto; }
.dw-error__mark { display: grid; place-items: center; width: 96px; height: 96px; }
.dw-error__mark svg { display: block; }
.dw-error__code {
	font-family: var(--dw-font-head); font-weight: 700; line-height: 1;
	font-size: clamp(78px, 16vw, 150px); letter-spacing: -0.03em; margin: 4px 0 0;
	background: linear-gradient(120deg, var(--dw-accent), var(--dw-accent-2) 55%, var(--dw-accent-3));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.dw-error__title { font-family: var(--dw-font-head); font-weight: 600; font-size: clamp(24px, 3.4vw, 36px); letter-spacing: -0.01em; margin: 0; color: var(--dw-text); }
.dw-error__lead { max-width: 560px; margin: 0; }
.dw-error__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }

/* ==========================================================================
   ABOUT ("O nás") PAGE
   ========================================================================== */
.dw-about__hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 56px;
	align-items: center;
	padding-block: 56px 72px;
}
.dw-about__hero-text { display: flex; flex-direction: column; gap: 20px; }
.dw-about__hero-inner .dw-svc__h1 { font-size: clamp(34px, 4.4vw, 52px); }
.dw-about__hero-inner .dw-svc__lead { max-width: 680px; font-size: 17px; }
.dw-about__facts { display: flex; flex-direction: column; gap: 14px; }
.dw-about__fact { display: flex; flex-direction: column; gap: 3px; padding: 16px 22px; }
.dw-about__fact-value { font-family: var(--dw-font-head); font-weight: 700; font-size: 21px; color: var(--dw-text); }
.dw-about__fact-label { font-family: var(--dw-font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dw-faint); }

.dw-about__founder.dw-section--pad { padding-block: 72px; }
.dw-about__founder-inner { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: center; }
.dw-about__founder-visual { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dw-about__founder-avatar {
	width: 128px; height: 128px; border-radius: 50%;
	display: grid; place-items: center;
	font-family: var(--dw-font-head); font-weight: 700; font-size: 40px; color: #fff;
	background: linear-gradient(135deg, var(--dw-accent), var(--dw-accent-2) 55%, var(--dw-accent-3));
	box-shadow: 0 18px 40px -16px rgba(79, 70, 229, 0.45);
}
.dw-about__founder-avatar--photo { object-fit: cover; background: none; padding: 0; }
.dw-about__founder-id { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.dw-about__founder-id .dw-person__name { font-size: 18px; }
.dw-about__founder-text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

.dw-about__svc { text-decoration: none; color: inherit; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.dw-about__svc:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, 0.35); box-shadow: 0 18px 40px -16px rgba(15, 23, 42, 0.28); }
.dw-about__svc-more {
	display: flex; align-items: center; gap: 7px;
	margin-top: auto; margin-inline: -26px; margin-bottom: -26px; padding: 16px 26px; border-top: 1px solid var(--dw-border);
	font-size: 13.5px; font-weight: 600; color: var(--dw-accent);
}
.dw-about__svc-more svg { transition: transform 0.15s ease; }
.dw-about__svc:hover .dw-about__svc-more svg { transform: translateX(3px); }

.dw-about__ib--cyan { background: rgba(14, 116, 144, 0.1); color: var(--dw-cyan); border-color: rgba(14, 116, 144, 0.25); }
.dw-about__ib--purple { background: rgba(168, 85, 247, 0.1); color: var(--dw-accent-3); border-color: rgba(168, 85, 247, 0.25); }

.dw-about__projects { display: flex; flex-direction: column; gap: 32px; }
.dw-about__projects-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.dw-about__projects-head .dw-btn { flex: 0 0 auto; margin-bottom: 4px; }
.dw-about__project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.dw-about__project {
	display: flex; align-items: center; gap: 11px;
	min-width: 0;
	padding: 16px 18px;
	font-family: var(--dw-font-mono); font-size: 13px; font-weight: 500; color: var(--dw-text);
}
.dw-about__project-name { min-width: 0; overflow-wrap: anywhere; }
.dw-about__project-ic {
	display: grid; place-items: center; flex: none;
	width: 34px; height: 34px; border-radius: 10px;
	background: var(--dw-accent-soft); color: var(--dw-accent-2);
}

@media (max-width: 860px) {
	.dw-about__hero-inner { grid-template-columns: 1fr; gap: 32px; }
	.dw-about__facts { flex-direction: row; flex-wrap: wrap; }
	.dw-about__fact { flex: 1 1 150px; }
	.dw-about__founder-inner { grid-template-columns: 1fr; gap: 36px; }
	.dw-about__founder-text { align-items: center; text-align: center; }
	.dw-about__founder-text .dw-h2 { text-align: center !important; }
}

/* ==========================================================================
   MOBILE NAV (burger + slide-down panel)
   ========================================================================== */
.dw-burger {
	display: none;
	appearance: none; -webkit-appearance: none;
	flex-direction: column; justify-content: center; gap: 5px;
	width: 44px; height: 44px; padding: 10px;
	background: var(--dw-surface) !important;
	border: 1px solid var(--dw-border-strong); border-radius: 12px;
	cursor: pointer; flex: none;
}
.dw-burger__bar { display: block; width: 100%; height: 2px; border-radius: 2px; background: var(--dw-text); transition: transform 0.2s ease, opacity 0.2s ease; }
.dw-header--open .dw-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dw-header--open .dw-burger__bar:nth-child(2) { opacity: 0; }
.dw-header--open .dw-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.dw-mobilenav { background: var(--dw-bg); border-top: 1px solid var(--dw-border); box-shadow: 0 24px 40px -24px rgba(15, 23, 42, 0.25); }
.dw-mobilenav__inner { display: flex; flex-direction: column; padding-block: 10px 20px; }
.dw-mobilenav__link {
	display: flex; align-items: center; min-height: 48px;
	font-family: var(--dw-font-head); font-weight: 600; font-size: 16px;
	color: var(--dw-text) !important; text-decoration: none;
	border-bottom: 1px solid var(--dw-border);
}
.dw-mobilenav__link--sub { padding-left: 18px; font-weight: 500; font-size: 15px; color: var(--dw-dim) !important; }
.dw-mobilenav__cta { padding-top: 18px; }
.dw-mobilenav__cta .dw-btn { width: 100%; justify-content: center; }

@media (max-width: 980px) {
	.dw-burger { display: flex; }
	.dw-header__inner { gap: 14px; }
	.dw-header__right { gap: 12px; }
	.dw-header__right > .dw-btn { display: none; }
}

/* ==========================================================================
   MOBILE POLISH — compact spacing + typography on small screens
   ========================================================================== */
@media (max-width: 600px) {
	.dw-container { padding-inline: 20px; }
	.dw-section--pad { padding-block: 56px; }
	.dw-h2 { font-size: clamp(26px, 6.8vw, 34px); }
	.dw-lead { font-size: 15.5px; }

	/* About facts: single full-width column on phones (uniform, no awkward 2+1 wrap) */
	.dw-about__facts { flex-direction: column; }
	.dw-about__fact { flex: 1 1 auto; width: 100%; }

	/* Hero (homepage) */
	.dw-hero__inner { padding-block: 40px 60px; gap: 36px; }
	.dw-hero__text { gap: 24px; }
	.dw-hero__headline { font-size: clamp(31px, 8.6vw, 42px); }
	.dw-hero__sub { font-size: 16px; }
	.dw-hero__emblem-mark { width: min(300px, 88%); }

	/* Service detail hero */
	.dw-svc__hero-inner { padding-block: 24px 56px; gap: 32px; }
	.dw-svc__h1 { font-size: clamp(30px, 8vw, 40px); }
	.dw-svc__lead { font-size: 16px; }
	.dw-svc__hero-visual { height: 230px; border-radius: 18px; }
	.dw-svc__band-inner { padding: 44px 22px; }

	/* FAQ */
	.dw-faq__q { padding: 18px; font-size: 16px; }
	.dw-faq__a { padding: 0 18px 18px; }

	/* CTA section */
	.dw-cta__inner { padding-block: 72px; gap: 18px; }
	.dw-cta__headline { font-size: clamp(28px, 7.6vw, 38px); }

	/* Automation trail */
	.dw-automation__inner { gap: 40px; }
	.dw-stage__desc { max-width: none; }

	/* Content network */
	.dw-network__inner { gap: 40px; }
	.dw-media__name { font-size: 20px; }
	.dw-offer__heading { font-size: 24px; }
	.dw-summary { flex-direction: column; align-items: flex-start; gap: 20px; padding: 22px 24px; }
	.dw-summary__totals { gap: 24px; flex-wrap: wrap; }
	.dw-metrics-strip { padding: 22px 20px; gap: 16px; }
	.dw-metric__value { font-size: 30px; }

	/* Stats */
	.dw-bigstat__num { font-size: clamp(34px, 10vw, 44px); }

	/* Detail pages */
	.dw-detail { padding-block: 32px 64px; }
	.dw-detail__head { margin-bottom: 28px; }
	.dw-detail__hero { aspect-ratio: 16 / 10; margin-bottom: 32px; }
	.dw-detail__grid { gap: 32px; }
	.dw-back { margin-bottom: 20px; }
	.dw-prose { font-size: 16px; }
	.dw-prose h2 { font-size: 24px; margin: 32px 0 12px; }
	.dw-prose h3 { font-size: 20px; }
	.dw-authorbox { padding: 18px; }
	.dw-work--featured .dw-work__body { padding: 24px 22px; }
	.dw-ctastrip { padding: 24px 22px; }

	/* Footer */
	.dw-footer__inner { padding-block: 44px 22px; }
	.dw-footer__top { gap: 28px; padding-bottom: 32px; }

	/* About page */
	.dw-about__hero-inner { padding-block: 36px 52px; }
	.dw-about__founder.dw-section--pad { padding-block: 56px; }
}

/* Full-width stacked buttons on small phones */
@media (max-width: 480px) {
	.dw-hero__cta .dw-btn,
	.dw-svc__cta .dw-btn,
	.dw-cta__buttons .dw-btn,
	.dw-cta-wrap__buttons .dw-btn,
	.dw-detail__actions .dw-btn { width: 100%; justify-content: center; }
	.dw-detail__actions { width: 100%; }
	.dw-portfolio__head .dw-allbtn { width: 100%; justify-content: center; }
}

/* Centered stacked heroes on mobile (visual on top, text below) */
@media (max-width: 900px) {
	.dw-svc__hero-text { align-items: center; text-align: center; }
	.dw-svc__hero-text .dw-svc__lead { max-width: 560px; }
	.dw-svc__cta { justify-content: center; }
}
@media (max-width: 980px) {
	.dw-hero__text { align-items: center; text-align: center; margin-inline: auto; }
	.dw-hero__cta { justify-content: center; }
}

/* Footer stacked + centered on mobile (kept last so it beats the base rules above) */
@media (max-width: 760px) {
	.dw-footer__top { grid-template-columns: 1fr; gap: 32px; }
	.dw-footer__brand { max-width: none; align-items: center; text-align: center; }
	.dw-footer__brand .dw-logo { justify-content: center; }
	.dw-social { justify-content: center; }
	.dw-footer__col { align-items: center; text-align: center; }
	.dw-footer__col.dw-footer__company { width: 100%; align-items: center; }
	.dw-footer__company-contact { align-items: center; }
	.dw-footer__company-ids { justify-content: center; }
	.dw-footer__bottom { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
	.dw-footer__bottom-right { flex-direction: column; align-items: center; gap: 14px; }
	.dw-footer__legal { justify-content: center; }
}

/* Centered card blocks + section headings on mobile
   (!important needed where the render uses inline left-align styles) */
@media (max-width: 600px) {
	.dw-header-stack { align-items: center !important; text-align: center !important; }
	.dw-header-stack .dw-h2,
	.dw-header-stack .dw-lead { text-align: center !important; }

	.dw-svc__feature,
	.dw-svc__step,
	.dw-service,
	.dw-media,
	.dw-offer__card,
	.dw-about__project { align-items: center; text-align: center; }

	.dw-media__row { width: 100%; justify-content: center; gap: 12px; }
	.dw-media__stats { justify-content: center; width: 100%; }
	.dw-feature-list { align-items: center; }
	.dw-feature-list li { justify-content: center; text-align: center; }
	.dw-service__more,
	.dw-about__svc-more { justify-content: center; }

	.dw-portfolio__head { align-items: center; }
	.dw-portfolio__hl { align-items: center; text-align: center; }
	.dw-portfolio__hl .dw-h2 { text-align: center !important; }
	.dw-work__body { align-items: center; text-align: center; }
	.dw-work__chips { justify-content: center; }
	.dw-work__foot { align-items: center; }

	.dw-about__fact { align-items: center; text-align: center; }
	.dw-about__projects-head { justify-content: center; }
	.dw-about__projects-head .dw-header-stack { align-items: center !important; }
	.dw-about__project { justify-content: center; }
}

/* Center the stacked hero image on mobile (stretch + max-width left it hugging the left edge) */
@media (max-width: 900px) {
	.dw-svc__hero-visual { justify-self: center; }
}

/* Mobile centering sweep — FAQ, breadcrumbs, filters, detail/list headers */
@media (max-width: 900px) {
	.dw-svc__faq-left { align-items: center; text-align: center; }
	.dw-svc__faq-left .dw-h2 { text-align: center !important; }
	.dw-ctastrip { align-items: center; text-align: center; }
}
@media (max-width: 600px) {
	.dw-svc__bc .dw-container { justify-content: center; }
	.dw-filters { justify-content: center; }
	.dw-detail__headline { align-items: center; text-align: center; margin-inline: auto; }
	.dw-detail__head { justify-content: center; }
	.dw-article__head { align-items: center; text-align: center; }
	.dw-article__meta { justify-content: center; }
	.dw-authorbox { flex-direction: column; text-align: center; }
	.dw-pagehero { align-items: center; text-align: center; margin-inline: auto; }
	.dw-about__hero-text { align-items: center; text-align: center; }
	.dw-about__facts { align-items: center; justify-content: center; }
	.dw-partners-note { text-align: center; }
}

/* Desktop: icon/number + title on one row, description underneath */
@media (min-width: 601px) {
	.dw-svc__feature {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-rows: auto minmax(0, 1fr) auto;
		column-gap: 14px;
		row-gap: 14px;
	}
	.dw-svc__feature > .dw-iconbox { align-self: center; }
	.dw-svc__feature .dw-svc__feature-title { align-self: center; margin: 0; }
	.dw-svc__feature .dw-svc__feature-desc { grid-column: 1 / -1; align-self: start; margin: 0; }
	.dw-about__svc-more { grid-column: 1 / -1; align-self: end; }

	.dw-svc__step {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 12px;
		row-gap: 12px;
	}
	.dw-svc__step-index { align-self: center; line-height: 1; }
	.dw-svc__step-rule { display: none; }
	.dw-svc__step .dw-svc__feature-title { align-self: center; margin: 0; }
	.dw-svc__step .dw-svc__feature-desc { grid-column: 1 / -1; margin: 0; }
}

/* Homepage service cards: badge + title on one row on desktop */
@media (min-width: 601px) {
	.dw-service {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-rows: auto auto minmax(0, 1fr) auto;
		column-gap: 14px;
		row-gap: 14px;
	}
	.dw-service > .dw-badge { align-self: center; }
	.dw-service__title { align-self: center; margin: 0; }
	.dw-service__desc { grid-column: 1 / -1; margin: 0; }
	.dw-service .dw-feature-list { grid-column: 1 / -1; margin: 0; align-self: start; }
	.dw-service__more { grid-column: 1 / -1; align-self: end; }
}

/* "Zjistit více" centered inside cards on desktop too */
@media (min-width: 601px) {
	.dw-service__more,
	.dw-about__svc-more { justify-content: center; }
}
.dw-logo__i { color: var(--dw-indigo); }

/* Project detail — case-study stat strip */
.dw-detail__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 8px 0 28px; }
.dw-detail__stat { background: var(--dw-surface, #fff); border: 1px solid var(--dw-border); border-radius: 16px; padding: 20px 22px; }
.dw-detail__stat-v { display: block; font-family: var(--dw-font-head); font-weight: 700; font-size: 26px; color: var(--dw-text); line-height: 1.1; }
.dw-detail__stat-l { display: block; margin-top: 4px; font-size: 13.5px; color: var(--dw-dim); }
.dw-prose h2 { font-family: var(--dw-font-head); font-weight: 600; font-size: 22px; margin: 28px 0 10px; color: var(--dw-text); }
