:root {
    --shadok-red: #cf1535;
    --shadok-red-dark: #a80e28;
    --shadok-ink: #111216;
    --shadok-ink-soft: #1b1d22;
    --shadok-paper: #ffffff;
    --shadok-muted: #f2f3f4;
    --shadok-line: rgba(17, 18, 22, 0.14);
    --shadok-text: #202228;
    --shadok-text-soft: #666a73;
    --shadok-container: 1320px;
    --shadok-prose: 760px;
    --shadok-radius: 2px;
    --shadok-shadow: 0 18px 48px rgba(10, 12, 17, 0.13);
}

body.shadok-v2-site {
    background: var(--shadok-paper);
    color: var(--shadok-text);
    overflow-x: hidden;
}

body.shadok-v2-page .page-header,
body.shadok-v2-page .entry-header,
body.shadok-v2-page .page-title,
body.shadok-v2-page .breadcrumbs-area,
body.shadok-v2-page .titlebar,
body.shadok-v2-page .page-heading {
    display: none !important;
}

body.shadok-v2-page #main,
body.shadok-v2-page #primary,
body.shadok-v2-page #content,
body.shadok-v2-page .site-content,
body.shadok-v2-page .main-content,
body.shadok-v2-page .content-area,
body.shadok-v2-page .page-content,
body.shadok-v2-page article.page,
body.shadok-v2-page article.page > .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.shadok-v2-page #secondary,
body.shadok-v2-page .sidebar {
    display: none !important;
}

body.shadok-v2-page .post-wrap article.page > img.wp-post-image,
body.shadok-v2-page .post-wrap article.page > a:has(> img.wp-post-image) {
    display: none !important;
}

body.shadok-v2-site #footer {
    display: block !important;
}

body.shadok-v2-site .themesflat-top,
body.shadok-v2-site .themesflat-top .container,
body.shadok-v2-site .themesflat-top .container-inside {
    background: var(--shadok-ink) !important;
    color: #fff !important;
}

body.shadok-v2-site .themesflat-top a,
body.shadok-v2-site .themesflat-top span,
body.shadok-v2-site .themesflat-top li {
    color: #fff !important;
}

body.shadok-v2-site #footer .footer-widgets > .col-md-12 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
}

body.shadok-v2-site #footer .footer-widgets .flat-widget-footer {
    display: flex;
    float: none;
    width: auto;
    min-width: 0;
    min-height: 150px;
    align-items: center;
    justify-content: center;
    padding: 22px 16px;
    text-align: center;
}

body.shadok-v2-site #footer .flat-widget-footer > .widget,
body.shadok-v2-site #footer .flat-widget-footer .textwidget {
    margin: 0;
}

body.shadok-v2-site #footer .flat-widget-footer .textwidget > br:first-child {
    display: none;
}

body.shadok-v2-site #footer .widget_media_image {
    margin: 0;
}

body.shadok-v2-site #footer .widget_media_image img,
body.shadok-v2-site #footer .shadok-partner-block img {
    display: block;
    height: auto;
    margin: 0 auto;
}

body.shadok-v2-site #footer .shadok-footer-block {
    margin-top: 0;
    text-align: left;
}

@media (min-width: 768px) and (max-width: 991px) {
    body.shadok-v2-site #footer .footer-widgets > .col-md-12 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.shadok-v2-site #footer .footer-widgets > .col-md-12 {
        grid-template-columns: 1fr;
    }

    body.shadok-v2-site #footer .footer-widgets .flat-widget-footer {
        min-height: 0;
        padding: 20px 12px;
    }
}

.shadok-v2,
.shadok-v2 *,
.shadok-v2 *::before,
.shadok-v2 *::after,
.shadok-v2-footer,
.shadok-v2-footer *,
.shadok-v2-footer *::before,
.shadok-v2-footer *::after {
    box-sizing: border-box;
}

.shadok-v2 {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    background: var(--shadok-paper);
    color: var(--shadok-text);
    font-size: 17px;
    line-height: 1.7;
}

.shadok-v2 img {
    display: block;
    width: 100%;
    max-width: 100%;
}

.shadok-v2 a,
.shadok-v2-footer a {
    color: inherit;
    text-decoration: none;
}

.shadok-v2 a:focus-visible,
.shadok-v2 button:focus-visible,
.shadok-v2 input:focus-visible,
.shadok-v2 textarea:focus-visible,
.shadok-v2 select:focus-visible,
.shadok-v2-footer a:focus-visible {
    outline: 3px solid var(--shadok-red);
    outline-offset: 4px;
}

.shadok-v2__container,
.shadok-v2-footer__inner,
.shadok-v2-footer__bottom {
    width: min(calc(100% - 96px), var(--shadok-container));
    margin-inline: auto;
}

.shadok-v2__narrow {
    width: min(calc(100% - 96px), 900px);
    margin-inline: auto;
}

.shadok-v2__section {
    position: relative;
    padding: 112px 0;
}

.shadok-v2__section--muted {
    background: var(--shadok-muted);
}

.shadok-v2__section--dark {
    background: var(--shadok-ink);
    color: var(--shadok-paper);
}

.shadok-v2__section--contact {
    background: var(--shadok-ink-soft);
    color: var(--shadok-paper);
}

.shadok-v2__section--quote {
    background: var(--shadok-red);
    color: var(--shadok-paper);
}

.shadok-v2__section--intro {
    border-bottom: 1px solid var(--shadok-line);
}

.shadok-v2__section-heading {
    max-width: 800px;
    margin: 0 0 52px;
}

.shadok-v2__section-heading h2,
.shadok-v2__index-group h2,
.shadok-v2__service-card h2,
.shadok-v2-footer h2 {
    color: inherit;
}

.shadok-v2__section-heading h2 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(34px, 3.25vw, 56px);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.shadok-v2__section-heading > p:last-child {
    max-width: var(--shadok-prose);
    margin: 22px 0 0;
    color: var(--shadok-text-soft);
    font-size: 19px;
    line-height: 1.65;
}

.shadok-v2__section--dark .shadok-v2__section-heading > p:last-child,
.shadok-v2__section--contact .shadok-v2__section-heading > p:last-child,
.shadok-v2__section--quote .shadok-v2__section-heading > p:last-child {
    color: rgba(255, 255, 255, 0.7);
}

.shadok-v2__eyebrow {
    margin: 0 0 20px;
    color: var(--shadok-red);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.18em;
    line-height: 1.3;
    text-transform: uppercase;
}

.shadok-v2__hero .shadok-v2__eyebrow,
.shadok-v2__section--dark .shadok-v2__eyebrow,
.shadok-v2__section--contact .shadok-v2__eyebrow {
    color: var(--shadok-red);
}

.shadok-v2__section--quote .shadok-v2__eyebrow {
    color: #fff;
}

.shadok-v2__hero {
    position: relative;
    display: grid;
    min-height: min(820px, 78vh);
    align-items: end;
    overflow: hidden;
    background: var(--shadok-ink) var(--hero-image) center / cover no-repeat;
    color: var(--shadok-paper);
    isolation: isolate;
}

.shadok-v2__hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(7, 8, 10, 0.92) 0%, rgba(7, 8, 10, 0.72) 42%, rgba(7, 8, 10, 0.2) 75%),
        linear-gradient(0deg, rgba(7, 8, 10, 0.82) 0%, rgba(7, 8, 10, 0) 50%);
}

.shadok-v2__hero-inner {
    position: relative;
    width: min(calc(100% - 96px), var(--shadok-container));
    margin-inline: auto;
    padding: 148px 0 94px;
}

.shadok-v2__hero h1 {
    max-width: 1050px;
    margin: 0;
    color: #fff;
    font-size: clamp(48px, 5.15vw, 88px);
    font-weight: 650;
    letter-spacing: -0.052em;
    line-height: 0.99;
    text-wrap: balance;
}

.shadok-v2__hero-lead {
    max-width: 740px;
    margin: 30px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(19px, 1.35vw, 24px);
    line-height: 1.55;
}

.shadok-v2__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 42px;
}

.shadok-v2__button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    border: 1px solid transparent;
    border-radius: var(--shadok-radius);
    font-size: 14px;
    font-weight: 750;
    letter-spacing: 0.025em;
    line-height: 1.2;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.shadok-v2__button:hover {
    transform: translateY(-2px);
}

.shadok-v2__button--primary {
    background: var(--shadok-red);
    color: #fff !important;
}

.shadok-v2__button--primary:hover {
    background: var(--shadok-red-dark);
}

.shadok-v2__button--ghost {
    border-color: rgba(255, 255, 255, 0.42);
    color: #fff !important;
    background: rgba(255, 255, 255, 0.04);
}

.shadok-v2__button--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.shadok-v2__button--outline {
    border-color: var(--shadok-ink);
    background: transparent;
    color: var(--shadok-ink) !important;
}

.shadok-v2__button--outline:hover {
    background: var(--shadok-ink);
    color: #fff !important;
}

.shadok-v2__scroll {
    position: absolute;
    right: 0;
    bottom: 104px;
    display: grid;
    width: 42px;
    height: 64px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
}

.shadok-v2__scroll span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    animation: shadok-scroll 1.7s ease-in-out infinite;
}

@keyframes shadok-scroll {
    0%, 100% { transform: translateY(-8px); opacity: 0.4; }
    50% { transform: translateY(8px); opacity: 1; }
}

.shadok-v2__breadcrumbs {
    border-bottom: 1px solid var(--shadok-line);
    background: #fff;
}

.shadok-v2__breadcrumbs ol {
    display: flex;
    width: min(calc(100% - 96px), var(--shadok-container));
    min-height: 58px;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto;
    padding: 12px 0;
    list-style: none;
    color: var(--shadok-text-soft);
    font-size: 13px;
}

.shadok-v2__breadcrumbs li + li::before {
    margin-right: 8px;
    color: rgba(17, 18, 22, 0.35);
    content: "/";
}

.shadok-v2__breadcrumbs a:hover {
    color: var(--shadok-red);
}

.shadok-v2__split {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(60px, 8vw, 132px);
    align-items: start;
}

.shadok-v2__split .shadok-v2__section-heading {
    margin-bottom: 0;
}

.shadok-v2__prose {
    max-width: var(--shadok-prose);
    color: var(--shadok-text-soft);
    font-size: 18px;
}

.shadok-v2__prose > *:first-child { margin-top: 0; }
.shadok-v2__prose > *:last-child { margin-bottom: 0; }
.shadok-v2__prose p { margin: 0 0 1.15em; }
.shadok-v2__prose strong { color: var(--shadok-text); }

.shadok-v2__division-grid,
.shadok-v2__card-grid,
.shadok-v2__portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.shadok-v2__division {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: #222;
}

.shadok-v2__division > a {
    display: grid;
    height: 100%;
    color: #fff;
}

.shadok-v2__division-media {
    position: absolute;
    inset: 0;
}

.shadok-v2__division-media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 7, 9, 0.94), rgba(6, 7, 9, 0.06) 72%);
    content: "";
}

.shadok-v2__division-media img {
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(.2, .75, .25, 1);
}

.shadok-v2__division:hover .shadok-v2__division-media img {
    transform: scale(1.035);
}

.shadok-v2__division-body {
    position: relative;
    z-index: 1;
    align-self: end;
    padding: 46px;
}

.shadok-v2__division-body h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(29px, 2.4vw, 43px);
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.shadok-v2__division-body p {
    max-width: 570px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
}

.shadok-v2__division-body span,
.shadok-v2__portfolio-body span,
.shadok-v2__text-link,
.shadok-v2__service-card a {
    color: inherit;
    font-size: 14px;
    font-weight: 750;
}

.shadok-v2__division-body b,
.shadok-v2__portfolio-body b,
.shadok-v2__text-link span,
.shadok-v2__service-card a span {
    color: var(--shadok-red);
}

.shadok-v2__service-card {
    overflow: hidden;
    border: 1px solid var(--shadok-line);
    background: #fff;
}

.shadok-v2__service-card > img {
    height: 300px;
    object-fit: cover;
}

.shadok-v2__service-card > div {
    padding: 34px 36px 38px;
}

.shadok-v2__service-card h2,
.shadok-v2__service-card h3 {
    margin: 0 0 13px;
    color: var(--shadok-ink);
    font-size: 27px;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.shadok-v2__service-card p {
    min-height: 3.2em;
    margin: 0 0 24px;
    color: var(--shadok-text-soft);
    line-height: 1.6;
}

.shadok-v2__benefit-grid,
.shadok-v2__related-grid,
.shadok-v2__quote-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.shadok-v2__benefit-grid article,
.shadok-v2__related-grid article {
    padding: 38px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.035);
}

.shadok-v2__benefit-grid h3,
.shadok-v2__related-grid h3 {
    margin: 0 0 14px;
    color: inherit;
    font-size: 23px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.shadok-v2__benefit-grid p,
.shadok-v2__related-grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

.shadok-v2__section:not(.shadok-v2__section--dark):not(.shadok-v2__section--contact):not(.shadok-v2__section--quote) .shadok-v2__benefit-grid article {
    border-color: var(--shadok-line);
    background: #fff;
}

.shadok-v2__section:not(.shadok-v2__section--dark):not(.shadok-v2__section--contact):not(.shadok-v2__section--quote) .shadok-v2__benefit-grid article > span {
    color: var(--shadok-red-dark);
}

.shadok-v2__section:not(.shadok-v2__section--dark):not(.shadok-v2__section--contact):not(.shadok-v2__section--quote) .shadok-v2__benefit-grid h3 {
    color: var(--shadok-ink);
}

.shadok-v2__section:not(.shadok-v2__section--dark):not(.shadok-v2__section--contact):not(.shadok-v2__section--quote) .shadok-v2__benefit-grid p {
    color: var(--shadok-text-soft);
}

.shadok-v2__section:not(.shadok-v2__section--dark) .shadok-v2__related-grid article {
    border-color: var(--shadok-line);
    background: #fff;
}

.shadok-v2__section:not(.shadok-v2__section--dark) .shadok-v2__related-grid p {
    color: var(--shadok-text-soft);
}

.shadok-v2__related-grid a {
    display: block;
    height: 100%;
}

.shadok-v2__process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    counter-reset: process;
}

.shadok-v2__process article {
    position: relative;
    padding: 38px 30px 38px 0;
    border-top: 1px solid var(--shadok-line);
    counter-increment: process;
}

.shadok-v2__process article:not(:last-child) {
    margin-right: 30px;
}

.shadok-v2__process article::before {
    display: block;
    margin-bottom: 34px;
    color: var(--shadok-red);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.12em;
    content: "0" counter(process);
}

.shadok-v2__process h3 {
    margin: 0 0 12px;
    color: var(--shadok-ink);
    font-size: 23px;
}

.shadok-v2__process p {
    margin: 0;
    color: var(--shadok-text-soft);
}

.shadok-v2__tech-list,
.shadok-v2__checklist {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shadok-v2__tech-list li,
.shadok-v2__checklist li {
    position: relative;
    padding: 17px 0 17px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.shadok-v2__tech-list li::before,
.shadok-v2__checklist li::before {
    position: absolute;
    top: 25px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--shadok-red);
    content: "";
}

.shadok-v2__section:not(.shadok-v2__section--dark) .shadok-v2__checklist li {
    border-color: var(--shadok-line);
}

.shadok-v2__portfolio-card {
    overflow: hidden;
    background: #fff;
    color: var(--shadok-ink);
}

.shadok-v2__portfolio-card[hidden] {
    display: none;
}

.shadok-v2__portfolio-card > a {
    display: block;
    height: 100%;
}

.shadok-v2__portfolio-media {
    height: 360px;
    overflow: hidden;
    background: #2a2c31;
}

.shadok-v2__portfolio-media img {
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.shadok-v2__portfolio-card:hover .shadok-v2__portfolio-media img {
    transform: scale(1.03);
}

.shadok-v2__portfolio-body {
    padding: 28px 30px 32px;
}

.shadok-v2__portfolio-body > p {
    margin: 0 0 9px;
    color: var(--shadok-red);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shadok-v2__portfolio-body h3 {
    margin: 0 0 18px;
    color: var(--shadok-ink);
    font-size: 26px;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.shadok-v2__section--dark .shadok-v2__portfolio-grid {
    color: var(--shadok-ink);
}

.shadok-v2__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -14px 0 38px;
}

.shadok-v2__filters button {
    min-height: 42px;
    padding: 10px 17px;
    border: 1px solid var(--shadok-line);
    border-radius: 24px;
    background: transparent;
    color: var(--shadok-text-soft);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
}

.shadok-v2__filters button:hover,
.shadok-v2__filters button.is-active {
    border-color: var(--shadok-red);
    background: var(--shadok-red);
    color: #fff;
}

.shadok-v2__stats {
    background: var(--shadok-ink);
    color: #fff;
}

.shadok-v2__stats dl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
}

.shadok-v2__stats dl > div {
    padding: 48px 36px;
    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.shadok-v2__stats dl > div:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.shadok-v2__stats dt {
    color: #fff;
    font-size: clamp(34px, 3vw, 52px);
    font-weight: 650;
    letter-spacing: -0.04em;
    line-height: 1;
}

.shadok-v2__stats dd {
    margin: 11px 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.shadok-v2__story {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
    align-items: center;
}

.shadok-v2__feature-image {
    min-height: 430px;
    object-fit: cover;
    box-shadow: var(--shadok-shadow);
}

.shadok-v2__feature-image--contain {
    min-height: auto;
    object-fit: contain;
    box-shadow: none;
}

.shadok-v2__text-link {
    display: inline-block;
    margin-top: 28px;
    color: var(--shadok-ink) !important;
}

.shadok-v2__text-link:hover {
    color: var(--shadok-red) !important;
}

.shadok-v2__service-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.shadok-v2__index-group {
    padding: 42px;
    border: 1px solid var(--shadok-line);
}

.shadok-v2__index-group h2 {
    margin: 0 0 13px;
    color: var(--shadok-ink);
    font-size: 31px;
    letter-spacing: -0.03em;
}

.shadok-v2__index-group > p {
    color: var(--shadok-text-soft);
}

.shadok-v2__index-group ul {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    columns: 2;
    column-gap: 26px;
}

.shadok-v2__index-group li {
    break-inside: avoid;
    padding: 9px 0;
    border-bottom: 1px solid var(--shadok-line);
    font-size: 14px;
}

.shadok-v2__index-group a:hover {
    color: var(--shadok-red);
}

.shadok-v2__case-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid var(--shadok-line);
}

.shadok-v2__case-meta > div {
    padding: 30px 30px 30px 0;
}

.shadok-v2__case-meta dt {
    margin-bottom: 8px;
    color: var(--shadok-red);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.shadok-v2__case-meta dd {
    margin: 0;
    color: var(--shadok-ink);
    font-weight: 650;
}

.shadok-v2__gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.shadok-v2__gallery figure {
    grid-column: span 6;
    margin: 0;
}

.shadok-v2__gallery figure:nth-child(3n + 1) {
    grid-column: span 12;
}

.shadok-v2__gallery img {
    height: 480px;
    object-fit: cover;
}

.shadok-v2__gallery figure:nth-child(3n + 1) img {
    height: 670px;
}

.shadok-v2__source-note {
    margin: 28px 0 0;
    color: var(--shadok-text-soft);
    font-size: 13px;
}

.shadok-v2__quote-grid blockquote,
.shadok-v2__section--quote blockquote {
    margin: 0;
}

.shadok-v2__quote-grid blockquote {
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 18px;
}

.shadok-v2__quote-grid cite,
.shadok-v2__section--quote cite {
    display: block;
    margin-top: 23px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    font-style: normal;
    font-weight: 750;
}

.shadok-v2__section--quote .shadok-v2__narrow > blockquote {
    font-size: clamp(27px, 2.8vw, 47px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.28;
}

.shadok-v2__faq {
    max-width: 960px;
}

.shadok-v2__faq details {
    border-top: 1px solid var(--shadok-line);
}

.shadok-v2__faq details:last-child {
    border-bottom: 1px solid var(--shadok-line);
}

.shadok-v2__faq summary {
    position: relative;
    padding: 26px 54px 26px 0;
    cursor: pointer;
    color: var(--shadok-ink);
    font-size: 19px;
    font-weight: 650;
    list-style: none;
}

.shadok-v2__faq summary::-webkit-details-marker { display: none; }

.shadok-v2__faq summary::after {
    position: absolute;
    top: 22px;
    right: 4px;
    color: var(--shadok-red);
    font-size: 26px;
    content: "+";
}

.shadok-v2__faq details[open] summary::after { content: "−"; }

.shadok-v2__faq details > p {
    max-width: 780px;
    margin: -4px 0 27px;
    color: var(--shadok-text-soft);
}

.shadok-v2__contact-layout {
    display: grid;
    grid-template-columns: 0.74fr 1.26fr;
    gap: clamp(60px, 8vw, 130px);
}

.shadok-v2__contact-details {
    margin-top: 46px;
    font-style: normal;
}

.shadok-v2__contact-details p {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.74);
}

.shadok-v2__contact-details strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
}

.shadok-v2__contact-line {
    font-size: clamp(23px, 2vw, 35px);
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.45;
}

.shadok-v2__contact-line a:hover { color: #ff879b; }

.shadok-v2__contact-form-wrap {
    padding: 48px;
    background: #fff;
    color: var(--shadok-text);
}

.shadok-v2__form {
    position: relative;
}

.shadok-v2__form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px;
}

.shadok-v2__form label > span:first-child {
    display: block;
    margin-bottom: 8px;
    color: var(--shadok-ink);
    font-size: 13px;
    font-weight: 750;
}

.shadok-v2__form input[type="text"],
.shadok-v2__form input[type="email"],
.shadok-v2__form input[type="tel"],
.shadok-v2__form input[type="number"],
.shadok-v2__form textarea,
.shadok-v2__form select {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 13px 14px;
    border: 1px solid #cfd1d5;
    border-radius: 0;
    background: #fff;
    color: var(--shadok-text);
    font: inherit;
    font-size: 15px;
    line-height: 1.45;
}

.shadok-v2__form textarea { resize: vertical; }

.shadok-v2__field-full { grid-column: 1 / -1; }

.shadok-v2__consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 11px;
    align-items: start;
    margin: 23px 0;
}

.shadok-v2__consent input { margin-top: 5px; }
.shadok-v2__consent span { color: var(--shadok-text-soft) !important; font-weight: 400 !important; }

.shadok-v2__hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.shadok-v2__form-note {
    display: inline-block;
    margin: 0 0 0 14px;
    color: var(--shadok-text-soft);
    font-size: 12px;
}

.shadok-v2__form-message {
    scroll-margin-top: 120px;
    margin-bottom: 24px;
    padding: 16px 18px;
    border-left: 4px solid;
}

.shadok-v2__form-message--success {
    border-color: #26864a;
    background: #eaf7ef;
    color: #174b2a;
}

.shadok-v2__form-message--error {
    border-color: var(--shadok-red);
    background: #fff0f2;
    color: #7a1024;
}

.shadok-v2__center {
    margin-top: 42px;
    text-align: center;
}

.shadok-v2-footer {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 82px 0 0;
    background: #08090b;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

.shadok-v2-footer__inner {
    display: grid;
    grid-template-columns: 1.7fr repeat(3, 1fr);
    gap: 72px;
    padding-bottom: 68px;
}

.shadok-v2-footer__brand img {
    width: 200px;
    height: auto;
}

.shadok-v2-footer__brand p {
    max-width: 350px;
    margin: 25px 0 0;
    line-height: 1.7;
}

.shadok-v2-footer h2 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.shadok-v2-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.shadok-v2-footer li { margin: 10px 0; }
.shadok-v2-footer a:hover { color: #fff; }
.shadok-v2-footer address { font-style: normal; line-height: 1.9; }

.shadok-v2-footer__bottom {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
}

.shadok-v2-footer__bottom p { margin: 0; }

.shadok-v2__floating-contact {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    border-radius: 28px;
    box-shadow: 0 9px 30px rgba(0, 0, 0, 0.26);
    background: var(--shadok-red);
    color: #fff !important;
    font-size: 13px;
}

.shadok-v2__floating-contact span { font-size: 18px; }

@media (max-width: 1180px) {
    .shadok-v2__container,
    .shadok-v2-footer__inner,
    .shadok-v2-footer__bottom,
    .shadok-v2__hero-inner,
    .shadok-v2__breadcrumbs ol,
    .shadok-v2__narrow {
        width: min(calc(100% - 64px), var(--shadok-container));
    }

    .shadok-v2__section { padding: 88px 0; }
    .shadok-v2__benefit-grid, .shadok-v2__related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shadok-v2__process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shadok-v2__tech-list, .shadok-v2__checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shadok-v2-footer__inner { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
}

@media (max-width: 820px) {
    .shadok-v2 { font-size: 16px; }
    .shadok-v2__container,
    .shadok-v2-footer__inner,
    .shadok-v2-footer__bottom,
    .shadok-v2__hero-inner,
    .shadok-v2__breadcrumbs ol,
    .shadok-v2__narrow {
        width: min(calc(100% - 40px), var(--shadok-container));
    }

    .shadok-v2__hero { min-height: 720px; }
    .shadok-v2__hero-inner { padding: 130px 0 70px; }
    .shadok-v2__hero h1 { font-size: clamp(43px, 10vw, 68px); }
    .shadok-v2__hero-shade { background: linear-gradient(90deg, rgba(7, 8, 10, 0.9), rgba(7, 8, 10, 0.54)), linear-gradient(0deg, rgba(7, 8, 10, 0.88), transparent 62%); }
    .shadok-v2__scroll { display: none; }
    .shadok-v2__section { padding: 72px 0; }
    .shadok-v2__split,
    .shadok-v2__story,
    .shadok-v2__contact-layout { grid-template-columns: 1fr; gap: 44px; }
    .shadok-v2__division-grid,
    .shadok-v2__card-grid,
    .shadok-v2__portfolio-grid,
    .shadok-v2__service-index { grid-template-columns: 1fr; }
    .shadok-v2__division { min-height: 480px; }
    .shadok-v2__quote-grid { grid-template-columns: 1fr; }
    .shadok-v2__stats dl { grid-template-columns: repeat(2, 1fr); }
    .shadok-v2__stats dl > div:nth-child(3) { border-top: 1px solid rgba(255,255,255,.13); }
    .shadok-v2__stats dl > div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.13); }
    .shadok-v2__case-meta { grid-template-columns: repeat(2, 1fr); }
    .shadok-v2__gallery figure, .shadok-v2__gallery figure:nth-child(3n + 1) { grid-column: span 12; }
    .shadok-v2__gallery img, .shadok-v2__gallery figure:nth-child(3n + 1) img { height: 430px; }
    .shadok-v2-footer__inner { grid-template-columns: repeat(2, 1fr); }
    .shadok-v2-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
    .shadok-v2__container,
    .shadok-v2-footer__inner,
    .shadok-v2-footer__bottom,
    .shadok-v2__hero-inner,
    .shadok-v2__breadcrumbs ol,
    .shadok-v2__narrow { width: calc(100% - 32px); }
    .shadok-v2__hero { min-height: 650px; }
    .shadok-v2__hero h1 { font-size: 42px; }
    .shadok-v2__hero-lead { font-size: 18px; }
    .shadok-v2__actions { align-items: stretch; flex-direction: column; }
    .shadok-v2__button { width: 100%; }
    .shadok-v2__section-heading h2 { font-size: 34px; }
    .shadok-v2__division { min-height: 430px; }
    .shadok-v2__division-body { padding: 30px 26px; }
    .shadok-v2__service-card > img { height: 230px; }
    .shadok-v2__service-card > div,
    .shadok-v2__index-group,
    .shadok-v2__benefit-grid article,
    .shadok-v2__related-grid article,
    .shadok-v2__contact-form-wrap { padding: 27px 24px; }
    .shadok-v2__benefit-grid,
    .shadok-v2__related-grid,
    .shadok-v2__process,
    .shadok-v2__tech-list,
    .shadok-v2__checklist,
    .shadok-v2__form-grid { grid-template-columns: 1fr; }
    .shadok-v2__field-full { grid-column: auto; }
    .shadok-v2__process article:not(:last-child) { margin-right: 0; }
    .shadok-v2__stats dl { grid-template-columns: 1fr; }
    .shadok-v2__stats dl > div { padding: 30px 24px; border-top: 1px solid rgba(255,255,255,.13); border-right: 1px solid rgba(255,255,255,.13); }
    .shadok-v2__case-meta { grid-template-columns: 1fr; }
    .shadok-v2__gallery img, .shadok-v2__gallery figure:nth-child(3n + 1) img { height: 320px; }
    .shadok-v2__index-group ul { columns: 1; }
    .shadok-v2-footer { padding-top: 62px; }
    .shadok-v2-footer__inner { grid-template-columns: 1fr; gap: 34px; }
    .shadok-v2-footer__brand { grid-column: auto; }
    .shadok-v2-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
    .shadok-v2__floating-contact { right: 14px; bottom: 14px; }
    .shadok-v2__floating-contact b { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .shadok-v2 *,
    .shadok-v2 *::before,
    .shadok-v2 *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* WPBakery edition: the page is split into native editable rows. */
body.shadok-v2-page .entry-content {
    background: var(--shadok-paper);
    color: var(--shadok-text);
    font-size: 17px;
    line-height: 1.7;
}

body.shadok-v2-page .entry-content *,
body.shadok-v2-page .entry-content *::before,
body.shadok-v2-page .entry-content *::after {
    box-sizing: border-box;
}

body.shadok-v2-page .wpb_content_element,
body.shadok-v2-page .vc_column_container > .vc_column-inner {
    margin-bottom: 0;
}

body.shadok-v2-page .vc_column_container > .vc_column-inner {
    padding-top: 0;
}

body.shadok-v2-page .shadok-wpb-row,
body.shadok-v2-page .shadok-wpb-row > .wpb_column,
body.shadok-v2-page .shadok-wpb-row > .wpb_column > .vc_column-inner,
body.shadok-v2-page .shadok-wpb-row .wpb_wrapper {
    margin: 0;
    padding: 0;
}

/* Pełna szerokość jest gotowa przed uruchomieniem skryptu WPBakery. */
body.shadok-v2-page #themesflat-content > .container.content-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.shadok-v2-page #themesflat-content > .container.content-wrapper > .row {
    width: 100% !important;
    margin: 0 !important;
}

body.shadok-v2-page #themesflat-content > .container.content-wrapper > .row > .col-md-12,
body.shadok-v2-page #primary,
body.shadok-v2-page #main,
body.shadok-v2-page article.page,
body.shadok-v2-page .entry-content,
body.shadok-v2-page .wpb-content-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

body.shadok-v2-page .shadok-wpb-row[data-vc-full-width="true"] {
    position: relative !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    transform: none !important;
}

body.shadok-v2-page .entry-content img {
    max-width: 100%;
}

body.shadok-v2-page .entry-content a {
    text-decoration: none;
}

body.shadok-v2-page .wpb_wrapper > p:empty {
    display: none;
}

/* Film w hero jest prawdziwym materiałem wideo, plakat pozostaje fallbackiem. */
.shadok-v2__hero--video {
    overflow: hidden;
    background-position: center;
    background-size: cover;
}

.shadok-v2__hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.shadok-v2__hero--video .shadok-v2__hero-shade {
    z-index: 1;
}

.shadok-v2__hero--video .shadok-v2__hero-inner {
    position: relative;
    z-index: 2;
}

/* Poprawne, nieprzycięte zdjęcia zespołu i materiałów referencyjnych. */
.shadok-v2__feature-image {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.shadok-v2__feature-image--team,
.shadok-v2__feature-image--contain {
    aspect-ratio: auto;
    object-fit: contain !important;
    object-position: center !important;
}

/* Karty powiązanych usług mają jednoznaczną, odporną strukturę. */
.shadok-v2__related-grid article {
    min-width: 0;
    height: 100%;
    padding: 38px;
    border: 1px solid var(--shadok-line);
    background: #fff;
}

.shadok-v2__section--dark .shadok-v2__related-grid article {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.035);
}

.shadok-v2__section--dark .shadok-v2__related-grid article:hover,
.shadok-v2__section--dark .shadok-v2__related-grid article:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.075);
}

.shadok-v2__related-grid article > a {
    display: flex;
    height: 100%;
    min-height: 270px;
    flex-direction: column;
}

.shadok-v2__section--dark .shadok-v2__related-grid article > a,
.shadok-v2__section--dark .shadok-v2__related-grid article > a:hover,
.shadok-v2__section--dark .shadok-v2__related-grid article > a:focus-visible {
    color: #fff;
}

.shadok-v2__section--dark .shadok-v2__related-grid article > a > span {
    color: rgba(255, 255, 255, 0.76);
}

.shadok-v2__section--dark .shadok-v2__related-grid h3 {
    color: #fff;
}

.shadok-v2__section--dark .shadok-v2__related-grid p {
    color: rgba(255, 255, 255, 0.8);
}

.shadok-v2__related-grid article b {
    margin-top: auto;
    padding-top: 26px;
    color: var(--shadok-red);
    font-size: 22px;
}

.shadok-v2__section--dark .shadok-v2__related-grid article b {
    color: var(--shadok-red);
}

/* Logotypy klientów — czytelne również bez karuzeli i bez hovera. */
.shadok-v2__section--clients {
    overflow: hidden;
    background: #fff;
}

.shadok-v2__client-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
    margin-top: 46px;
}

.shadok-v2__client-logo {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid #e3e4e7;
    background: #fff;
}

.shadok-v2__client-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 64px;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.shadok-v2__client-logo:hover img,
.shadok-v2__client-logo:focus-within img {
    filter: none;
    opacity: 1;
    transform: scale(1.03);
}

/* Opinie korzystają ze zdjęcia z oryginalnej strony, a karty zachowują kontrast. */
.shadok-v2__section--quote {
    position: relative;
    isolation: isolate;
    background: #111216 url("https://shadok.pl/wp-content/uploads/2018/05/IMG_7681-e1563784902246.jpg") center / cover no-repeat;
}

.shadok-v2__section--quote::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(10, 12, 16, 0.66);
    content: "";
}

.shadok-v2__section--quote .shadok-v2__quote-grid blockquote {
    border-top: 4px solid var(--shadok-red);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.shadok-v2__section--quote .shadok-v2__quote-grid blockquote p,
.shadok-v2__section--quote .shadok-v2__quote-grid blockquote cite {
    color: var(--shadok-ink) !important;
}

.shadok-v2__section--quote .shadok-v2__quote-grid blockquote cite {
    display: block;
    margin-top: 20px;
    font-weight: 800;
}

/* Formularze: jasne etykiety na ciemnym tle, ciemne na jasnym. */
.shadok-v2__contact-form-wrap,
.shadok-v2__contact-form-wrap label,
.shadok-v2__contact-form-wrap label > span,
.shadok-v2__form label,
.shadok-v2__form label > span:first-child {
    color: var(--shadok-ink) !important;
}

.shadok-v2__section--contact .shadok-v2__form label,
.shadok-v2__section--contact .shadok-v2__form label > span,
.shadok-v2__section--contact .shadok-v2__form .shadok-v2__consent,
.shadok-v2__section--contact .shadok-v2__form .shadok-v2__consent span {
    color: #fff !important;
}

.shadok-v2__section--contact .shadok-v2__form-note {
    color: rgba(255, 255, 255, 0.76) !important;
}

.shadok-v2__section--contact .shadok-v2__contact-line a {
    color: #fff !important;
}

.shadok-v2__form input[type="text"],
.shadok-v2__form input[type="email"],
.shadok-v2__form input[type="tel"],
.shadok-v2__form textarea,
.shadok-v2__form select {
    border: 1px solid #aeb2ba !important;
    background: #f8f8f9 !important;
    color: var(--shadok-ink) !important;
}

.shadok-v2__form input:focus,
.shadok-v2__form textarea:focus,
.shadok-v2__form select:focus {
    border-color: var(--shadok-red) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(207, 21, 53, 0.12);
    outline: 0;
}

/* Dane kontaktowe zachowują rytm znany ze starej strony, lecz są czytelniejsze. */
.shadok-v2__contact-details {
    margin: 0;
    padding: 46px;
    background: var(--shadok-ink);
    color: #fff;
    box-shadow: var(--shadok-shadow);
}

.shadok-v2__contact-details .shadok-v2__section-heading h2,
.shadok-v2__contact-details .shadok-v2__eyebrow {
    color: #fff;
}

.shadok-v2__contact-details {
    align-self: start;
    padding: 42px 44px 36px;
}

.shadok-v2__contact-details .shadok-v2__section-heading h2 {
    max-width: 100%;
    margin-top: 8px;
    font-size: 34px !important;
    line-height: 1.1 !important;
    white-space: nowrap;
}

.shadok-v2__contact-details address {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 28px;
    font-style: normal;
}

.shadok-v2__contact-details address > div {
    position: relative;
    display: block;
    min-height: 0;
    padding: 20px 0 20px 68px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
}

.shadok-v2__contact-details address > div:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.shadok-v2__contact-details address > div::before {
    position: absolute;
    top: 22px;
    left: 0;
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--shadok-red);
    color: #fff;
    font-family: FontAwesome;
    font-size: 19px;
    line-height: 1;
}

.shadok-v2__contact-details address > div:nth-child(1)::before { content: "\f095"; }
.shadok-v2__contact-details address > div:nth-child(2)::before { content: "\f0e0"; }
.shadok-v2__contact-details address > div:nth-child(3)::before { content: "\f041"; }
.shadok-v2__contact-details address > div:nth-child(4)::before { content: "\f017"; }

.shadok-v2__contact-details address > div > span {
    display: block;
    margin-bottom: 5px;
    color: #ff8aa0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.shadok-v2__contact-details address a,
.shadok-v2__contact-details address p {
    display: block;
    margin: 0 0 2px;
    padding: 0 !important;
    color: #fff !important;
    font-size: 16px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.shadok-v2__contact-details address p:empty {
    display: none;
}

/* Widżet dostępności znajduje się obok kontaktu, na tej samej wysokości. */
.shadok-a11y-toolbar {
    top: auto !important;
    right: 143px !important;
    bottom: 24px !important;
    left: auto !important;
    z-index: 100004 !important;
}

.shadok-a11y-toolbar .shadok-a11y-panel {
    top: auto !important;
    right: 0 !important;
    bottom: calc(100% + 12px) !important;
    left: auto !important;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.shadok-a11y-toggle {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background: var(--shadok-ink) !important;
    color: #fff !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.24) !important;
}

.shadok-a11y-toggle:hover,
.shadok-a11y-toggle:focus-visible {
    background: var(--shadok-red) !important;
}

/* Wyróżnienie pozycji biznesowych w menu głównym. */
.shadok-menu-offer > a,
.shadok-menu-eu > a {
    color: var(--shadok-red) !important;
    font-weight: 800 !important;
}

.shadok-menu-eu > a .shadok-eu-menu-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

#mainnav > ul > .shadok-menu-eu > a {
    display: flex !important;
    height: 100px;
    align-items: center;
    line-height: 1.2 !important;
}

.shadok-eu-menu-flag {
    display: block;
    width: 27px;
    height: 18px;
    flex: 0 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.14);
}

#mainnav > ul > .shadok-menu-language {
    display: flex;
    align-items: center;
    margin-left: 10px !important;
}

/* Czytelna nawigacja na jasnym nagłówku i spójne menu rozwijane. */
body.shadok-v2-site #mainnav > ul > li > a {
    color: #27282c !important;
    font-family: "Fira Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

body.shadok-v2-site #mainnav > ul > li.current-menu-item > a,
body.shadok-v2-site #mainnav > ul > li.current-menu-ancestor > a,
body.shadok-v2-site #mainnav > ul > li > a:hover,
body.shadok-v2-site #mainnav > ul > li > a:focus-visible {
    color: var(--shadok-red-dark) !important;
}

body.shadok-v2-site #mainnav > ul > .shadok-menu-offer > a,
body.shadok-v2-site #mainnav > ul > .shadok-menu-eu > a {
    color: var(--shadok-red-dark) !important;
}

body.shadok-v2-site #mainnav ul.sub-menu {
    width: 300px;
    padding: 8px;
    border: 1px solid var(--shadok-line);
    border-top: 3px solid var(--shadok-red);
    border-radius: 0 0 6px 6px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(17, 18, 22, 0.18);
}

@media (min-width: 768px) and (max-width: 991px) {
    body.shadok-v2-site #mainnav-mobi {
        border-top: 3px solid var(--shadok-red);
        background: #fff;
        box-shadow: 0 16px 38px rgba(17, 18, 22, 0.18);
    }

    body.shadok-v2-site #mainnav-mobi ul li {
        border-color: var(--shadok-line);
        background: #fff;
    }

    body.shadok-v2-site #mainnav-mobi ul ul li {
        background: var(--shadok-muted);
    }

    body.shadok-v2-site #mainnav-mobi ul ul ul li {
        background: #eceef0;
    }

    body.shadok-v2-site #mainnav-mobi ul > li > a,
    body.shadok-v2-site #mainnav-mobi ul.sub-menu > li > a {
        display: block;
        height: auto;
        min-height: 48px;
        padding: 13px 44px 13px 18px;
        color: #27282c;
        line-height: 1.35;
    }

    body.shadok-v2-site #mainnav-mobi ul > li > a:hover,
    body.shadok-v2-site #mainnav-mobi ul > li > a:focus-visible,
    body.shadok-v2-site #mainnav-mobi ul > li.active > a {
        color: var(--shadok-red-dark);
    }
}

@media (max-width: 991px) {
    body.shadok-v2-site #mainnav-mobi {
        max-height: calc(100vh - 88px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    body.shadok-v2-site #mainnav-mobi ul.sub-menu {
        width: 100%;
        padding: 0;
        border: 0;
        background: var(--shadok-muted);
        box-shadow: none;
    }

    body.shadok-v2-site #mainnav-mobi .btn-submenu {
        display: none !important;
        pointer-events: none !important;
    }

    body.shadok-v2-site #mainnav-mobi .shadok-submenu-toggle {
        color: #27282c;
    }

    body.shadok-v2-site #mainnav-mobi .shadok-submenu-toggle {
        position: absolute;
        top: 0;
        right: 0;
        display: grid;
        width: 48px;
        height: 48px;
        padding: 0;
        place-items: center;
        border: 0;
        border-left: 1px solid var(--shadok-line);
        border-radius: 0;
        background: transparent;
        font-size: 22px;
        line-height: 1;
    }

    body.shadok-v2-site #mainnav-mobi .shadok-submenu-toggle span {
        transition: transform 160ms ease;
    }

    body.shadok-v2-site #mainnav-mobi .shadok-submenu-toggle.is-active span {
        transform: rotate(45deg);
    }
}

body.shadok-v2-site #mainnav ul.sub-menu li {
    border: 0;
    background: transparent;
}

body.shadok-v2-site #mainnav ul.sub-menu > li > a,
body.shadok-v2-site #mainnav .sub-menu .sub-menu > li > a {
    min-height: 42px;
    padding: 11px 13px;
    border-radius: 4px;
    color: #34353a;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.4;
}

body.shadok-v2-site #mainnav > ul > li > ul.sub-menu > li.menu-item-has-children > a {
    color: #17181c;
    font-weight: 750;
}

body.shadok-v2-site #mainnav ul.sub-menu > li > a:hover,
body.shadok-v2-site #mainnav ul.sub-menu > li > a:focus-visible {
    background: var(--shadok-muted);
    color: var(--shadok-red-dark);
}

body.shadok-v2-site #mainnav ul.sub-menu li ul.sub-menu {
    left: calc(100% + 8px);
    width: 360px;
}

body.shadok-v2-site #mainnav > ul > li:nth-last-child(-n + 6) > ul.sub-menu {
    right: 0;
    left: auto;
}

body.shadok-v2-site #mainnav > ul > li:nth-last-child(-n + 6) > ul.sub-menu ul.sub-menu {
    right: calc(100% + 8px);
    left: auto;
}

.shadok-menu-language > .sub-menu {
    display: none !important;
}

.shadok-language-switch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-left: 12px;
    border-left: 1px solid rgba(17, 18, 22, 0.18);
}

.shadok-language-flag {
    display: inline-flex !important;
    width: 28px;
    height: 19px;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 1px solid rgba(17, 18, 22, 0.2);
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    line-height: 1 !important;
}

.shadok-language-flag svg {
    display: block;
    width: 100%;
    height: 100%;
}

.shadok-language-flag:hover,
.shadok-language-flag:focus-visible {
    border-color: var(--shadok-red);
    transform: translateY(-1px);
}

@media (max-width: 1180px) {
    .shadok-v2__client-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    body.shadok-v2-site #header #logo.logo,
    body.shadok-v2-site .header-wrap #logo.logo {
        width: 200px !important;
        min-width: 200px !important;
        max-width: 200px !important;
        flex: 0 0 200px !important;
    }

    body.shadok-v2-site #header #logo.logo .site-logo,
    body.shadok-v2-site .header-wrap #logo.logo .site-logo {
        width: 100% !important;
        max-width: 200px !important;
        height: auto !important;
    }
}

@media (min-width: 1200px) and (max-width: 1349px) {
    body.shadok-v2-site #header #logo.logo,
    body.shadok-v2-site .header-wrap #logo.logo {
        width: 170px !important;
        min-width: 170px !important;
        max-width: 170px !important;
        flex-basis: 170px !important;
    }

    body.shadok-v2-site #mainnav > ul > li > a {
        padding-right: 4px !important;
        padding-left: 4px !important;
        font-size: 11px !important;
        letter-spacing: 0 !important;
        white-space: nowrap;
    }

    body.shadok-v2-site #mainnav > ul > .shadok-menu-language {
        margin-left: 4px !important;
    }
}

@media (min-width: 1350px) {
    body.shadok-v2-site .themesflat-top > .container,
    body.shadok-v2-site #header > .nav > .container {
        width: calc(100% - 30px);
        max-width: var(--shadok-container);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    body.shadok-v2-site .themesflat-top .container-inside {
        display: table;
        width: 100%;
        min-height: 0;
    }

    body.shadok-v2-site .themesflat-top .content-left,
    body.shadok-v2-site .themesflat-top .content-right {
        display: table-cell;
    }

    body.shadok-v2-site .themesflat-top .content-left {
        text-align: left;
    }

    body.shadok-v2-site .themesflat-top .content-right {
        text-align: right;
    }

    body.shadok-v2-site #header #logo.logo,
    body.shadok-v2-site .header-wrap #logo.logo {
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        flex: 0 0 150px !important;
    }

    body.shadok-v2-site #header #logo.logo .site-logo,
    body.shadok-v2-site .header-wrap #logo.logo .site-logo {
        width: 100% !important;
        max-width: 150px !important;
        height: auto !important;
    }

    body.shadok-v2-site #mainnav > ul > li > a {
        padding-right: 4px !important;
        padding-left: 4px !important;
        font-size: 11px !important;
        letter-spacing: 0 !important;
        white-space: nowrap;
    }

    body.shadok-v2-site #mainnav > ul > .shadok-menu-language {
        margin-left: 4px !important;
    }

    body.shadok-v2-site .shadok-language-switch {
        gap: 5px;
        padding-left: 7px;
    }
}

@media (max-width: 767px) {
    .shadok-v2__client-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .shadok-v2__client-logo {
        min-height: 96px;
        padding: 16px;
    }

    .shadok-v2__contact-details {
        padding: 30px 24px 26px;
    }

    .shadok-v2__contact-details .shadok-v2__section-heading h2 {
        font-size: 32px !important;
    }

    .shadok-v2__contact-details address > div {
        padding-left: 62px;
    }

    .shadok-a11y-toolbar {
        top: auto !important;
        right: 78px !important;
        bottom: 18px !important;
        left: auto !important;
    }

    .shadok-a11y-toolbar .shadok-a11y-panel {
        position: fixed !important;
        right: 12px !important;
        bottom: 82px !important;
        left: 12px !important;
        width: auto !important;
        max-width: none !important;
    }

    .shadok-v2__floating-contact {
        right: 14px;
        bottom: 18px;
    }

    #mainnav-mobi .shadok-menu-language {
        padding: 13px 20px;
    }

    #mainnav-mobi .shadok-language-switch {
        padding-left: 0;
        border-left: 0;
    }

    body.shadok-v2-site #mainnav-mobi {
        border-top: 3px solid var(--shadok-red);
        background: #fff;
        box-shadow: 0 16px 38px rgba(17, 18, 22, 0.18);
    }

    body.shadok-v2-site #mainnav-mobi ul li {
        border-color: var(--shadok-line);
        background: #fff;
    }

    body.shadok-v2-site #mainnav-mobi ul ul li {
        background: var(--shadok-muted);
    }

    body.shadok-v2-site #mainnav-mobi ul ul ul li {
        background: #eceef0;
    }

    body.shadok-v2-site #mainnav-mobi ul > li > a,
    body.shadok-v2-site #mainnav-mobi ul.sub-menu > li > a {
        display: block;
        height: auto;
        min-height: 48px;
        padding: 13px 44px 13px 18px;
        color: #27282c;
        line-height: 1.35;
    }

    body.shadok-v2-site #mainnav-mobi ul > li > a:hover,
    body.shadok-v2-site #mainnav-mobi ul > li > a:focus-visible,
    body.shadok-v2-site #mainnav-mobi ul > li.active > a {
        color: var(--shadok-red-dark);
    }
}
body.shadok-v2-page article.page > footer#footer.entry-footer {
  display: none !important;
}

/* Porządki na stronie głównej: bez breadcrumbu i technicznych przerw między sekcjami. */
body.shadok-v2-home .shadok-v2__breadcrumbs {
    display: none !important;
}

body.shadok-v2-home .wpb-content-wrapper > br,
body.shadok-v2-home .wpb-content-wrapper > .shadok-wpb-row:has(.shadok-v2__breadcrumbs) {
    display: none !important;
}

body.shadok-v2-home #uslugi.shadok-v2__section,
body.shadok-v2-home #services.shadok-v2__section {
    padding-bottom: 0;
}

/* Powrót na górę w jednej linii z kontaktem i ustawieniami dostępności. */
body.shadok-v2-site .go-top {
    right: 24px !important;
    bottom: 24px !important;
    display: flex !important;
    width: 52px !important;
    height: 52px !important;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    background: var(--shadok-red) !important;
    box-shadow: 0 9px 30px rgba(0, 0, 0, 0.26) !important;
    color: #fff !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
    transform: translateX(calc(100% + 32px)) !important;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, visibility 0s linear 0.34s, background-color 0.2s ease !important;
}

body.shadok-v2-site .go-top.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: translateX(0) !important;
    transition-delay: 0s !important;
}

body.shadok-v2-site .go-top.show:hover,
body.shadok-v2-site .go-top.show:focus-visible {
    background: var(--shadok-ink) !important;
    transform: translateX(0) translateY(-2px) !important;
}

body.shadok-v2-site .go-top i {
    color: inherit !important;
    font-size: 16px;
}

body.shadok-v2-site .shadok-a11y-toolbar,
body.shadok-v2-site .shadok-v2__floating-contact {
    transition: right 0.34s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body.shadok-v2-site:has(.go-top.show) .shadok-v2__floating-contact {
    right: 89px !important;
}

body.shadok-v2-site:has(.go-top.show) .shadok-a11y-toolbar {
    right: 208px !important;
}

/* Case study: metryka i opis projektu tworzą niezależne kolumny w jednym wierszu. */
.shadok-v2__case-overview {
    border-top: 1px solid var(--shadok-line);
}

.shadok-v2__case-overview-grid {
    display: grid;
    width: calc(100% - 96px);
    max-width: none;
    grid-template-columns: minmax(320px, 1fr) minmax(0, 900px) minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.shadok-v2__case-overview .shadok-v2__case-meta {
    display: block;
    width: 100%;
    max-width: 380px;
    min-width: 0;
    grid-column: 1;
    border: 0;
}

.shadok-v2__case-overview .shadok-v2__case-meta dl {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;
}

.shadok-v2__case-overview .shadok-v2__case-meta dl > div {
    margin: 0 0 26px;
    padding: 0 0 26px;
    border-bottom: 1px solid var(--shadok-line);
}

.shadok-v2__case-overview .shadok-v2__case-meta dl > div:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.shadok-v2__case-main {
    width: 100%;
    max-width: 900px;
    min-width: 0;
    grid-column: 2;
}

.shadok-v2__case-main .shadok-v2__section-heading {
    max-width: none;
}

.shadok-v2__case-main .shadok-v2__story {
    align-items: start;
    gap: clamp(44px, 5vw, 72px);
}

@media (max-width: 767px) {
    body.shadok-v2-home #uslugi.shadok-v2__section,
    body.shadok-v2-home #services.shadok-v2__section {
        padding-bottom: 0;
    }

    body.shadok-v2-site .go-top {
        right: 14px !important;
        bottom: 18px !important;
    }

    body.shadok-v2-site:has(.go-top.show) .shadok-v2__floating-contact {
        right: 78px !important;
    }

    body.shadok-v2-site:has(.go-top.show) .shadok-a11y-toolbar {
        right: 142px !important;
    }
}

@media (max-width: 1180px) {
    .shadok-v2__case-overview-grid {
        width: min(calc(100% - 64px), var(--shadok-container));
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .shadok-v2__case-overview .shadok-v2__case-meta,
    .shadok-v2__case-main {
        max-width: none;
        grid-column: 1;
    }

    .shadok-v2__case-main {
        width: min(100%, 900px);
        margin-inline: auto;
    }

    .shadok-v2__case-overview .shadok-v2__case-meta dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 32px;
    }
}

@media (max-width: 820px) {
    body.shadok-v2-home .shadok-v2__hero {
        background-image: url("https://shadok.pl/wp-content/uploads/2019/10/shadok-video-hero-poster-1280.webp") !important;
    }

    .shadok-v2__section--quote {
        background-image: none;
    }

    .shadok-v2__case-overview-grid {
        width: min(calc(100% - 40px), var(--shadok-container));
    }
}

@media (max-width: 540px) {
    .shadok-v2__case-overview-grid {
        width: calc(100% - 32px);
    }

    .shadok-v2__case-overview .shadok-v2__case-meta dl {
        grid-template-columns: 1fr;
    }
}
