:root {
    color-scheme: dark;

    --rth-bg: #050912;
    --rth-bg-soft: #09111d;

    --rth-text: #f5f7fa;
    --rth-text-soft: rgba(255,255,255,.76);
    --rth-text-muted: rgba(255,255,255,.56);

    --rth-accent: #38bdf8;
    --rth-accent-soft: rgba(56,189,248,.12);

    --rth-cyan: rgba(56,189,248,.95);
    --rth-magenta: rgba(236,72,153,.85);
    --rth-yellow: rgba(250,204,21,.85);

    --rth-border: rgba(255,255,255,.09);
    --rth-border-hover: rgba(56,189,248,.28);

    --rth-radius: 16px;

    --rth-shadow:
        0 20px 55px rgba(0,0,0,.35);

    --rth-font:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* =========================================================
   RESET / PODSTAWY
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--rth-bg);

    scrollbar-width: thin;
    scrollbar-color:
        rgba(255,255,255,.20)
        transparent;
}

body {
    margin: 0;
    min-height: 100vh;

    color: var(--rth-text);
    font-family: var(--rth-font);

    /*
     * =====================================================
     * GŁÓWNE TŁO
     * =====================================================
     *
     * 100% auto:
     * - obraz dopasowuje się szerokością,
     * - wysokość zachowuje proporcje,
     * - brak deformacji.
     *
     * fixed:
     * - obraz pozostaje nieruchomy podczas scrollowania.
     */

    background:
        linear-gradient(
            rgba(3,8,18,.78),
            rgba(3,8,18,.84)
        ),
        url("../images/rth-workshop.jpg");

    background-size:
        100% auto;

    background-position:
        center top;

    background-repeat:
        no-repeat;

    background-attachment:
        fixed;

    background-color:
        var(--rth-bg);

    overflow-x:
        hidden;
}

body::before {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;
    z-index: -1;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(56,189,248,.07),
            transparent 32%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(56,189,248,.045),
            transparent 35%
        );
}

::selection {
    color: #fff;
    background: rgba(56,189,248,.28);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.18);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(56,189,248,.40);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* =========================================================
   WORDPRESS
   ========================================================= */

.wp-block-group,
.wp-block-group__inner-container {
    background: transparent !important;
}


/* =========================================================
   TYPOGRAFIA
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--rth-text);

    font-weight: 650;

    letter-spacing: -.025em;
    line-height: 1.15;

    text-wrap: balance;
}

h1 {
    font-size: clamp(40px, 5vw, 68px);
}

h2 {
    font-size: clamp(30px, 3.5vw, 46px);
}

h3 {
    font-size: 25px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 17px;
}

h6 {
    font-size: 15px;
}

p {
    color: var(--rth-text-soft);

    line-height: 1.75;

    text-wrap: pretty;
}

a {
    color: rgba(255,255,255,.88);

    text-decoration: none;

    transition:
        color .25s ease,
        opacity .25s ease;
}

a:hover {
    color: #fff;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

:focus-visible {
    outline: 2px solid rgba(56,189,248,.65);
    outline-offset: 3px;
}


/* =========================================================
   NAWIGACJA
   ========================================================= */

#masthead,
.site-header {
    background: transparent !important;
}

#site-navigation.main-navigation {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;

    margin: 0 !important;

    z-index: 99999 !important;

    background:
        rgba(3,8,18,.88) !important;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 0 !important;

    border-bottom:
        1px solid rgba(255,255,255,.07) !important;

    box-shadow:
        0 8px 30px rgba(0,0,0,.22);

    transition:
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

#site-navigation.main-navigation.rth-scroll {
    background:
        rgba(3,8,18,.96) !important;

    border-bottom-color:
        rgba(56,189,248,.12) !important;

    box-shadow:
        0 12px 35px rgba(0,0,0,.30);
}

#site-navigation .inside-navigation {
    width: 100%;
    max-width: 1280px;

    height: 62px;
    min-height: 62px;

    margin: 0 auto;

    padding: 0 30px !important;

    display: flex;
    align-items: center;
}

#site-navigation .main-nav {
    height: 100%;

    display: flex;
    align-items: center;
}

#site-navigation .main-nav > ul,
#site-navigation .menu {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 2px;

    margin: 0;
    padding: 0;
}

#site-navigation .main-nav > ul > li,
#site-navigation .menu > .menu-item {
    height: 100%;

    display: flex;
    align-items: center;
}

#site-navigation .main-nav > ul > li > a,
#site-navigation .menu > .menu-item > a {
    position: relative;

    height: 100%;
    min-height: 62px;

    display: flex;
    align-items: center;

    padding: 0 15px !important;

    color:
        rgba(255,255,255,.66) !important;

    font-size: 13px;
    font-weight: 500;

    transition:
        color .25s ease,
        background .25s ease;
}

#site-navigation .main-nav > ul > li > a:hover,
#site-navigation .menu > .menu-item > a:hover {
    color: #fff !important;
}

#site-navigation .main-nav > ul > li > a::after,
#site-navigation .menu > .menu-item > a::after {
    content: "";

    position: absolute;

    left: 15px;
    right: 15px;
    bottom: 6px;

    height: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--rth-cyan),
            var(--rth-magenta),
            var(--rth-yellow)
        );

    opacity: 0;

    transform: scaleX(.5);

    transition:
        opacity .25s ease,
        transform .25s ease;
}

#site-navigation .main-nav > ul > li > a:hover::after,
#site-navigation .menu > .menu-item > a:hover::after,
#site-navigation .current-menu-item > a::after,
#site-navigation .current_page_item > a::after,
#site-navigation .current-menu-ancestor > a::after,
#site-navigation .current-menu-parent > a::after {
    opacity: 1;

    transform: scaleX(1);
}

#site-navigation .current-menu-item > a,
#site-navigation .current_page_item > a,
#site-navigation .current-menu-ancestor > a,
#site-navigation .current-menu-parent > a {
    color: #fff !important;
}

#site-navigation .main-nav ul ul {
    display: block;

    min-width: 205px;

    margin-top: 5px;
    padding: 6px;

    background:
        rgba(6,13,25,.98) !important;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 12px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.45);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-5px);

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;
}

#site-navigation .main-nav li:hover > ul {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

#site-navigation .main-nav ul ul li {
    width: 100%;
}

#site-navigation .main-nav ul ul li a {
    width: 100%;

    min-height: 38px;

    padding: 0 12px !important;

    display: flex;
    align-items: center;

    border-radius: 8px;

    color:
        rgba(255,255,255,.68) !important;

    font-size: 12px;

    transition:
        color .2s ease,
        background .2s ease;
}

#site-navigation .main-nav ul ul li a:hover {
    color: #fff !important;

    background:
        rgba(56,189,248,.08);
}


/* =========================================================
   PANELE / GLASS
   ========================================================= */

.rth-glass,
.rth-panel,
.rth-module {
    position: relative;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.065),
            rgba(5,12,24,.82)
        );

    border:
        1px solid var(--rth-border);

    border-radius:
        var(--rth-radius);

    box-shadow:
        var(--rth-shadow);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.rth-glass:hover,
.rth-panel:hover,
.rth-module:hover {
    transform: translateY(-4px);

    border-color:
        var(--rth-border-hover);

    box-shadow:
        0 25px 65px rgba(0,0,0,.40),
        0 0 25px rgba(56,189,248,.055);
}

.rth-action-panel {
    position: relative;

    padding: 42px;

    background:
        linear-gradient(
            135deg,
            rgba(56,189,248,.08),
            rgba(5,12,24,.88)
        );

    border:
        1px solid rgba(56,189,248,.15);

    border-radius: 18px;

    box-shadow:
        0 25px 70px rgba(0,0,0,.40);
}

.rth-action-title {
    color: #fff;

    font-size:
        clamp(29px,3vw,44px);

    font-weight: 650;
}

.rth-action-description {
    max-width: 620px;

    color:
        var(--rth-text-soft);

    line-height: 1.8;
}

.rth-label,
.rth-meta {
    display: flex;

    align-items: center;

    gap: 8px;

    color:
        var(--rth-text-muted);

    font-size: 11px;

    letter-spacing: .14em;

    text-transform: uppercase;
}

.rth-label::before {
    content: "";

    width: 6px;
    height: 6px;

    flex: 0 0 auto;

    border-radius: 50%;

    background:
        var(--rth-accent);

    box-shadow:
        0 0 8px rgba(56,189,248,.45);
}

.rth-status-line {
    display: flex;

    align-items: center;

    gap: 9px;

    color:
        var(--rth-text-soft);

    font-size: 13px;
}

.rth-status-online {
    width: 7px;
    height: 7px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: #34d399;

    box-shadow:
        0 0 10px rgba(52,211,153,.50);
}


/* =========================================================
   PRZYCISKI
   ========================================================= */

.rth-button,
.wp-block-button__link,
.wp-element-button,
button,
input[type="submit"] {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 11px 23px;

    color: #fff !important;

    background:
        rgba(255,255,255,.055);

    border:
        1px solid rgba(255,255,255,.12) !important;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 550;

    cursor: pointer;

    text-decoration: none !important;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.rth-button:hover,
.wp-block-button__link:hover,
.wp-element-button:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);

    background:
        rgba(56,189,248,.10);

    border-color:
        rgba(56,189,248,.35) !important;

    box-shadow:
        0 10px 30px rgba(0,0,0,.25);
}

.rth-button:active,
button:active,
input[type="submit"]:active {
    transform: translateY(0);
}

.rth-button-small {
    min-height: 36px;

    padding: 8px 16px;

    font-size: 13px;
}


/* =========================================================
   FORMULARZE
   ========================================================= */

input,
textarea,
select {
    width: 100%;

    padding: 13px 15px;

    color: #fff;

    background:
        rgba(255,255,255,.035) !important;

    border:
        1px solid rgba(255,255,255,.10) !important;

    border-radius: 10px;

    font-size: 15px;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

input::placeholder,
textarea::placeholder {
    color:
        rgba(255,255,255,.45);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;

    background:
        rgba(56,189,248,.045) !important;

    border-color:
        rgba(56,189,248,.45) !important;

    box-shadow:
        0 0 0 3px rgba(56,189,248,.07);
}

textarea {
    min-height: 150px;

    resize: vertical;
}


/* =========================================================
   ELEMENTY POMOCNICZE
   ========================================================= */

.rth-divider {
    height: 1px;

    margin: 28px 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.10),
            transparent
        );
}

.rth-value {
    display: inline-block;

    color: #fff;

    font-size: 34px;

    font-weight: 650;
}

.rth-description {
    color:
        var(--rth-text-soft);

    font-size: 14px;

    line-height: 1.7;
}

.rth-reveal {
    opacity: 0;

    transform: translateY(18px);

    transition:
        opacity .55s ease,
        transform .55s ease;
}

.rth-reveal.rth-visible {
    opacity: 1;

    transform: translateY(0);
}

.rth-mobile-trigger,
.rth-mobile-backdrop,
.rth-mobile-drawer {
    display: none;
}


/* =========================================================
   TABELA — DESKTOP
   ========================================================= */

.wp-block-table {
    width: 100%;

    margin: 32px 0 44px;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}

.wp-block-table table {
    width: 100%;

    min-width: 620px;

    margin: 0;

    border-collapse: separate;

    border-spacing: 0;

    background:
        rgba(255,255,255,.025);

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 0;

    overflow: hidden;

    box-shadow:
        0 18px 45px rgba(0,0,0,.22);
}

.wp-block-table thead th {
    padding: 15px 18px;

    background:
        rgba(255,255,255,.055);

    color:
        rgba(255,255,255,.88);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: .035em;

    text-align: left;

    border-bottom:
        1px solid rgba(255,255,255,.10);
}

.wp-block-table tbody td {
    padding: 15px 18px;

    color:
        rgba(255,255,255,.72);

    font-size: 14px;

    line-height: 1.55;

    vertical-align: middle;

    border-bottom:
        1px solid rgba(255,255,255,.055);

    transition:
        background .2s ease,
        color .2s ease;
}

.wp-block-table tbody td:first-child {
    color:
        rgba(255,255,255,.92);

    font-weight: 500;
}

.wp-block-table tbody tr:last-child td {
    border-bottom: 0;
}

.wp-block-table tbody tr:hover td {
    background:
        rgba(56,189,248,.035);

    color:
        rgba(255,255,255,.80);
}

.wp-block-table tbody tr:hover td:first-child {
    color: #fff;
}

.wp-block-table th:last-child,
.wp-block-table td:last-child {
    text-align: right;

    white-space: nowrap;
}

.wp-block-table td strong {
    color: #fff;

    font-weight: 600;
}

.wp-block-table td a {
    color:
        rgba(255,255,255,.90);

    text-decoration: underline;

    text-decoration-color:
        rgba(56,189,248,.35);

    text-underline-offset: 3px;
}

.wp-block-table td a:hover {
    color: #fff;

    text-decoration-color:
        var(--rth-accent);
}


/* =========================================================
   LISTY
   ========================================================= */

.rth-justified-content ul,
.rth-justified-content ol {
    margin:
        20px 0 32px !important;

    padding:
        0 !important;

    list-style:
        none !important;
}

.rth-justified-content ul li,
.rth-justified-content ol li {
    margin:
        0 !important;

    padding:
        7px 0 !important;

    color:
        var(--rth-text) !important;

    line-height:
        1.65;
}

.rth-justified-content ul li::before,
.rth-justified-content ol li::before,
.rth-justified-content ul li::after,
.rth-justified-content ol li::after {
    content:
        none !important;

    display:
        none !important;
}

.rth-justified-content ul li::marker,
.rth-justified-content ol li::marker {
    content:
        "" !important;

    color:
        transparent !important;

    font-size:
        0;
}

.rth-justified-content li strong {
    color:
        #fff !important;

    font-weight:
        600;
}


/* =========================================================
   WORDPRESS HEADER
   ========================================================= */

#masthead,
.site-header {
    height:
        0 !important;

    min-height:
        0 !important;

    margin:
        0 !important;

    padding:
        0 !important;

    overflow:
        hidden !important;
}


/* =========================================================
   FOOTER WORDPRESS
   ========================================================= */

.site-footer {
    background:
        #050912 !important;

    color:
        rgba(255,255,255,.72) !important;

    border-top:
        1px solid rgba(255,255,255,.07) !important;

    box-shadow:
        none !important;
}

.site-footer .inside-footer-widgets {
    padding:
        45px 30px 35px !important;
}

.site-footer .footer-widgets {
    background:
        transparent !important;
}

.site-footer p,
.site-footer li,
.site-footer span {
    color:
        rgba(255,255,255,.72) !important;
}

.site-footer a {
    color:
        rgba(255,255,255,.82) !important;

    text-decoration:
        none !important;

    transition:
        color .25s ease,
        opacity .25s ease;
}

.site-footer a:hover {
    color:
        #fff !important;
}

.site-info {
    background:
        #050912 !important;

    color:
        rgba(255,255,255,.48) !important;

    border-top:
        1px solid rgba(255,255,255,.06) !important;

    padding:
        20px 30px !important;

    text-align:
        center;

    font-size:
        13px;
}

.site-info a {
    color:
        rgba(255,255,255,.56) !important;
}

.site-info a:hover {
    color:
        #fff !important;
}


/* =========================================================
   WŁASNY FOOTER RTH
   ========================================================= */

.rth-footer {
    width:
        100%;

    background:
        #050912;

    border-top:
        1px solid rgba(255,255,255,.07);
}

.rth-footer-main {
    width:
        min(1200px, 100%);

    margin:
        0 auto;

    padding:
        34px 30px;

    display:
        grid;

    grid-template-columns:
        1.4fr 1fr 1fr;

    align-items:
        center;

    gap:
        50px;
}

.rth-footer-brand {
    display:
        flex;

    flex-direction:
        column;

    gap:
        6px;
}

.rth-footer-brand strong {
    color:
        #fff;

    font-size:
        18px;

    font-weight:
        650;

    letter-spacing:
        -.02em;
}

.rth-footer-brand span {
    color:
        rgba(255,255,255,.52);

    font-size:
        13px;

    line-height:
        1.5;
}

.rth-footer-contact {
    display:
        flex;

    align-items:
        center;

    gap:
        34px;
}

.rth-footer-contact a,
.rth-footer-contact div {
    display:
        flex;

    flex-direction:
        column;

    gap:
        5px;
}

.rth-footer-contact span,
.rth-footer-socials > span {
    color:
        rgba(255,255,255,.42);

    font-size:
        11px;

    letter-spacing:
        .04em;

    text-transform:
        uppercase;
}

.rth-footer-contact strong {
    color:
        rgba(255,255,255,.86);

    font-size:
        13px;

    font-weight:
        500;

    white-space:
        nowrap;
}

.rth-footer-contact a {
    text-decoration:
        none;
}

.rth-footer-contact a:hover strong {
    color:
        #fff;
}

.rth-footer-socials {
    display:
        flex;

    flex-direction:
        column;

    align-items:
        flex-end;

    gap:
        8px;
}

.rth-footer-social-links {
    display:
        flex;

    align-items:
        center;

    gap:
        18px;
}

.rth-footer-social-links a {
    color:
        rgba(255,255,255,.62);

    font-size:
        13px;

    text-decoration:
        none;

    transition:
        color .25s ease;
}

.rth-footer-social-links a:hover {
    color:
        #fff;
}

.rth-footer-bottom {
    width:
        min(1200px, 100%);

    margin:
        0 auto;

    padding:
        16px 30px 20px;

    border-top:
        1px solid rgba(255,255,255,.055);

    color:
        rgba(255,255,255,.38);

    font-size:
        12px;
}


/* =========================================================
   RTH — KONTAKT
   ========================================================= */

.rth-contact {
    width:
        100%;

    max-width:
        1180px;

    margin:
        0 auto;
}

.rth-contact > .wp-block-heading {
    margin-bottom:
        14px;
}

.rth-contact > .wp-block-paragraph {
    max-width:
        700px;

    margin:
        0 0 8px;
}

.rth-contact > .wp-block-paragraph:nth-of-type(2) {
    margin-top:
        18px;

    margin-bottom:
        34px;
}

.rth-contact-methods {
    display:
        grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        0;

    margin-top:
        4px;

    border-top:
        1px solid var(--rth-border);

    border-bottom:
        1px solid var(--rth-border);
}

.rth-contact-method {
    display:
        flex;

    align-items:
        center;

    min-width:
        0;

    padding:
        24px 26px;

    border-right:
        1px solid var(--rth-border);
}

.rth-contact-method:last-child {
    border-right:
        0;
}

.rth-contact-method-icon {
    width:
        38px;

    height:
        38px;

    flex:
        0 0 38px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin-right:
        15px;

    color:
        var(--rth-accent);

    font-size:
        16px;

    border:
        1px solid rgba(56,189,248,.14);

    background:
        rgba(56,189,248,.045);

    border-radius:
        10px;

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.rth-contact-method:hover .rth-contact-method-icon {
    border-color:
        rgba(56,189,248,.28);

    background:
        rgba(56,189,248,.075);

    box-shadow:
        0 0 20px rgba(56,189,248,.06);
}

.rth-contact-method-content {
    min-width:
        0;

    display:
        flex;

    flex-direction:
        column;

    gap:
        4px;
}

.rth-contact-method-content > span {
    color:
        var(--rth-text);

    font-size:
        11px;

    font-weight:
        600;

    letter-spacing:
        .07em;

    text-transform:
        uppercase;
}

.rth-contact-method-content strong {
    color:
        var(--rth-text);

    font-size:
        14px;

    font-weight:
        500;

    line-height:
        1.45;

    overflow-wrap:
        anywhere;
}

.rth-contact-method-content a {
    color:
        inherit;

    text-decoration:
        none;

    transition:
        color .2s ease;
}

.rth-contact-method-content a:hover {
    color:
        var(--rth-accent);
}

.rth-contact-method-content small {
    color:
        var(--rth-text-soft);

    font-size:
        11px;

    line-height:
        1.4;
}

.rth-contact-form {
    margin-top:
        42px;
}

.rth-contact-form h3 {
    margin-bottom:
        8px;
}

.rth-contact-form > p {
    margin-top:
        0;

    margin-bottom:
        24px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .rth-contact-method {
        padding:
            22px 18px;
    }

    .rth-contact-method-content > span {
        font-size:
            10px;
    }

    .rth-contact-method-content strong {
        font-size:
            13px;
    }

    .rth-footer-main {
        grid-template-columns:
            1fr 1fr;

        gap:
            30px;
    }

    .rth-footer-socials {
        align-items:
            flex-start;
    }
}


/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 768px) {

    html {
        background:
            #09111d;

        scroll-behavior:
            auto;
    }

    body {
        position:
            relative;

        isolation:
            isolate;

        /*
         * Tło nadal jest ZABLOKOWANE.
         * Nie zmieniamy fixed na scroll.
         */

        background:
            linear-gradient(
                rgba(5,10,20,.56),
                rgba(5,10,20,.64)
            ),
            url("../images/rth-workshop.jpg");

        background-size:
            100% auto;

        background-position:
            center top;

        background-repeat:
            no-repeat;

        background-attachment:
            fixed !important;

        background-color:
            #09111d;

        overflow-x:
            hidden;
    }

    body::before {
        position:
            fixed !important;

        inset:
            0 !important;

        z-index:
            -1 !important;

        background:
            radial-gradient(
                circle at 20% 20%,
                rgba(56,189,248,.045),
                transparent 32%
            ),
            radial-gradient(
                circle at 80% 80%,
                rgba(56,189,248,.025),
                transparent 35%
            );
    }


    /* =====================================================
       TEKST — WIĘKSZY KONTRAST
       ===================================================== */

    p,
    .rth-description,
    .rth-action-description {
        color:
            rgba(255,255,255,.84) !important;
    }

    .rth-justified-content li {
        color:
            rgba(255,255,255,.88) !important;
    }

    .rth-label,
    .rth-meta {
        color:
            rgba(255,255,255,.64) !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color:
            #fff !important;
    }

    a {
        color:
            rgba(255,255,255,.94);
    }


    /* =====================================================
       PANELE — BEZ CIĘŻKIEGO BLUR
       ===================================================== */

    .rth-glass,
    .rth-panel,
    .rth-module,
    .rth-action-panel {

        backdrop-filter:
            none !important;

        -webkit-backdrop-filter:
            none !important;

        transform:
            none !important;
    }

    .rth-glass,
    .rth-panel,
    .rth-module {

        background:
            linear-gradient(
                145deg,
                rgba(18,30,48,.90),
                rgba(7,15,28,.93)
            ) !important;

        border-color:
            rgba(255,255,255,.12) !important;

        box-shadow:
            0 8px 24px rgba(0,0,0,.18) !important;

        transition:
            border-color .2s ease,
            background-color .2s ease;
    }

    .rth-action-panel {

        background:
            linear-gradient(
                145deg,
                rgba(12,45,65,.92),
                rgba(7,15,28,.95)
            ) !important;

        border-color:
            rgba(56,189,248,.20) !important;

        box-shadow:
            0 10px 28px rgba(0,0,0,.22) !important;
    }


    /* =====================================================
       HOVER — WYŁĄCZONE NA TELEFONIE
       ===================================================== */

    .rth-glass:hover,
    .rth-panel:hover,
    .rth-module:hover {

        transform:
            none !important;

        border-color:
            rgba(255,255,255,.12) !important;

        box-shadow:
            0 8px 24px rgba(0,0,0,.18) !important;
    }


    /* =====================================================
       REVEAL — BEZ ANIMACJI
       ===================================================== */

    .rth-reveal {

        opacity:
            1 !important;

        transform:
            none !important;

        transition:
            none !important;
    }


    /* =====================================================
       NAWIGACJA
       ===================================================== */

    #site-navigation.main-navigation {

        backdrop-filter:
            none !important;

        -webkit-backdrop-filter:
            none !important;

        background:
            rgba(3,8,18,.97) !important;

        box-shadow:
            0 5px 20px rgba(0,0,0,.22) !important;
    }

    #site-navigation .inside-navigation {

        height:
            56px;

        min-height:
            56px;

        padding:
            0 18px !important;
    }

    #site-navigation .main-nav > ul > li > a,
    #site-navigation .menu > .menu-item > a {

        min-height:
            56px;
    }


    /* =====================================================
       TABELE — KARTY
       ===================================================== */

    .wp-block-table {

        width:
            100%;

        margin:
            26px 0 36px;

        overflow:
            visible;
    }

    .wp-block-table table {

        width:
            100%;

        min-width:
            0;

        border:
            0;

        background:
            transparent;

        box-shadow:
            none;

        border-spacing:
            0;
    }

    .wp-block-table thead {
        display:
            none;
    }

    .wp-block-table tbody {

        display:
            flex;

        flex-direction:
            column;

        gap:
            12px;
    }

    .wp-block-table tbody tr {

        display:
            grid;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        margin:
            0;

        padding:
            17px 18px;

        background:
            linear-gradient(
                145deg,
                rgba(20,33,51,.92),
                rgba(7,15,28,.94)
            );

        border:
            1px solid rgba(255,255,255,.12);

        border-radius:
            14px;

        box-shadow:
            0 8px 20px rgba(0,0,0,.15);
    }

    .wp-block-table tbody td {

        display:
            block;

        min-width:
            0;

        padding:
            6px 0;

        border:
            0;

        color:
            rgba(255,255,255,.82) !important;

        font-size:
            13px;

        line-height:
            1.5;

        text-align:
            left !important;

        white-space:
            normal;

        overflow-wrap:
            anywhere;
    }

    .wp-block-table tbody td:first-child {

        grid-column:
            1 / -1;

        padding:
            0 0 13px;

        margin-bottom:
            4px;

        color:
            #fff !important;

        font-size:
            15px;

        font-weight:
            650;

        line-height:
            1.35;

        border-bottom:
            1px solid rgba(255,255,255,.10);
    }


    /* =====================================================
       ETYKIETY TABEL
       ===================================================== */

    .wp-block-table tbody td:nth-child(2)::before {

        content:
            "Robocizna";

        display:
            block;

        margin-bottom:
            2px;

        color:
            rgba(255,255,255,.55) !important;

        font-size:
            10px;

        font-weight:
            500;

        letter-spacing:
            .08em;

        text-transform:
            uppercase;
    }

    .wp-block-table tbody td:nth-child(3)::before {

        content:
            "Części";

        display:
            block;

        margin-bottom:
            2px;

        color:
            rgba(255,255,255,.55) !important;

        font-size:
            10px;

        font-weight:
            500;

        letter-spacing:
            .08em;

        text-transform:
            uppercase;
    }

    .wp-block-table tbody td:nth-child(4)::before {

        content:
            "Okres gwarancji";

        display:
            block;

        margin-bottom:
            2px;

        color:
            rgba(255,255,255,.55) !important;

        font-size:
            10px;

        font-weight:
            500;

        letter-spacing:
            .08em;

        text-transform:
            uppercase;
    }

    .wp-block-table tbody td:nth-child(5)::before {

        content:
            "Limit wydruków";

        display:
            block;

        margin-bottom:
            2px;

        color:
            rgba(255,255,255,.55) !important;

        font-size:
            10px;

        font-weight:
            500;

        letter-spacing:
            .08em;

        text-transform:
            uppercase;
    }


    /* =====================================================
       CENA
       ===================================================== */

    .wp-block-table tbody td:nth-child(2) {

        color:
            rgba(255,255,255,.94) !important;

        font-weight:
            550;
    }

    .wp-block-table tbody td strong {
        color:
            #fff !important;
    }

    .wp-block-table tbody tr td:nth-child(2):last-child {
        text-align:
            right !important;
    }

    .wp-block-table figcaption {

        margin-top:
            10px;

        color:
            rgba(255,255,255,.50);

        font-size:
            11px;

        line-height:
            1.5;
    }


    /* =====================================================
       TYPOGRAFIA MOBILE
       ===================================================== */

    h1 {
        font-size:
            36px;
    }

    h2 {
        font-size:
            30px;
    }

    h3 {
        font-size:
            23px;
    }


    /* =====================================================
       PANEL AKCJI
       ===================================================== */

    .rth-action-panel {
        padding:
            28px;
    }


    /* =====================================================
       LISTY
       ===================================================== */

    .rth-justified-content ul,
    .rth-justified-content ol {

        margin:
            18px 0 28px !important;
    }

    .rth-justified-content ul li,
    .rth-justified-content ol li {

        padding:
            5px 0 !important;

        line-height:
            1.6;
    }


    /* =====================================================
       KONTAKT
       ===================================================== */

    .rth-contact > .wp-block-paragraph:nth-of-type(2) {

        margin-bottom:
            26px;
    }

    .rth-contact-methods {

        display:
            block;

        border-top:
            1px solid var(--rth-border);

        border-bottom:
            0;
    }

    .rth-contact-method {

        padding:
            18px 4px;

        border-right:
            0;

        border-bottom:
            1px solid var(--rth-border);
    }

    .rth-contact-method:last-child {

        border-bottom:
            1px solid var(--rth-border);
    }

    .rth-contact-method-icon {

        width:
            36px;

        height:
            36px;

        flex-basis:
            36px;

        margin-right:
            14px;
    }

    .rth-contact-form {

        margin-top:
            34px;
    }


    /* =====================================================
       FOOTER
       ===================================================== */

    .rth-footer {

        margin-top:
            42px;
    }

    .rth-footer-main {

        display:
            grid;

        grid-template-columns:
            1fr auto;

        align-items:
            start;

        gap:
            18px 20px;

        padding:
            22px 20px 20px;
    }

    .rth-footer-brand {

        grid-column:
            1 / -1;

        gap:
            3px;
    }

    .rth-footer-brand strong {

        font-size:
            14px;
    }

    .rth-footer-brand span {

        max-width:
            280px;

        font-size:
            10px;

        color:
            rgba(255,255,255,.60) !important;
    }

    .rth-footer-contact {

        gap:
            6px;
    }

    .rth-footer-contact a {

        gap:
            7px;

        font-size:
            11px;

        color:
            rgba(255,255,255,.88) !important;
    }

    .rth-footer-icon {

        width:
            18px;

        font-size:
            12px;
    }

    .rth-footer-socials {

        align-items:
            flex-start;

        gap:
            6px;
    }

    .rth-footer-socials > span {

        font-size:
            9px;

        color:
            rgba(255,255,255,.58) !important;
    }

    .rth-footer-social-links {

        display:
            flex;

        flex-direction:
            column;

        gap:
            3px;
    }

    .rth-footer-social-links a {

        font-size:
            11px;

        color:
            rgba(255,255,255,.86) !important;
    }

    .rth-footer-bottom {

        padding:
            15px 20px 18px;

        color:
            rgba(255,255,255,.48);
    }


    /* =====================================================
       FORMULARZE
       ===================================================== */

    input,
    textarea,
    select {

        color:
            #fff !important;

        background:
            rgba(12,22,36,.94) !important;

        border-color:
            rgba(255,255,255,.15) !important;
    }

    input::placeholder,
    textarea::placeholder {

        color:
            rgba(255,255,255,.52) !important;
    }


    /* =====================================================
       BRAK TAP HIGHLIGHT
       ===================================================== */

    a,
    button,
    input,
    textarea,
    select {

        -webkit-tap-highlight-color:
            rgba(56,189,248,.10);
    }
}


/* =========================================================
   MAŁE TELEFONY
   ========================================================= */

@media (max-width: 480px) {

    body {

        background:
            linear-gradient(
                rgba(5,10,20,.61),
                rgba(5,10,20,.68)
            ),
            url("../images/rth-workshop.jpg");

        /*
         * Bez cover.
         * Obraz zachowuje proporcje.
         */

        background-size:
            100% auto;

        background-position:
            center top;

        background-repeat:
            no-repeat;

        /*
         * Tło pozostaje nieruchome.
         */

        background-attachment:
            fixed !important;

        background-color:
            #09111d;
    }

    p,
    .rth-description,
    .rth-action-description {

        color:
            rgba(255,255,255,.86) !important;
    }

    .wp-block-table tbody td {

        color:
            rgba(255,255,255,.84) !important;
    }

    .wp-block-table tbody tr {

        padding:
            15px;

        border-radius:
            13px;

        background:
            rgba(10,21,35,.95) !important;
    }

    .wp-block-table tbody {

        gap:
            10px;
    }

    .wp-block-table tbody td {

        padding:
            5px 0;

        font-size:
            12.5px;
    }

    .wp-block-table tbody td:first-child {

        padding-bottom:
            12px;

        font-size:
            14px;
    }

    .wp-block-table tbody td:nth-child(2)::before,
    .wp-block-table tbody td:nth-child(3)::before,
    .wp-block-table tbody td:nth-child(4)::before,
    .wp-block-table tbody td:nth-child(5)::before {

        font-size:
            9px;
    }

    .wp-block-table figcaption {

        font-size:
            10.5px;
    }
}


/* =========================================================
   URZĄDZENIA DOTYKOWE
   ========================================================= */

@media (hover: none) and (pointer: coarse) {

    .rth-glass:hover,
    .rth-panel:hover,
    .rth-module:hover,
    .rth-button:hover,
    .wp-block-button__link:hover,
    .wp-element-button:hover,
    button:hover {

        transform:
            none !important;

        box-shadow:
            none;
    }

    .rth-glass,
    .rth-panel,
    .rth-module {

        transform:
            none !important;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior:
            auto;
    }

    *,
    *::before,
    *::after {

        animation:
            none !important;

        transition-duration:
            .01ms !important;
    }

    .rth-reveal {

        opacity:
            1 !important;

        transform:
            none !important;
    }

    .rth-glass:hover,
    .rth-panel:hover,
    .rth-module:hover {

        transform:
            none !important;
    }
}
