/*
Theme Name:   Astra UWN Child
Theme URI:    https://nowa.ubezpieczeniawniemczech.pl/
Description:  Motyw potomny Astra dla Ubezpieczenia w Niemczech — paleta, typografia Inter, hardening.
Author:       UWN Migrator
Author URI:   https://nowa.ubezpieczeniawniemczech.pl/
Template:     astra
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  astra-uwn-child
*/

:root {
    --uwn-primary:        #1a3a6c;
    --uwn-primary-hover:  #14305a;
    --uwn-secondary:      #c9a961;
    --uwn-secondary-hover:#b59550;
    --uwn-accent:         #f5f1ea;
    --uwn-text:           #1a1a1a;
    --uwn-text-muted:     #6b6b6b;
    --uwn-bg:             #ffffff;
    --uwn-border:         #e5e0d6;
}

/* ---------- Typografia ---------- */
html, body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--uwn-text);
    background: var(--uwn-bg);
    font-feature-settings: "ss01", "cv01", "cv11";
}
h1, h2, h3, h4, h5, h6,
.entry-title,
.ast-archive-title,
.site-title {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--uwn-text);
    font-weight: 700;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem); line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 1.5vw + 0.9rem, 2.125rem); line-height: 1.25; font-weight: 600; }
h3 { font-size: clamp(1.25rem, 1vw + 0.8rem, 1.625rem); line-height: 1.3; font-weight: 600; }
h4 { font-size: 1.25rem; line-height: 1.35; font-weight: 600; }

.uwn-subpage .entry-header {
    display: none;
}

p, li { color: var(--uwn-text); }
.text-muted, small, figcaption { color: var(--uwn-text-muted); }

/* ---------- Akcenty / linki / przyciski ---------- */
a {
    color: var(--uwn-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .15s ease;
}
a:hover, a:focus { color: var(--uwn-primary-hover); }

.button, .wp-block-button__link, button.ast-search-submit, input[type="submit"] {
    background: var(--uwn-primary);
    color: #fff;
    border: 1px solid var(--uwn-primary);
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s ease;
}
.button:hover, .wp-block-button__link:hover, button.ast-search-submit:hover, input[type="submit"]:hover {
    background: var(--uwn-primary-hover);
    border-color: var(--uwn-primary-hover);
    color: #fff;
}
.button.is-secondary {
    background: var(--uwn-secondary);
    border-color: var(--uwn-secondary);
}
.button.is-secondary:hover {
    background: var(--uwn-secondary-hover);
    border-color: var(--uwn-secondary-hover);
}

/* ---------- Top bar (granatowy nad headerem) ---------- */
.uwn-top-bar {
    background: var(--uwn-primary);
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.uwn-top-bar__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.uwn-top-bar__left {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}
.uwn-top-bar__item {
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color .15s ease;
}
.uwn-top-bar__item:hover, .uwn-top-bar__item:focus {
    color: var(--uwn-secondary);
}
.uwn-top-bar__item .uwn-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}
.uwn-top-bar__right {
    display: flex;
    align-items: center;
}
.uwn-lang-flags {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}
.uwn-flag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: all .15s ease;
    border: 1px solid transparent;
}
.uwn-flag img {
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.uwn-flag:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}
.uwn-flag--current {
    color: #ffffff;
    border-color: #ffffff;
    cursor: default;
}
.uwn-flag--unavail {
    opacity: 0.5;
}
@media (max-width: 768px) {
    .uwn-top-bar__item:not([href^="tel"]):not(.uwn-top-bar__right *) {
        display: none;
    }
    .uwn-top-bar__item--hours {
        display: none;
    }
    .uwn-flag__label {
        display: none;
    }
    .uwn-top-bar__inner {
        padding: 0 16px;
        gap: 12px;
    }
}

/* ---------- Header — biale tlo + sticky ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    background: #ffffff !important;
}
.site-header,
.ast-primary-header-bar,
.ast-above-header,
.ast-below-header,
.main-header-bar,
.ast-main-header-wrap {
    background: #ffffff !important;
    border-bottom: 1px solid var(--uwn-border);
}
.ast-builder-menu .menu-item > a,
.main-header-menu .menu-item > a,
.main-header-menu .menu-link,
.ast-builder-menu .menu-link {
    color: var(--uwn-text) !important;
    font-weight: 600;
    font-size: 16px;
    padding: 0 18px;
    transition: color 0.2s ease;
    position: relative;
}
.ast-builder-menu .menu-item > a:hover,
.main-header-menu .menu-item > a:hover,
.main-header-menu .current-menu-item > a,
.ast-builder-menu .menu-item.current-menu-item > a,
.ast-builder-menu .current-menu-item > a {
    color: var(--uwn-primary) !important;
}
.main-header-menu .current-menu-item > a::after,
.ast-builder-menu .current-menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 18px;
    right: 18px;
    height: 3px;
    background: var(--uwn-secondary);
    border-radius: 2px;
}
/* Astra ma juz natywna strzalke w `.dropdown-menu-toggle .ast-icon` — nie dodajemy drugiej.
   Tylko poprawiamy jej wyglad dla spojnosci. */
.main-header-menu .menu-item-has-children .dropdown-menu-toggle .ast-arrow-svg,
.ast-builder-menu .menu-item-has-children .dropdown-menu-toggle .ast-arrow-svg {
    width: 10px;
    height: 10px;
    opacity: 0.65;
    transition: transform 240ms cubic-bezier(.22,1,.36,1), opacity 200ms ease;
}
.main-header-menu .menu-item-has-children:hover .dropdown-menu-toggle .ast-arrow-svg,
.ast-builder-menu .menu-item-has-children:hover .dropdown-menu-toggle .ast-arrow-svg {
    opacity: 1;
    transform: rotate(180deg);
}

/* Submenu items: ukrycie lewej strzalki ktora Astra dodaje przed tekstem */
.main-header-menu .sub-menu .menu-item > a > .ast-icon.icon-arrow,
.ast-builder-menu .sub-menu .menu-item > a > .ast-icon.icon-arrow,
.main-header-menu .sub-menu .menu-link > .ast-icon.icon-arrow,
.ast-builder-menu .sub-menu .menu-link > .ast-icon.icon-arrow {
    display: none !important;
}
.ast-builder-menu .sub-menu,
.main-header-menu .sub-menu {
    background: #ffffff !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 16px 0;
    min-width: 280px;
    border-top: 3px solid var(--uwn-secondary);
}
.ast-builder-menu .sub-menu .menu-item,
.main-header-menu .sub-menu .menu-item {
    margin: 2px 8px !important;
}
.ast-builder-menu .sub-menu .menu-item > a,
.main-header-menu .sub-menu .menu-item > a,
.ast-builder-menu .sub-menu .menu-item > .menu-link,
.main-header-menu .sub-menu .menu-item > .menu-link {
    color: var(--uwn-text) !important;
    padding: 14px 20px !important;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 6px;
}
.ast-builder-menu .sub-menu .menu-item > a:hover,
.main-header-menu .sub-menu .menu-item > a:hover {
    background: var(--uwn-accent) !important;
    color: var(--uwn-primary) !important;
}

/* CTA "Zadzwoń teraz" w headerze (na prawo od menu) */
.uwn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--uwn-secondary);
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .15s ease;
}
.uwn-header-cta:hover {
    background: var(--uwn-primary);
    color: #ffffff !important;
}
.uwn-header-cta .uwn-icon {
    width: 16px;
    height: 16px;
}

/* Logo header — wymiary patrz @media nizej (126px desktop / 72px mobile) */

/* Sticky scroll: drop shadow */
.site-header.ast-header-fixed,
.site-header.ast-stickyactive {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* ---------- Footer (UWN — custom 4-col + Maklerprotect + bottom bar) ---------- */
.uwn-footer {
    background: linear-gradient(180deg, var(--uwn-primary) 0%, #142b4f 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 72px 0 0;
    margin-top: 80px;
}
.uwn-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}
.uwn-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 56px;
}
.uwn-footer__col { min-width: 0; }
.uwn-footer__col--brand { padding-right: 16px; }
.uwn-footer__logo-link {
    display: inline-block;
    line-height: 0;
    margin-bottom: 18px;
}
.uwn-footer__logo {
    max-height: 84px;
    width: auto;
    filter: brightness(0) invert(1);
}
.uwn-footer__tagline {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 24px;
    max-width: 320px;
}
.uwn-footer__partner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    max-width: 220px;
}
.uwn-footer__partner-caption {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--uwn-secondary);
    line-height: 1.3;
}
.uwn-footer__partner-logo {
    width: 180px !important;
    height: 180px !important;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 8px;
    align-self: center;
}
.uwn-footer__heading {
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--uwn-secondary) !important;
    margin: 0 0 22px !important;
    line-height: 1.2;
}
.uwn-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.uwn-footer__list a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9375rem;
    line-height: 1.4;
    transition: color 200ms ease, transform 240ms cubic-bezier(.22,1,.36,1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.uwn-footer__list a::before {
    content: '→';
    color: var(--uwn-secondary);
    opacity: 0;
    margin-left: -16px;
    transition: opacity 200ms ease, margin-left 240ms cubic-bezier(.22,1,.36,1);
}
.uwn-footer__list a:hover {
    color: #ffffff;
}
.uwn-footer__list a:hover::before {
    opacity: 1;
    margin-left: 0;
}
.uwn-footer__contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.uwn-footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.45;
}
.uwn-footer__contact-list a,
.uwn-footer__contact-list address,
.uwn-footer__contact-list span {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-style: normal;
    font-size: 0.9375rem;
    transition: color 200ms ease;
}
.uwn-footer__contact-list a:hover {
    color: var(--uwn-secondary);
}
.uwn-footer__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--uwn-secondary);
}
.uwn-footer__icon svg {
    width: 18px; height: 18px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.uwn-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding: 24px 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
}
.uwn-footer__copy {
    margin: 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
}
.uwn-footer__legal {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.8125rem;
}
.uwn-footer__legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 200ms ease;
}
.uwn-footer__legal a:hover { color: var(--uwn-secondary); }
.uwn-footer__legal span {
    color: rgba(255, 255, 255, 0.30);
    font-weight: 700;
}
.uwn-footer__credit {
    flex-basis: 100%;
    margin: 8px 0 0 !important;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.04em;
    text-align: center;
}
.uwn-footer__credit a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-weight: 600;
    transition: color 200ms ease;
}
.uwn-footer__credit a:hover {
    color: var(--uwn-secondary);
}
@media (max-width: 1024px) {
    .uwn-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
    }
    .uwn-footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .uwn-footer { padding-top: 56px; }
    .uwn-footer__inner { padding: 0 20px; }
    .uwn-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .uwn-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding-bottom: 36px;
    }
}

/* ---------- Cards / sekcje ---------- */
.uwn-card {
    background: var(--uwn-bg);
    border: 1px solid var(--uwn-border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform .2s ease, box-shadow .2s ease;
}
.uwn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 58, 108, 0.08);
}
.uwn-section-accent { background: var(--uwn-accent); }

/* ---------- Language switcher ---------- */
.uwn-lang-switcher { display: inline-flex; gap: 0.5rem; align-items: center; }
.uwn-lang-switcher a, .uwn-lang-switcher span {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    text-decoration: none;
    color: var(--uwn-text-muted);
    font-weight: 500;
    font-size: 0.875rem;
}
.uwn-lang-switcher .current-lang {
    color: var(--uwn-primary);
    font-weight: 700;
    background: var(--uwn-accent);
}
.uwn-lang-switcher img { width: 20px; height: 14px; vertical-align: middle; margin-right: 0.25rem; }

/* ---------- Skip link / focus a11y ---------- */
.skip-link:focus {
    background: var(--uwn-primary);
    color: #fff;
    padding: 0.75rem 1.25rem;
    z-index: 100000;
}
:focus-visible {
    outline: 2px solid var(--uwn-primary);
    outline-offset: 2px;
}

/* ---------- Header — desktop logo 126px, min-height 160px, vertical center ---------- */
@media (min-width: 922px) {
    /* Wymuszenie min-height na wszystkich wrapperach Astra w headerze */
    .ast-primary-header-bar,
    .site-primary-header-wrap,
    .ast-main-header-wrap,
    #ast-desktop-header .ast-primary-header-bar {
        min-height: 160px;
    }
    /* Wyzerowanie default Astra paddingow zeby logo nie bylo "zatopione" w paddingu */
    .ast-primary-header-bar { padding-top: 0; padding-bottom: 0; }

    /* Vertical center cala kolumna -> wiersz -> sekcja -> branding -> logo */
    .site-primary-header-wrap > .ast-builder-grid-row {
        align-items: center;
        min-height: 160px;
    }
    .site-header-primary-section-left,
    .site-header-primary-section-right {
        align-self: center;
    }
    .site-branding.ast-site-identity {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
    }
    .site-logo-img,
    .site-logo-img a.custom-logo-link {
        display: inline-flex;
        align-items: center;
        line-height: 0; /* eliminacja inline baseline gap pod <img> */
    }

    /* Logo 126px desktop */
    .site-header .custom-logo,
    .ast-builder-html-element img.custom-logo,
    .custom-logo-link img.custom-logo {
        max-height: 126px !important;
        height: 126px !important;
        width: auto !important;
        display: block;
        transition: max-height 280ms cubic-bezier(.22,1,.36,1),
                    height    280ms cubic-bezier(.22,1,.36,1);
    }
    /* Sticky scroll: logo zmniejsza sie do 84px (proporcjonalnie do nizszego headera) */
    .site-header.ast-header-fixed .custom-logo,
    .site-header.ast-stickyactive .custom-logo {
        max-height: 84px !important;
        height: 84px !important;
    }

    .ast-builder-menu .menu-item > a {
        padding: 0 22px !important;
        font-size: 16px;
    }
}

/* Mobile/tablet — logo nieco wieksze niz default 60, ale rozsadne */
@media (max-width: 921px) {
    .site-header .custom-logo,
    .ast-builder-html-element img.custom-logo,
    .custom-logo-link img.custom-logo {
        max-height: 72px !important;
        width: auto !important;
    }
}

/* ---------- 4 Filary ochrony — eleganckie karty (image-box redesign) ---------- */
.elementor-widget-image-box {
    position: relative;
    height: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 1px 3px rgba(26, 58, 108, 0.04),
        0 8px 24px rgba(26, 58, 108, 0.06);
    transition:
        transform 480ms cubic-bezier(.22,1,.36,1),
        box-shadow 480ms cubic-bezier(.22,1,.36,1);
    isolation: isolate;
}
.elementor-widget-image-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(201, 169, 97, 0) 0%,
        rgba(201, 169, 97, 0) 55%,
        rgba(201, 169, 97, 0.65) 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 320ms ease;
    pointer-events: none;
    z-index: 2;
}
.elementor-widget-image-box:hover {
    transform: translateY(-6px);
    box-shadow:
        0 4px 12px rgba(26, 58, 108, 0.10),
        0 24px 56px rgba(26, 58, 108, 0.16);
}
.elementor-widget-image-box:hover::before { opacity: 1; }
.elementor-widget-image-box .elementor-image-box-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
}
.elementor-widget-image-box .elementor-image-box-img {
    margin: 0 !important;
    width: 100% !important;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--uwn-accent);
    position: relative;
}
.elementor-widget-image-box .elementor-image-box-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(26,58,108,0) 60%,
        rgba(26,58,108,0.12) 100%);
    z-index: 1;
    pointer-events: none;
}
.elementor-widget-image-box .elementor-image-box-img a {
    display: block;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.elementor-widget-image-box .elementor-image-box-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 720ms cubic-bezier(.22,1,.36,1);
    display: block;
}
.elementor-widget-image-box:hover .elementor-image-box-img img {
    transform: scale(1.06);
}
.elementor-widget-image-box .elementor-image-box-content {
    padding: 26px 28px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.elementor-widget-image-box .elementor-image-box-title {
    font-size: 1.4rem !important;
    line-height: 1.25;
    margin: 0 0 10px !important;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--uwn-text);
}
.elementor-widget-image-box .elementor-image-box-title a {
    color: inherit;
    text-decoration: none;
    transition: color 280ms ease;
    background-image: linear-gradient(var(--uwn-secondary), var(--uwn-secondary));
    background-size: 0 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 320ms cubic-bezier(.22,1,.36,1), color 280ms ease;
}
.elementor-widget-image-box:hover .elementor-image-box-title a {
    color: var(--uwn-primary);
    background-size: 100% 2px;
}
.elementor-widget-image-box .elementor-image-box-description {
    color: var(--uwn-text-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
    margin: 0 !important;
    flex: 1;
}
.elementor-widget-image-box .elementor-image-box-content::after {
    content: 'Czytaj więcej →';
    margin-top: 18px;
    color: var(--uwn-secondary);
    font-weight: 700;
    font-size: 0.825rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition:
        transform 320ms cubic-bezier(.22,1,.36,1),
        color 280ms ease,
        letter-spacing 320ms ease;
    align-self: flex-start;
}
.elementor-widget-image-box:hover .elementor-image-box-content::after {
    color: var(--uwn-primary);
    transform: translateX(6px);
    letter-spacing: 0.08em;
}
html[lang^="de"] .elementor-widget-image-box .elementor-image-box-content::after {
    content: 'Mehr erfahren →';
}
@media (max-width: 768px) {
    .elementor-widget-image-box .elementor-image-box-img { aspect-ratio: 16 / 10; }
    .elementor-widget-image-box .elementor-image-box-content { padding: 22px 22px 26px; }
}

/* ---------- Section "Szesc filarow ochrony" heading — full-bleed cream bg ---------- */
/* Hardcoded background-color (FOUC fix): bez tego sekcje 35717191 + 54489657 renderuja
   sie z bialym tlem przez ~200ms zanim Elementor /uploads/elementor/css/post-24.css
   sie zaladuje i wstrzyknie inline background-color z _elementor_data settings. */
.elementor-element-35717191,
.elementor-element-54489657 {
    background-color: #f5f1ea !important;
}
.elementor-element-35717191 {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}
.elementor-element-35717191 > .elementor-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}
.elementor-element-35717191 .elementor-heading-title {
    text-align: center;
}

/* ---------- Hero slider (Swiper-based) ---------- */
/* Pre-JS full-bleed: zapobiega FOUC layout shift gdy Elementor frontend.min.js
   z opoznieniem rozszerza section przez stretchSection. Bez tego sekcja
   renderuje sie boxed przez ~200ms zanim JS doda margin-left: -Xpx. */
.elementor-element-53502892 {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
}
.elementor-element-53502892 > .elementor-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.elementor-element-53502892 .elementor-column,
.elementor-element-53502892 .elementor-widget-wrap,
.elementor-element-53502892 .elementor-widget-html,
.elementor-element-53502892 .elementor-widget-html .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}
.uwn-hero {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--uwn-primary);
    overflow: hidden;
}
.uwn-hero-swiper {
    position: relative;
    width: 100%;
    height: clamp(460px, 72vh, 760px);
}
.uwn-hero-swiper .swiper-wrapper { height: 100%; }
.uwn-hero-slide {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.uwn-hero-slide__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    transform: scale(1);
    transition: transform 8000ms cubic-bezier(.22,1,.36,1);
    will-change: transform;
}
.uwn-hero-swiper .swiper-slide-active .uwn-hero-slide__bg {
    transform: scale(1.08);
}
.uwn-hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(26, 58, 108, 0.82) 0%,
            rgba(26, 58, 108, 0.55) 50%,
            rgba(26, 58, 108, 0.72) 100%);
    z-index: 1;
}
.uwn-hero-slide__content {
    position: relative;
    z-index: 2;
    max-width: 880px;
    padding: 0 24px;
    text-align: center;
    color: #ffffff;
}
.uwn-hero-slide__eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--uwn-secondary);
    margin: 0 0 22px;
    opacity: 0;
    transform: translateY(14px);
}
.uwn-hero-slide__title {
    font-size: clamp(2rem, 3.5vw + 1rem, 3.75rem) !important;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 22px;
    opacity: 0;
    transform: translateY(22px);
}
.uwn-hero-slide__lead {
    font-size: clamp(1.0625rem, 1vw + 0.75rem, 1.375rem);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 auto 38px;
    max-width: 640px;
    opacity: 0;
    transform: translateY(22px);
}
.uwn-hero-slide__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--uwn-secondary);
    color: var(--uwn-primary);
    padding: 16px 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition:
        transform 280ms cubic-bezier(.22,1,.36,1),
        box-shadow 280ms ease,
        background 280ms ease,
        color 280ms ease;
    box-shadow: 0 4px 16px rgba(201, 169, 97, 0.28);
    opacity: 0;
    transform: translateY(22px);
    will-change: transform;
}
.uwn-hero-slide__cta:hover,
.uwn-hero-slide__cta:focus-visible {
    background: #d6b673;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(201, 169, 97, 0.42);
    color: var(--uwn-primary);
    outline: none;
}
.uwn-hero-slide__cta .uwn-arrow {
    display: inline-block;
    transition: transform 280ms cubic-bezier(.22,1,.36,1);
    font-weight: 400;
}
.uwn-hero-slide__cta:hover .uwn-arrow,
.uwn-hero-slide__cta:focus-visible .uwn-arrow {
    transform: translateX(5px);
}
.uwn-hero-swiper .swiper-slide-active .uwn-hero-slide__eyebrow {
    animation: uwn-fadeInUp 0.7s cubic-bezier(.22,1,.36,1) 0.25s forwards;
}
.uwn-hero-swiper .swiper-slide-active .uwn-hero-slide__title {
    animation: uwn-fadeInUp 0.8s cubic-bezier(.22,1,.36,1) 0.4s forwards;
}
.uwn-hero-swiper .swiper-slide-active .uwn-hero-slide__lead {
    animation: uwn-fadeInUp 0.8s cubic-bezier(.22,1,.36,1) 0.55s forwards;
}
.uwn-hero-swiper .swiper-slide-active .uwn-hero-slide__cta {
    animation: uwn-fadeInUp 0.8s cubic-bezier(.22,1,.36,1) 0.7s forwards;
}
@keyframes uwn-fadeInUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
.uwn-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--uwn-primary);
    border: 1px solid var(--uwn-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(26, 58, 108, 0.16);
    transition:
        color 280ms ease,
        background 280ms ease,
        border-color 280ms ease,
        transform 280ms cubic-bezier(.22,1,.36,1),
        box-shadow 280ms ease;
}
.uwn-hero-nav:hover,
.uwn-hero-nav:focus-visible {
    color: var(--uwn-primary);
    background: var(--uwn-secondary);
    border-color: var(--uwn-secondary);
    transform: translateY(-50%) scale(1.06);
    outline: none;
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.45);
}
.uwn-hero-prev { left: 32px; }
.uwn-hero-next { right: 32px; }
/* Lucide icon (renderowany przez lucide.createIcons() z <i data-lucide="chevron-*">) */
.uwn-hero-nav svg,
.uwn-hero-nav__icon {
    width: 22px !important;
    height: 22px !important;
    stroke: var(--uwn-primary) !important;
    fill: none !important;
    stroke-width: 2.6 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    pointer-events: none;
    display: block;
}
.uwn-hero-nav:hover svg,
.uwn-hero-nav:hover .uwn-hero-nav__icon,
.uwn-hero-nav:focus-visible svg {
    stroke: var(--uwn-primary) !important;
}
.uwn-hero-nav svg path {
    stroke: inherit;
    fill: none;
}
/* Pre-hydration fallback: <i> jeszcze nie zamieniony na <svg> — rysuje strzalke przez border */
.uwn-hero-nav .uwn-hero-nav__icon:not(svg)::before {
    content: '';
    display: inline-block;
    width: 12px; height: 12px;
    border-top: 2.4px solid currentColor;
    border-right: 2.4px solid currentColor;
    border-radius: 1px;
}
.uwn-hero-prev .uwn-hero-nav__icon:not(svg)::before { transform: rotate(-135deg) translate(-2px, -2px); }
.uwn-hero-next .uwn-hero-nav__icon:not(svg)::before { transform: rotate(45deg) translate(-2px, -2px); }
.uwn-hero-pagination {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: inline-flex;
    gap: 12px;
}
.uwn-hero-pagination .swiper-pagination-bullet {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.42);
    opacity: 1;
    cursor: pointer;
    transition: background 280ms ease, width 320ms cubic-bezier(.22,1,.36,1);
    margin: 0;
}
.uwn-hero-pagination .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.7);
}
.uwn-hero-pagination .swiper-pagination-bullet-active {
    background: var(--uwn-secondary);
    width: 56px;
}
.uwn-hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.10);
    z-index: 10;
}
.uwn-hero-progress__fill {
    height: 100%;
    width: 0;
    background: var(--uwn-secondary);
    transition: width 6000ms linear;
}
.uwn-hero-swiper.swiper-paused ~ .uwn-hero-progress .uwn-hero-progress__fill {
    transition: none;
}
@media (max-width: 768px) {
    .uwn-hero-prev, .uwn-hero-next { display: none; }
    .uwn-hero-pagination { bottom: 22px; }
    .uwn-hero-swiper { height: clamp(460px, 78vh, 620px); }
}

/* Static hero (pojedynczy panel bez karuzeli) */
.uwn-hero--static {
    height: clamp(460px, 72vh, 760px);
}
.uwn-hero--static .uwn-hero-slide {
    height: 100%;
}
.uwn-hero--static .uwn-hero-slide__title,
.uwn-hero--static .uwn-hero-slide__lead,
.uwn-hero--static .uwn-hero-slide__cta {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 767px) {
    .uwn-hero--static { height: clamp(460px, 78vh, 620px); }
}

/* ============================================================
   SEKCJA 6 FILAROW (uwn-pillars-section) — full-bleed responsive grid
   ============================================================ */

/* Section-stretched fallback (gdy Elementor JS z jakiegos powodu nie zadziala) */
.elementor-section.elementor-element-54489657 {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.elementor-element-54489657 > .elementor-container {
    max-width: 1600px !important;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Wyzerowanie default Elementor flex behavior na column items — staja sie grid items */
.elementor-element-54489657 .uwn-pillar-col,
.elementor-element-54489657 > .elementor-container > .elementor-column {
    width: 100% !important;
    max-width: 100% !important;
    flex: unset !important;
    margin: 0 !important;
}

/* Wieksze obrazy w sekcji full-width: aspect 4/3 → 3/2 (szersze, bardziej "hero-like") */
.elementor-element-54489657 .elementor-widget-image-box .elementor-image-box-img {
    aspect-ratio: 3 / 2;
}

/* Lepsza typografia w boksach filarow */
.elementor-element-54489657 .elementor-widget-image-box .elementor-image-box-content {
    padding: 30px 30px 34px;
}
.elementor-element-54489657 .elementor-widget-image-box .elementor-image-box-title {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin: 0 0 12px !important;
    letter-spacing: -0.015em;
}
.elementor-element-54489657 .elementor-widget-image-box .elementor-image-box-description {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--uwn-text-muted);
}
.elementor-element-54489657 .elementor-widget-image-box .elementor-image-box-content::after {
    margin-top: 22px;
    font-size: 0.85rem;
}

/* Tablet: 2 kolumny */
@media (max-width: 1024px) {
    .elementor-element-54489657 > .elementor-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 24px;
    }
    .elementor-element-54489657 .elementor-widget-image-box .elementor-image-box-img {
        aspect-ratio: 16 / 10;
    }
    .elementor-element-54489657 .elementor-widget-image-box .elementor-image-box-title {
        font-size: 1.375rem !important;
    }
}
/* Mobile: 1 kolumna */
@media (max-width: 600px) {
    .elementor-element-54489657 > .elementor-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }
}

/* ============================================================
   SEKCJA 6 FEATURES "Dlaczego my" (uwn-features-section)
   Lucide ikony w circles + zlote akcenty
   ============================================================ */
.elementor-element-17511960 > .elementor-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 56px 0 !important;
    align-items: stretch !important;
    justify-content: center !important;
}
.elementor-element-17511960 .uwn-feature-col,
.elementor-element-17511960 > .elementor-container > .elementor-column {
    flex: 0 0 33.3333% !important;
    max-width: 33.3333% !important;
    width: 33.3333% !important;
    margin: 0 !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
}
.elementor-element-17511960 .elementor-widget-html .elementor-widget-container {
    height: 100%;
}
.uwn-feature {
    display: flex;
    flex-direction: column;
    align-items: center;             /* wyrowane do srodka */
    text-align: center;
    padding: 16px 12px;
    background: transparent;          /* bez bialego BG */
    border: none;                     /* bez obramowania */
    border-radius: 0;
    height: 100%;
    transition: transform 380ms cubic-bezier(.22,1,.36,1);
    position: relative;
}
.uwn-feature:hover {
    transform: translateY(-4px);
    box-shadow: none;
}
.uwn-feature__icon {
    width: 96px;                      /* wieksze: 56 -> 96 */
    height: 96px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--uwn-primary) 0%, #245290 100%);
    color: var(--uwn-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 28px 0;               /* odstep do tytulu — wszystkie ikony na tym samym poziomie */
    flex-shrink: 0;
    transition:
        transform 380ms cubic-bezier(.22,1,.36,1),
        background 380ms ease;
    box-shadow: 0 8px 22px rgba(26, 58, 108, 0.20);
}
.uwn-feature:hover .uwn-feature__icon {
    transform: scale(1.06) rotate(-3deg);
    background: linear-gradient(135deg, var(--uwn-secondary) 0%, #d6b673 100%);
    color: var(--uwn-primary);
}
.uwn-feature__icon svg,
.uwn-feature__icon i[data-lucide] {
    width: 48px;                      /* wieksze: 28 -> 48 */
    height: 48px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}
.uwn-feature__title {
    font-size: 1.25rem !important;
    font-weight: 700;
    line-height: 1.3;
    color: var(--uwn-text);
    margin: 0 0 10px !important;
    letter-spacing: -0.01em;
    min-height: 52px;                 /* 2 linie — tytuly w sasiednich kolumnach na tym samym poziomie */
    display: flex;
    align-items: center;
    justify-content: center;
}
.uwn-feature__desc {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--uwn-text-muted);
    margin: 0;
    max-width: 280px;
}
/* Heading sekcji "Dlaczego my" — center */
.elementor-element-35616227 .elementor-heading-title {
    text-align: center;
}
@media (max-width: 1024px) {
    .elementor-element-17511960 .uwn-feature-col,
    .elementor-element-17511960 > .elementor-container > .elementor-column {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
    .elementor-element-17511960 > .elementor-container { gap: 48px 0 !important; }
}
@media (max-width: 600px) {
    .elementor-element-17511960 .uwn-feature-col,
    .elementor-element-17511960 > .elementor-container > .elementor-column {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .elementor-element-17511960 > .elementor-container { gap: 36px 0 !important; padding: 0 16px !important; }
    .uwn-feature__icon { width: 80px; height: 80px; }
    .uwn-feature__icon svg { width: 40px; height: 40px; }
    .uwn-feature__title { min-height: auto; }
}

/* ============================================================
   SEKCJA "Masz pytania?" (uwn-contact-section) — kontaktowe karty
   ============================================================ */
/* Section "Masz pytania?" — heading + contact cards jako JEDEN module
   z eleganckim gradient overlay zamiast plaskiego */
.elementor-element-23507224 {
    position: relative;
}
.elementor-element-23507224 .elementor-background-overlay {
    background: linear-gradient(135deg,
        rgba(26, 58, 108, 0.85) 0%,
        rgba(26, 58, 108, 0.50) 50%,
        rgba(26, 58, 108, 0.78) 100%) !important;
    opacity: 1 !important;
}
.elementor-element-23507224 .uwn-contact-headcol {
    grid-column: 1 / -1 !important;             /* heading rozciaga sie na cala szerokosc grid */
    width: 100% !important;
    max-width: 100% !important;
    flex: unset !important;
    margin: 0 0 20px 0 !important;
}
.elementor-element-23507224 .uwn-contact-headcol .elementor-heading-title {
    text-align: center;
    color: #ffffff !important;
    font-size: clamp(1.75rem, 1.8vw + 1rem, 2.625rem) !important;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2 !important;
    margin: 0 auto !important;
    max-width: 800px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.20);
}
.elementor-element-23507224 .uwn-contact-headcol .elementor-heading-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background: var(--uwn-secondary);
    border-radius: 2px;
    margin: 22px auto 0;
}

.elementor-element-23507224 > .elementor-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}
.elementor-element-23507224 .uwn-contact-col,
.elementor-element-23507224 > .elementor-container > .elementor-column {
    width: 100% !important;
    max-width: 100% !important;
    flex: unset !important;
    margin: 0 !important;
}
.uwn-contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 32px 28px;
    background: #ffffff;
    border: 1px solid var(--uwn-border);
    border-radius: 14px;
    color: var(--uwn-text);
    text-decoration: none !important;
    height: 100%;
    transition:
        transform 380ms cubic-bezier(.22,1,.36,1),
        box-shadow 380ms cubic-bezier(.22,1,.36,1),
        border-color 280ms ease;
    position: relative;
    overflow: hidden;
}
.uwn-contact-card::before {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--uwn-secondary), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 480ms cubic-bezier(.22,1,.36,1);
}
.uwn-contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 169, 97, 0.5);
    box-shadow:
        0 1px 3px rgba(26, 58, 108, 0.06),
        0 18px 40px rgba(26, 58, 108, 0.10);
}
.uwn-contact-card:hover::before {
    transform: scaleX(1);
}
.uwn-contact-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--uwn-accent);
    color: var(--uwn-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: background 280ms ease, color 280ms ease;
}
.uwn-contact-card:hover .uwn-contact-card__icon {
    background: var(--uwn-primary);
    color: var(--uwn-secondary);
}
.uwn-contact-card__icon svg,
.uwn-contact-card__icon i[data-lucide] {
    width: 22px; height: 22px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.uwn-contact-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--uwn-secondary);
    display: block;
}
.uwn-contact-card__value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--uwn-text);
    line-height: 1.3;
    word-break: break-word;
}
.uwn-contact-card:hover .uwn-contact-card__value {
    color: var(--uwn-primary);
}
.uwn-contact-card__sub {
    font-size: 0.875rem;
    color: var(--uwn-text-muted);
    margin-top: auto;
    padding-top: 8px;
}

/* Button w 3-ej kolumnie sekcji Masz pytania? — przyklejony do gory karty */
.elementor-element-23507224 .elementor-widget-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

@media (max-width: 1024px) {
    .elementor-element-23507224 > .elementor-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .elementor-element-23507224 .elementor-widget-button {
        grid-column: 1 / -1;
        margin-top: 8px;
    }
}
@media (max-width: 600px) {
    .elementor-element-23507224 > .elementor-container {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }
}

/* ============================================================
   PARTNERZY — sekcja boxed 1250px wycentrowana
   ============================================================ */
.elementor-element-85713815 {
    max-width: 1250px !important;
    width: 1250px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.elementor-element-85713815 > .elementor-container {
    max-width: 1250px !important;
    margin: 0 auto !important;
}
@media (max-width: 1280px) {
    .elementor-element-85713815 {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

/* ============================================================
   PARTNERZY CAROUSEL — natywne wymiary + 40px margin + center + visible nav
   ============================================================ */
.elementor-widget-image-carousel .swiper-slide-image {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    filter: none !important;
    opacity: 1 !important;
    object-fit: contain;
}
.elementor-widget-image-carousel .swiper-slide {
    height: 140px;                                 /* fixed height kontenera */
    display: flex;
    align-items: center;
    justify-content: center;
}
.elementor-widget-image-carousel .swiper-slide-inner {
    display: flex;
    align-items: center;                            /* vertical center */
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 20px;                                /* 20px po obu stronach = 40px gap miedzy logo */
}

/* Nav arrows — widoczne, w gold/navy.
   UWAGA: Elementor uzywa .elementor-swiper-button-prev/next, NIE .swiper-button-prev/next */
.elementor-widget-image-carousel .elementor-swiper-button,
.elementor-widget-image-carousel .elementor-swiper-button-prev,
.elementor-widget-image-carousel .elementor-swiper-button-next {
    width: 48px !important;
    height: 48px !important;
    background: #ffffff !important;
    color: var(--uwn-primary) !important;
    border: 1px solid var(--uwn-border);
    border-radius: 50% !important;
    box-shadow: 0 4px 14px rgba(26, 58, 108, 0.16);
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    visibility: visible !important;
    transition:
        color 280ms ease,
        background 280ms ease,
        border-color 280ms ease,
        transform 280ms cubic-bezier(.22,1,.36,1);
}
.elementor-widget-image-carousel { position: relative !important; }
.elementor-widget-image-carousel .elementor-image-carousel-wrapper {
    overflow: hidden !important;          /* clip slidow swiperem */
}
/* Strzalki sa przenoszone JS-em na poziom widget (poza wrapper), wiec moga miec ujemne offsety bez clip */
.elementor-widget-image-carousel > .elementor-swiper-button-prev { left: -100px !important; }
.elementor-widget-image-carousel > .elementor-swiper-button-next { right: -100px !important; }
@media (max-width: 1024px) {
    .elementor-widget-image-carousel > .elementor-swiper-button-prev { left: 0 !important; }
    .elementor-widget-image-carousel > .elementor-swiper-button-next { right: 0 !important; }
}
.elementor-widget-image-carousel .elementor-swiper-button-prev:hover,
.elementor-widget-image-carousel .elementor-swiper-button-next:hover,
.elementor-widget-image-carousel .elementor-swiper-button-prev:focus-visible,
.elementor-widget-image-carousel .elementor-swiper-button-next:focus-visible {
    color: var(--uwn-primary) !important;
    background: var(--uwn-secondary) !important;
    border-color: var(--uwn-secondary);
    transform: translateY(-50%) scale(1.06);
    outline: none;
}
.elementor-widget-image-carousel .elementor-swiper-button svg,
.elementor-widget-image-carousel .elementor-swiper-button-prev svg,
.elementor-widget-image-carousel .elementor-swiper-button-next svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
    stroke: none;
    pointer-events: none;
}
.elementor-widget-image-carousel .elementor-swiper-button::after,
.elementor-widget-image-carousel .elementor-swiper-button-prev::after,
.elementor-widget-image-carousel .elementor-swiper-button-next::after {
    display: none !important;
}

/* ============================================================
   HERO BANNER NA PODSTRONACH (entry-banner / page header)
   max 350px wysokosci desktop + niebieski overlay jak w sliderze
   ============================================================ */
.entry-header .post-thumb,
.single-post .post-thumbnail,
.page .post-thumbnail,
.ast-archive-description,
.ast-page-header {
    position: relative;
    overflow: hidden;
}
.entry-header .post-thumb img,
.entry-header img.attachment-large,
.entry-header img.wp-post-image,
.single-post .post-thumbnail img,
.page .post-thumbnail img,
.entry-content > p:first-child > img.alignnone:first-child,
.entry-content > p:first-child > img.aligncenter:first-child {
    max-height: 350px !important;
    width: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
}
.entry-header .post-thumb::after,
.entry-header.has-post-thumbnail::after,
.single-post .post-thumbnail::after,
.page .post-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(26, 58, 108, 0.78) 0%,
        rgba(26, 58, 108, 0.55) 50%,
        rgba(26, 58, 108, 0.70) 100%);
    pointer-events: none;
    z-index: 1;
}

/* ============================================================
   SEKCJA "Dlaczego oplaca sie korzystac z uslug niezaleznego posrednika"
   8 numbered cards w 2x4 grid desktop
   ============================================================ */
.elementor-element-uwnbenefits {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    background: #ffffff !important;
    padding-bottom: 0 !important;
}
.elementor-element-uwnbenefits > .elementor-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.elementor-element-uwnbenefits .elementor-column,
.elementor-element-uwnbenefits .elementor-widget-wrap,
.elementor-element-uwnbenefits .elementor-widget-html,
.elementor-element-uwnbenefits .elementor-widget-html .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}
.uwn-benefits {
    padding: 0 0 24px;
}
.uwn-benefits__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}
.uwn-benefits__heading {
    font-size: clamp(1.625rem, 1.5vw + 1rem, 2.5rem) !important;
    line-height: 1.18 !important;
    text-align: center;
    color: var(--uwn-text);
    margin: 0 auto 12px !important;
    max-width: 920px;
    letter-spacing: -0.015em;
    font-weight: 700;
}
.uwn-benefits__heading::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background: var(--uwn-secondary);
    border-radius: 2px;
    margin: 28px auto 0;
}
.uwn-benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
    margin-top: 56px;
}
.uwn-benefit {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
    padding: 28px 28px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--uwn-border);
    transition:
        transform 380ms cubic-bezier(.22,1,.36,1),
        box-shadow 380ms cubic-bezier(.22,1,.36,1),
        border-color 280ms ease;
    position: relative;
}
.uwn-benefit:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 169, 97, 0.45);
    box-shadow:
        0 1px 3px rgba(26, 58, 108, 0.05),
        0 14px 36px rgba(26, 58, 108, 0.10);
}
.uwn-benefit__num {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    color: var(--uwn-secondary);
    letter-spacing: -0.04em;
    font-feature-settings: "tnum";
    align-self: start;
    transition: color 280ms ease, transform 380ms cubic-bezier(.22,1,.36,1);
}
.uwn-benefit:hover .uwn-benefit__num {
    color: var(--uwn-primary);
    transform: scale(1.04);
}
.uwn-benefit__body { min-width: 0; }
.uwn-benefit__title {
    font-size: 1.25rem !important;
    font-weight: 700;
    line-height: 1.25 !important;
    color: var(--uwn-text);
    margin: 0 0 10px !important;
    letter-spacing: -0.01em;
}
.uwn-benefit__desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--uwn-text-muted);
    margin: 0 !important;
}
@media (max-width: 1024px) {
    .uwn-benefits__inner { padding: 0 24px; }
    .uwn-benefits__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 44px;
    }
}
@media (max-width: 600px) {
    .uwn-benefit {
        padding: 22px 20px;
        gap: 16px;
    }
    .uwn-benefit__num { font-size: 2.25rem; }
    .uwn-benefit__title { font-size: 1.1rem !important; }
}

/* === Strzalki hero — styl carousel'a, prawy dolny rog, side-by-side === */
.uwn-hero-nav {
    position: absolute !important;
    z-index: 12 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: 0 !important;
    padding: 0 !important;
    background: linear-gradient(145deg, #ffffff 0%, #f4efe6 100%) !important;
    color: var(--uwn-primary) !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(26, 58, 108, 0.04),
        0 4px 14px rgba(26, 58, 108, 0.18),
        0 0 0 1px rgba(26, 58, 108, 0.06) !important;
    transition:
        background 360ms cubic-bezier(0.34, 1.56, 0.64, 1),
        color 360ms ease,
        transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 360ms ease !important;
    isolation: isolate;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
}
.uwn-hero-prev {
    right: 88px !important;
    bottom: 32px !important;
    left: auto !important;
}
.uwn-hero-next {
    right: 32px !important;
    bottom: 32px !important;
    left: auto !important;
}
.uwn-hero-nav::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px solid var(--uwn-secondary);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 360ms ease, transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: -1;
}
.uwn-hero-nav::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.30), transparent 65%);
    opacity: 0;
    transition: opacity 360ms ease;
    pointer-events: none;
    z-index: -2;
}
.uwn-hero-nav:hover,
.uwn-hero-nav:focus-visible {
    background: linear-gradient(145deg, var(--uwn-secondary) 0%, #d6b673 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.04) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 8px 22px rgba(201, 169, 97, 0.45) !important;
    outline: none;
}
.uwn-hero-nav:hover::before,
.uwn-hero-nav:focus-visible::before { opacity: 0.55; transform: scale(1); }
.uwn-hero-nav:hover::after,
.uwn-hero-nav:focus-visible::after { opacity: 1; }
.uwn-hero-nav:active {
    transform: translateY(-1px) scale(0.98) !important;
}
.uwn-hero-nav svg {
    width: 20px !important;
    height: 20px !important;
    pointer-events: none;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.4 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block !important;
    transition: transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.uwn-hero-prev:hover svg { transform: translateX(-3px); }
.uwn-hero-next:hover svg { transform: translateX(3px); }
@media (max-width: 600px) {
    .uwn-hero-prev { right: 72px !important; bottom: 20px !important; }
    .uwn-hero-next { right: 16px !important; bottom: 20px !important; }
    .uwn-hero-nav { width: 44px !important; height: 44px !important; }
}

/* === Reset Astra default margin-top na #primary (banner przylega do headera) === */
#primary,
.ast-plain-container.ast-no-sidebar #primary {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* === Hero arrow glyph (legacy — nieuzywane, hero-nav ukryte wyzej) === */
.uwn-hero-nav .uwn-hero-arrow {
    display: block !important;
    width: 14px;
    height: 14px;
    border-top: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
    pointer-events: none;
    transition: border-color 200ms ease;
}
.uwn-hero-nav .uwn-hero-arrow--prev {
    transform: rotate(-135deg) translate(-2px, 2px);
}
.uwn-hero-nav .uwn-hero-arrow--next {
    transform: rotate(45deg) translate(-2px, -2px);
}
.uwn-hero-nav:hover .uwn-hero-arrow {
    border-color: #ffffff;
}

/* === HOTFIX: hero slider nav arrows kontrast === */
.uwn-hero-swiper .uwn-hero-nav,
.uwn-hero-nav.uwn-hero-prev,
.uwn-hero-nav.uwn-hero-next {
    background-color: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
    z-index: 10 !important;
    cursor: pointer;
}

.uwn-hero-swiper .uwn-hero-nav:hover {
    background-color: rgba(26, 58, 108, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-50%) scale(1.08);
}

.uwn-hero-swiper .uwn-hero-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.uwn-hero-swiper .uwn-hero-nav:focus-visible {
    outline: 3px solid #c9a961;
    outline-offset: 3px;
}

/* SVG chevron — wymusza biale linie */
.uwn-hero-swiper .uwn-hero-nav .uwn-hero-nav__icon,
.uwn-hero-nav .uwn-hero-nav__icon {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
    margin: auto !important;
    stroke: #ffffff !important;
    fill: none !important;
    stroke-width: 2.5 !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.uwn-hero-swiper .uwn-hero-nav .uwn-hero-nav__icon path,
.uwn-hero-nav .uwn-hero-nav__icon path {
    stroke: #ffffff !important;
    fill: none !important;
}

.uwn-hero-swiper .uwn-hero-nav:hover .uwn-hero-nav__icon path {
    stroke: #ffffff !important;
}

/* Pagination dots */
.uwn-hero-pagination .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 6px !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
}

.uwn-hero-pagination .swiper-pagination-bullet-active {
    background-color: #c9a961 !important;
    border-color: #ffffff !important;
    transform: scale(1.2);
}

/* Wylacz natywny Astra featured image na WSZYSTKICH podstronach (mamy wlasny .uwn-page-banner) */
.uwn-subpage .ast-single-post-featured-section,
.uwn-subpage .post-thumb,
.uwn-subpage .ast-article-image-container,
.uwn-subpage .ast-article-image-container--wide,
.uwn-subpage .single-post .post-thumbnail,
.uwn-subpage .page .post-thumbnail,
.uwn-subpage .entry-header .post-thumb,
.uwn-subpage .entry-header img.wp-post-image,
.uwn-subpage .entry-header.has-post-thumbnail::after {
    display: none !important;
}

/* Banner — fallback bez featured image (np. /kontakt/, /o-nas/): gradient navy bez obrazu */
.uwn-page-banner--no-bg .uwn-page-banner__overlay {
    background: linear-gradient(135deg, var(--uwn-primary) 0%, #245290 50%, var(--uwn-primary) 100%) !important;
}

/* ============================================================
   PAGE BANNER (podstrony oferty) — full-width 400px max + navy overlay + H1
   ============================================================ */
.uwn-page-banner {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: clamp(280px, 36vw, 400px);
    overflow: hidden;
    isolation: isolate;
    margin-bottom: 40px;
}
.uwn-page-banner__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 8000ms cubic-bezier(.22,1,.36,1);
}
.uwn-page-banner:hover .uwn-page-banner__bg { transform: scale(1.04); }
.uwn-page-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(26, 58, 108, 0.82) 0%,
        rgba(26, 58, 108, 0.55) 50%,
        rgba(26, 58, 108, 0.72) 100%);
    z-index: 1;
}
.uwn-page-banner__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.uwn-page-banner__title {
    font-size: clamp(2rem, 3.5vw + 1rem, 3.75rem) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    margin: 0 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    animation: uwn-banner-fadeIn 800ms cubic-bezier(.22,1,.36,1) 100ms both;
    font-family: 'Fraunces', 'Inter', -apple-system, sans-serif;
}
.uwn-page-banner__title::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background: var(--uwn-secondary);
    border-radius: 2px;
    margin-top: 24px;
    animation: uwn-banner-divider 700ms cubic-bezier(.22,1,.36,1) 400ms both;
    transform-origin: left;
}
@keyframes uwn-banner-fadeIn {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes uwn-banner-divider {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
}
@media (max-width: 768px) {
    .uwn-page-banner__inner { padding: 0 20px; }
}

/* ============================================================
   SIDEBAR OFERTY — eleganckie sticky menu, hover, animacje
   ============================================================ */
.uwn-offer-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    max-width: 1280px;
    margin: 56px auto 0;
    padding: 0 32px;
    align-items: start;
}
.uwn-offer-sidebar {
    position: sticky;
    top: 200px;
    background: #ffffff;
    border: 1px solid var(--uwn-border);
    border-radius: 16px;
    padding: 28px 22px;
    box-shadow: 0 1px 3px rgba(26, 58, 108, 0.04), 0 8px 24px rgba(26, 58, 108, 0.05);
}
.uwn-offer-sidebar__heading {
    font-family: 'Fraunces', 'Inter', sans-serif;
    font-size: 0.78rem !important;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--uwn-secondary);
    margin: 0 0 20px !important;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--uwn-border);
}
.uwn-offer-sidebar__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.uwn-offer-sidebar__nav li { margin: 0; }
.uwn-offer-sidebar__nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: var(--uwn-text);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.35;
    border-radius: 8px;
    transition:
        background 240ms cubic-bezier(.22,1,.36,1),
        color 200ms ease,
        transform 240ms cubic-bezier(.22,1,.36,1),
        padding-left 240ms cubic-bezier(.22,1,.36,1);
    position: relative;
}
.uwn-offer-sidebar__bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--uwn-border);
    flex-shrink: 0;
    transition: background 200ms ease, width 240ms cubic-bezier(.22,1,.36,1);
}
.uwn-offer-sidebar__label { flex: 1; min-width: 0; }
.uwn-offer-sidebar__arrow {
    color: var(--uwn-secondary);
    font-weight: 700;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 200ms ease, transform 240ms cubic-bezier(.22,1,.36,1);
}
.uwn-offer-sidebar__nav a:hover {
    background: var(--uwn-accent);
    color: var(--uwn-primary);
    padding-left: 18px;
}
.uwn-offer-sidebar__nav a:hover .uwn-offer-sidebar__bullet {
    background: var(--uwn-secondary);
    width: 12px;
    border-radius: 3px;
}
.uwn-offer-sidebar__nav a:hover .uwn-offer-sidebar__arrow {
    opacity: 1;
    transform: translateX(0);
}
.uwn-offer-sidebar__nav .is-active a {
    background: linear-gradient(135deg, var(--uwn-primary) 0%, #245290 100%);
    color: #ffffff;
    font-weight: 600;
    padding-left: 18px;
}
.uwn-offer-sidebar__nav .is-active a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--uwn-primary) 0%, #245290 100%);
}
.uwn-offer-sidebar__nav .is-active .uwn-offer-sidebar__bullet {
    background: var(--uwn-secondary);
    width: 12px;
    border-radius: 3px;
}
.uwn-offer-sidebar__nav .is-active .uwn-offer-sidebar__arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--uwn-secondary);
}
.uwn-offer-content,
.uwn-subpage .entry-content {} 
.uwn-offer-content {
    min-width: 0;
}
@media (max-width: 1024px) {
    .uwn-offer-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .uwn-offer-sidebar {
        position: static;
    }
}

/* ============================================================
   ELEGANT CONTENT STYLING (podstrony oferty)
   typografia Fraunces dla H2/H3 + custom lists + tla/borders
   ============================================================ */.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content .lead-text,
.uwn-subpage .entry-content .lead-text,
.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content > p:first-of-type,
.uwn-subpage .entry-content > p:first-of-type {
    font-size: 1.25rem;
    line-height: 1.55;
    color: var(--uwn-text);
    font-weight: 400;
    margin: 0 0 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--uwn-border);
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
}.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content h2,
.uwn-subpage .entry-content h2 {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: clamp(1.5rem, 1.5vw + 0.9rem, 2rem) !important;
    font-weight: 600 !important;
    color: var(--uwn-primary) !important;
    margin: 48px 0 20px !important;
    padding-left: 18px;
    position: relative;
    line-height: 1.25 !important;
    letter-spacing: -0.01em;
}.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content h2::before,
.uwn-subpage .entry-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--uwn-secondary) 0%, transparent 100%);
}.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content h3,
.uwn-subpage .entry-content h3 {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 1.375rem !important;
    font-weight: 600 !important;
    color: var(--uwn-text) !important;
    margin: 36px 0 14px !important;
    line-height: 1.3 !important;
}.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content p,
.uwn-subpage .entry-content p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--uwn-text);
    margin: 0 0 18px;
}.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content strong,
.uwn-subpage .entry-content strong {
    color: var(--uwn-primary);
    font-weight: 700;
}
/* Custom list — bullet z gold checkmark */.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content ul,
.uwn-subpage .entry-content ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 24px;
    display: grid;
    gap: 14px;
}.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content ul li,
.uwn-subpage .entry-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px 14px 16px;
    background: linear-gradient(180deg, #ffffff 0%, var(--uwn-accent) 200%);
    border-radius: 10px;
    border: 1px solid var(--uwn-border);
    transition: transform 280ms cubic-bezier(.22,1,.36,1), border-color 200ms ease;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--uwn-text);
    position: relative;
}.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content ul li:hover,
.uwn-subpage .entry-content ul li:hover {
    transform: translateX(4px);
    border-color: rgba(201, 169, 97, 0.45);
}.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content ul li::before,
.uwn-subpage .entry-content ul li::before {
    content: '';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--uwn-secondary);
    background-image: linear-gradient(135deg, var(--uwn-secondary) 0%, #d6b673 100%);
    /* checkmark inside via clip-path or pseudo — uzywam masked SVG inline */
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><circle cx="11" cy="11" r="11"/></svg>');
            mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><circle cx="11" cy="11" r="11"/></svg>');
}.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content ul li::after,
.uwn-subpage .entry-content ul li::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 21px;
    width: 8px;
    height: 4px;
    border-left: 2.5px solid #ffffff;
    border-bottom: 2.5px solid #ffffff;
    transform: rotate(-45deg);
    pointer-events: none;
}
/* Ordered list (Jak zaczac) */.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content ol,
.uwn-subpage .entry-content ol {
    list-style: none;
    counter-reset: uwn-step;
    padding: 0;
    margin: 18px 0 24px;
    display: grid;
    gap: 16px;
}.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content ol li,
.uwn-subpage .entry-content ol li {
    counter-increment: uwn-step;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid var(--uwn-border);
    border-left: 4px solid var(--uwn-secondary);
    border-radius: 10px;
    font-size: 1rem;
    line-height: 1.55;
    transition: transform 280ms cubic-bezier(.22,1,.36,1), border-left-color 200ms ease, box-shadow 280ms ease;
}.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content ol li::before,
.uwn-subpage .entry-content ol li::before {
    content: counter(uwn-step, decimal-leading-zero);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--uwn-secondary);
    line-height: 1;
    flex-shrink: 0;
    width: 36px;
}.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content ol li:hover,
.uwn-subpage .entry-content ol li:hover {
    transform: translateY(-2px);
    border-left-color: var(--uwn-primary);
    box-shadow: 0 6px 20px rgba(26, 58, 108, 0.08);
}
/* Button CTA in content */.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content .elementor-button-link,
.uwn-subpage .entry-content .elementor-button-link,
.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content a.elementor-button,
.uwn-subpage .entry-content a.elementor-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--uwn-secondary) 0%, #d6b673 100%);
    color: var(--uwn-primary);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    margin-top: 32px;
    box-shadow: 0 4px 14px rgba(201, 169, 97, 0.28);
    transition:
        transform 280ms cubic-bezier(.22,1,.36,1),
        box-shadow 280ms ease;
}.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content a.elementor-button:hover,
.uwn-subpage .entry-content a.elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(201, 169, 97, 0.42);
}.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content a.elementor-button::after,
.uwn-subpage .entry-content a.elementor-button::after {
    content: '→';
    font-weight: 400;
    transition: transform 280ms cubic-bezier(.22,1,.36,1);
}.uwn-offer-content,
.uwn-subpage .entry-content,
.uwn-subpage .entry-content {}.uwn-offer-content a.elementor-button:hover::after,
.uwn-subpage .entry-content a.elementor-button:hover::after {
    transform: translateX(5px);
}

/* ============================================================
   STRONA /oferta/ — 6 zajawek + detail list
   ============================================================ */
.uwn-offer-intro {
    max-width: 920px;
    margin: 0 auto 56px;
    padding: 0 16px;
}
.uwn-offer-intro__lead {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: clamp(1.125rem, 0.9vw + 0.85rem, 1.35rem) !important;
    line-height: 1.55 !important;
    text-align: center;
    color: var(--uwn-text-muted);
    font-style: italic;
    margin: 0 !important;
}
/* ============================================================
   CAROUSEL OFERTY — 4 widoczne, auto 5s, vanilla JS
   ============================================================ */
.uwn-carousel {
    --uwn-c-paper: #f4efe6;
    --uwn-c-ink: var(--uwn-text);
    --uwn-c-concrete: var(--uwn-border);
    max-width: 1320px;
    margin: 0 auto 96px;
    padding: 0 32px;
}
.uwn-carousel__viewport {
    overflow-x: hidden;                /* clip horyzontalnie (track translate) */
    overflow-y: visible;               /* shadow karty na hover NIE ucinamy */
    width: 100%;
    margin-bottom: 12px;
    padding: 16px 4px 60px;            /* duzy padding-bottom dla shadow (do 56px y-offset) */
}
.uwn-carousel__track {
    display: flex;
    gap: clamp(16px, 1.6vw, 22px);
    transition: transform 700ms cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}
.uwn-carousel__card {
    --c-gap: clamp(16px, 1.6vw, 22px);
    flex: 0 0 calc((100% - 3 * var(--c-gap)) / 4);
    aspect-ratio: 4 / 5;                    /* portrait card matchujacy crop grafik 3:2 minimalnie */
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    isolation: isolate;
    text-decoration: none !important;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background: var(--uwn-primary);
    box-shadow: 0 1px 3px rgba(26, 58, 108, 0.08), 0 12px 28px rgba(26, 58, 108, 0.10);
    transition:
        transform 480ms cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 480ms ease,
        filter 720ms ease;
}
.uwn-carousel__card-img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center 35%;            /* gora kadru bardziej widoczna (twarze, niebo) */
    z-index: 0;
    transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1), filter 720ms ease;
    filter: saturate(0.94);
}
.uwn-carousel__card:hover {
    transform: translate(-1px, -6px);
    box-shadow: 0 4px 12px rgba(26, 58, 108, 0.14), 0 24px 56px rgba(26, 58, 108, 0.22);
}
.uwn-carousel__card:hover .uwn-carousel__card-img {
    transform: scale(1.06);
    filter: saturate(1.05);
}
.uwn-carousel__card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 78% 22%, rgba(201, 169, 97, 0.22) 0%, transparent 55%),
        linear-gradient(180deg, rgba(26, 58, 108, 0.05) 0%, rgba(26, 58, 108, 0.55) 60%, rgba(26, 58, 108, 0.92) 100%);
    transition: background 480ms ease;
    pointer-events: none;
}
.uwn-carousel__card:hover .uwn-carousel__card-overlay {
    background:
        radial-gradient(circle at 78% 22%, rgba(201, 169, 97, 0.34) 0%, transparent 55%),
        linear-gradient(180deg, rgba(26, 58, 108, 0.10) 0%, rgba(26, 58, 108, 0.62) 60%, rgba(26, 58, 108, 0.95) 100%);
}
.uwn-carousel__card-num {
    position: absolute;
    top: 18px; right: 18px;
    z-index: 2;
    font-family: 'Fraunces', Georgia, serif;
    font-feature-settings: 'tnum';
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.10);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    letter-spacing: 0.06em;
}
.uwn-carousel__card-body {
    position: relative;
    z-index: 2;
}
.uwn-carousel__card-kicker {
    display: inline-block;
    font-size: 0.71875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--uwn-secondary);
    padding: 4px 10px;
    background: rgba(201, 169, 97, 0.14);
    border: 1px solid rgba(201, 169, 97, 0.28);
    border-radius: 999px;
    margin-bottom: 14px;
}
.uwn-carousel__card-title {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 1.375rem !important;
    font-weight: 700 !important;
    line-height: 1.16 !important;
    color: #ffffff !important;
    margin: 0 0 10px !important;
    letter-spacing: -0.015em;
    text-shadow: 0 1px 8px rgba(26, 22, 20, 0.45);
}
.uwn-carousel__card-excerpt {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 16px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.uwn-carousel__card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--uwn-secondary);
    text-transform: uppercase;
    letter-spacing: 0.10em;
    transition: gap 480ms cubic-bezier(0.34, 1.56, 0.64, 1), color 280ms ease;
}
.uwn-carousel__card:hover .uwn-carousel__card-cta {
    gap: 0.85rem;
    color: #ffffff;
}
.uwn-carousel__card-arrow {
    transition: transform 480ms cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}
.uwn-carousel__card:hover .uwn-carousel__card-arrow {
    transform: translateX(3px);
}

/* === Controls === */
.uwn-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 8px;
}
.uwn-carousel__nav {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: linear-gradient(145deg, #ffffff 0%, var(--uwn-c-paper, #f4efe6) 100%);
    color: var(--uwn-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(26, 58, 108, 0.04),
        0 4px 14px rgba(26, 58, 108, 0.08),
        0 0 0 1px rgba(26, 58, 108, 0.06);
    transition:
        background 360ms cubic-bezier(0.34, 1.56, 0.64, 1),
        color 360ms ease,
        transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 360ms ease;
    isolation: isolate;
}
.uwn-carousel__nav::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px solid var(--uwn-secondary);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 360ms ease, transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: -1;
}
.uwn-carousel__nav::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.30), transparent 65%);
    opacity: 0;
    transition: opacity 360ms ease;
    pointer-events: none;
    z-index: -2;
}
.uwn-carousel__nav:hover,
.uwn-carousel__nav:focus-visible {
    background: linear-gradient(145deg, var(--uwn-secondary) 0%, #d6b673 100%);
    color: #ffffff;
    transform: translateY(-3px) scale(1.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 8px 22px rgba(201, 169, 97, 0.40);
    outline: none;
}
.uwn-carousel__nav:hover::before,
.uwn-carousel__nav:focus-visible::before { opacity: 0.55; transform: scale(1); }
.uwn-carousel__nav:hover::after,
.uwn-carousel__nav:focus-visible::after { opacity: 1; }
.uwn-carousel__nav:active {
    transform: translateY(-1px) scale(0.98);
}
.uwn-carousel__nav svg {
    width: 22px;
    height: 22px;
    pointer-events: none;
    transition: transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.uwn-carousel__nav--prev:hover svg { transform: translateX(-3px); }
.uwn-carousel__nav--next:hover svg { transform: translateX(3px); }

/* === Dots === */
.uwn-carousel__dots {
    list-style: none;
    margin: 0;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(26, 58, 108, 0.04);
    border-radius: 999px;
    box-shadow: inset 0 1px 2px rgba(26, 58, 108, 0.05);
    position: relative;
}
.uwn-carousel__dots::before {
    content: '';
    position: absolute;
    left: 18px; right: 18px;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 58, 108, 0.08) 18%, rgba(26, 58, 108, 0.08) 82%, transparent);
    z-index: 0;
    pointer-events: none;
}
.uwn-carousel__dots li {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 1;
}
.uwn-carousel__dot {
    position: relative;
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    background: var(--uwn-border);
    border-radius: 50%;
    cursor: pointer;
    transition:
        width 460ms cubic-bezier(0.34, 1.56, 0.64, 1),
        height 360ms ease,
        background 360ms ease,
        border-radius 460ms cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 360ms ease,
        transform 360ms ease;
    overflow: visible;
}
.uwn-carousel__dot::before {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.18);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 280ms ease, transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}
.uwn-carousel__dot:hover {
    transform: scale(1.25);
    background: var(--uwn-text-muted);
}
.uwn-carousel__dot:hover::before { opacity: 1; transform: scale(1); }
.uwn-carousel__dot.is-active,
.uwn-carousel__dot[aria-current="true"] {
    width: 36px;
    height: 12px;
    background: linear-gradient(90deg, var(--uwn-secondary) 0%, #d6b673 100%);
    border-radius: 999px;
    box-shadow:
        0 2px 8px rgba(201, 169, 97, 0.40),
        0 0 0 2px rgba(201, 169, 97, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
    transform: none;
}
.uwn-carousel__dot.is-active::before,
.uwn-carousel__dot[aria-current="true"]::before { display: none; }
.uwn-carousel__dot:focus-visible {
    outline: 2px solid var(--uwn-secondary);
    outline-offset: 4px;
}

/* Responsive — visible cards (CSS jako fallback dla SSR; JS oblicza precyzyjnie) */
@media (max-width: 1023px) {
    .uwn-carousel__card {
        flex: 0 0 calc((100% - 1 * var(--c-gap)) / 2);
        min-height: 360px;
    }
}
@media (max-width: 599px) {
    .uwn-carousel__card {
        flex: 0 0 100%;
        min-height: 340px;
    }
    .uwn-carousel { padding: 0 16px; }
    .uwn-carousel__nav { width: 48px; height: 48px; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .uwn-carousel__track,
    .uwn-carousel__nav,
    .uwn-carousel__dot,
    .uwn-carousel__card-img { transition: none !important; }
}

/* (legacy uwn-offer-grid styles below — non-active po przejsciu na carousel) */
.uwn-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 0 auto 80px;
    max-width: 1280px;
}
.uwn-offer-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--uwn-border);
    border-radius: 18px;
    padding: 0;
    text-decoration: none !important;
    color: var(--uwn-text);
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 480ms cubic-bezier(.22,1,.36,1),
        box-shadow 480ms cubic-bezier(.22,1,.36,1),
        border-color 280ms ease;
}
.uwn-offer-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 169, 97, 0.45);
    box-shadow:
        0 1px 3px rgba(26, 58, 108, 0.05),
        0 24px 56px rgba(26, 58, 108, 0.16);
}

/* Media — featured image + navy gradient overlay */
.uwn-offer-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--uwn-accent);
}
.uwn-offer-card__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 720ms cubic-bezier(.22,1,.36,1);
}
.uwn-offer-card:hover .uwn-offer-card__img { transform: scale(1.08); }
.uwn-offer-card__media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(26, 58, 108, 0.10) 0%,
        rgba(26, 58, 108, 0.05) 50%,
        rgba(26, 58, 108, 0.45) 100%);
    transition: background 480ms ease;
    pointer-events: none;
}
.uwn-offer-card:hover .uwn-offer-card__media-overlay {
    background: linear-gradient(180deg,
        rgba(26, 58, 108, 0.20) 0%,
        rgba(26, 58, 108, 0.12) 50%,
        rgba(26, 58, 108, 0.60) 100%);
}

.uwn-offer-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 28px 28px 26px;
}
.uwn-offer-card__eyebrow {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--uwn-secondary);
    margin: 0 0 10px;
    display: block;
}
.uwn-offer-card__title {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: var(--uwn-text) !important;
    margin: 0 0 14px !important;
    letter-spacing: -0.015em;
    transition: color 280ms ease;
}
.uwn-offer-card:hover .uwn-offer-card__title { color: var(--uwn-primary); }
.uwn-offer-card__desc {
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
    color: var(--uwn-text-muted) !important;
    margin: 0 0 22px !important;
    flex: 1;
}
.uwn-offer-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--uwn-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 280ms ease, gap 280ms cubic-bezier(.22,1,.36,1);
}
.uwn-offer-card:hover .uwn-offer-card__cta {
    color: var(--uwn-primary);
    gap: 14px;
}
.uwn-offer-card__arrow {
    transition: transform 280ms cubic-bezier(.22,1,.36,1);
}
.uwn-offer-card:hover .uwn-offer-card__arrow { transform: translateX(2px); }

@media (max-width: 1024px) {
    .uwn-offer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
    .uwn-offer-grid { grid-template-columns: 1fr; gap: 20px; }
    .uwn-offer-card { padding: 26px 24px 24px; }
}

/* === detail list pod zajawkami === */
.uwn-offer-detail {
    max-width: 920px;
    margin: 0 auto;
    padding: 80px 24px 56px;
    border-top: 1px solid var(--uwn-border);
}
.uwn-offer-detail__heading {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: clamp(1.625rem, 1.5vw + 0.9rem, 2.125rem) !important;
    font-weight: 600 !important;
    text-align: center;
    color: var(--uwn-primary) !important;
    margin: 0 0 56px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.015em;
}
.uwn-offer-detail__heading::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background: var(--uwn-secondary);
    border-radius: 2px;
    margin: 24px auto 0;
}
.uwn-offer-detail__block {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid var(--uwn-border);
    align-items: start;
}
.uwn-offer-detail__block:last-of-type { border-bottom: none; }
.uwn-offer-detail__num {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--uwn-secondary);
    letter-spacing: -0.03em;
    text-align: right;
    padding-right: 8px;
    border-right: 2px solid var(--uwn-border);
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.uwn-offer-detail__block h3 {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: var(--uwn-primary) !important;
    margin: 0 0 16px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em;
}
.uwn-offer-detail__block p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--uwn-text);
    margin: 0 0 14px;
}
.uwn-offer-detail__block p:last-child { margin-bottom: 0; }
.uwn-offer-detail__block strong {
    color: var(--uwn-primary);
    font-weight: 700;
}
.uwn-offer-detail__cta-row {
    text-align: center;
    margin: 56px 0 0 !important;
}
@media (max-width: 600px) {
    .uwn-offer-detail__block {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .uwn-offer-detail__num {
        text-align: left;
        border-right: none;
        border-bottom: 2px solid var(--uwn-border);
        padding: 0 0 8px;
        justify-content: flex-start;
    }
}

/* MOTOEXPERT figure na /wspolpraca/ */
.uwn-wsp-figure {
    float: right;
    margin: 4px 0 24px 32px;
    padding: 16px;
    background: var(--uwn-accent);
    border: 1px solid var(--uwn-border);
    border-radius: 14px;
    text-align: center;
    max-width: 200px;
}
.uwn-wsp-figure img {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto 10px;
    border-radius: 8px;
}
.uwn-wsp-figure figcaption {
    font-size: 0.75rem;
    color: var(--uwn-text-muted);
    line-height: 1.4;
    font-style: italic;
}
@media (max-width: 600px) {
    .uwn-wsp-figure {
        float: none;
        margin: 0 auto 24px;
    }
}

/* ============================================================
   FORMULARZ KONTAKTOWY (CF7) — eleganckie stylowanie
   ============================================================ */
.wpcf7 {
    max-width: 720px;
    margin: 32px auto;
    padding: 40px 36px;
    background: linear-gradient(180deg, #ffffff 0%, var(--uwn-accent) 200%);
    border: 1px solid var(--uwn-border);
    border-radius: 16px;
    box-shadow:
        0 1px 3px rgba(26, 58, 108, 0.05),
        0 14px 44px rgba(26, 58, 108, 0.08);
}
.wpcf7-form > p {
    margin: 0 0 22px;
    font-family: 'Inter', sans-serif;
}
.wpcf7-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--uwn-primary);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: #ffffff;
    border: 1.5px solid var(--uwn-border);
    border-radius: 8px;
    color: var(--uwn-text);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition:
        border-color 200ms ease,
        box-shadow 200ms ease,
        background 200ms ease;
    box-sizing: border-box;
}
.wpcf7-form input:hover,
.wpcf7-form select:hover,
.wpcf7-form textarea:hover {
    border-color: var(--uwn-secondary);
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--uwn-primary);
    box-shadow: 0 0 0 4px rgba(26, 58, 108, 0.10);
}
.wpcf7-form textarea {
    min-height: 140px;
    resize: vertical;
}
.wpcf7-form input.wpcf7-not-valid {
    border-color: #d22;
    box-shadow: 0 0 0 4px rgba(221, 34, 34, 0.10);
}
.wpcf7-not-valid-tip {
    color: #d22;
    font-size: 0.875rem;
    margin-top: 6px;
}
.wpcf7-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--uwn-primary) 0%, #245290 100%);
    color: #ffffff;
    padding: 16px 36px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(26, 58, 108, 0.22);
    transition: transform 280ms cubic-bezier(.22,1,.36,1), box-shadow 280ms ease, background 280ms ease;
    width: auto;
    margin-top: 8px;
}
.wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(26, 58, 108, 0.32);
    background: linear-gradient(135deg, #245290 0%, var(--uwn-primary) 100%);
}
.wpcf7-form input[type="submit"]:disabled,
.wpcf7-form input[type="submit"][disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
/* HONEYPOT — totalnie ukryty (dla botow) */
.wpcf7-form .uwn-hp,
.wpcf7-form input[name="website-url"],
.wpcf7-form .wpcf7-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}
/* Response output (po submit) */
.wpcf7-response-output {
    margin: 24px 0 0 !important;
    padding: 16px 20px !important;
    border-radius: 8px !important;
    border: none !important;
    border-left: 4px solid var(--uwn-secondary) !important;
    background: #ffffff;
    font-size: 0.9375rem;
}
.wpcf7-mail-sent-ok .wpcf7-response-output {
    border-left-color: #2da44e !important;
    background: #f0f9f4;
}
.wpcf7-validation-errors .wpcf7-response-output,
.wpcf7-acceptance-missing .wpcf7-response-output {
    border-left-color: #d22 !important;
    background: #fff5f5;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .uwn-hero-slide__bg { transform: none !important; }
    .uwn-hero-swiper .swiper-slide-active .uwn-hero-slide__eyebrow,
    .uwn-hero-swiper .swiper-slide-active .uwn-hero-slide__title,
    .uwn-hero-swiper .swiper-slide-active .uwn-hero-slide__lead,
    .uwn-hero-swiper .swiper-slide-active .uwn-hero-slide__cta {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}
