/* =========================================================
   ZWP CONTACT HERO
   Unikalny namespace: .zwp-contacthero
   Nie używa .zwp-contact-card, .hero-content ani innych klas
   istniejących w page-contact.php.
   ========================================================= */

.zwp-contacthero,
.zwp-contacthero *,
.zwp-contacthero *::before,
.zwp-contacthero *::after {
    box-sizing: border-box;
}

.zwp-contacthero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    padding: 92px 0 68px;
    background:
        radial-gradient(circle at 11% 17%, rgba(74, 124, 89, 0.16) 0, rgba(74, 124, 89, 0) 31%),
        radial-gradient(circle at 88% 12%, rgba(201, 162, 39, 0.12) 0, rgba(201, 162, 39, 0) 27%),
        linear-gradient(135deg, #f5f1e8 0%, #f8fbf8 52%, #eef5ef 100%);
    color: #173a2a;
}

.zwp-contacthero__container {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.zwp-contacthero__layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr) !important;
    gap: clamp(34px, 5vw, 72px) !important;
    align-items: center !important;
    width: 100%;
}

.zwp-contacthero__copy,
.zwp-contacthero__aside,
.zwp-contacthero__panel,
.zwp-contacthero__panel-head,
.zwp-contacthero__panel-list,
.zwp-contacthero__panel-row,
.zwp-contacthero__panel-row-copy {
    min-width: 0;
}

.zwp-contacthero__copy {
    position: relative;
    z-index: 2;
}

.zwp-contacthero__kicker {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: fit-content;
    margin: 0 0 20px;
    padding: 7px 13px 7px 8px;
    border: 1px solid rgba(45, 90, 61, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: #2d5a3d;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(45, 90, 61, 0.06);
}

.zwp-contacthero__kicker-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: #2d5a3d;
    color: #fff;
    font-size: 13px;
}

.zwp-contacthero__title {
    max-width: 760px;
    margin: 0 0 20px !important;
    color: #173a2a !important;
    font-family: var(--font-body, "Open Sans", Arial, sans-serif) !important;
    font-size: clamp(2.6rem, 5.2vw, 4.8rem) !important;
    font-weight: 800 !important;
    line-height: 1.02 !important;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.zwp-contacthero__lead {
    max-width: 720px;
    margin: 0 !important;
    color: #53645a !important;
    font-size: clamp(1rem, 1.4vw, 1.12rem) !important;
    line-height: 1.75 !important;
}

.zwp-contacthero__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 30px;
}

.zwp-contacthero__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    min-height: 48px;
    padding: 13px 20px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.zwp-contacthero__button--primary {
    border: 1px solid #2d5a3d !important;
    background: #2d5a3d !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(45, 90, 61, 0.19);
}

.zwp-contacthero__button--secondary {
    border: 1px solid rgba(45, 90, 61, 0.18) !important;
    background: rgba(255, 255, 255, 0.82) !important;
    color: #244d35 !important;
}

.zwp-contacthero__button:hover {
    transform: translateY(-2px);
}

.zwp-contacthero__button--primary:hover {
    background: #234a32 !important;
    color: #fff !important;
    box-shadow: 0 16px 32px rgba(45, 90, 61, 0.24);
}

.zwp-contacthero__button--secondary:hover {
    background: #fff !important;
    color: #173a2a !important;
}

.zwp-contacthero__topics {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    margin-top: 24px;
}

.zwp-contacthero__topic {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 12px !important;
    border: 1px solid rgba(45, 90, 61, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    color: #486153;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.zwp-contacthero__topic i {
    color: #4a7c59;
}

.zwp-contacthero__aside {
    position: relative;
    z-index: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 100%;
}

.zwp-contacthero__panel {
    position: relative;
    display: block !important;
    width: 100% !important;
    max-width: 465px !important;
    margin: 0 !important;
    padding: 28px !important;
    overflow: hidden;
    border: 1px solid rgba(45, 90, 61, 0.12) !important;
    border-radius: 28px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: 0 24px 60px rgba(30, 65, 43, 0.12) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.zwp-contacthero__panel::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 175px;
    height: 175px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.10);
    pointer-events: none;
}

.zwp-contacthero__panel-head {
    position: relative;
    z-index: 1;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin: 0 0 18px !important;
}

.zwp-contacthero__panel-symbol {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    flex: 0 0 54px !important;
    border-radius: 18px !important;
    background: #2d5a3d !important;
    color: #fff !important;
    font-size: 20px !important;
    box-shadow: 0 10px 22px rgba(45, 90, 61, 0.18);
}

.zwp-contacthero__panel-heading {
    min-width: 0;
}

.zwp-contacthero__panel-kicker {
    display: block !important;
    margin: 0 0 3px !important;
    color: #789083 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.zwp-contacthero__panel-title {
    margin: 0 !important;
    color: #173a2a !important;
    font-family: var(--font-body, "Open Sans", Arial, sans-serif) !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
}

.zwp-contacthero__panel-text {
    position: relative;
    z-index: 1;
    margin: 0 0 20px !important;
    color: #5f6e65 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

.zwp-contacthero__panel-list {
    position: relative;
    z-index: 1;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 0 !important;
}

.zwp-contacthero__panel-row {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) 18px !important;
    gap: 12px !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    border: 1px solid #e8eee9 !important;
    border-radius: 16px !important;
    background: #fbfdfb !important;
    color: #243d2e !important;
    text-decoration: none !important;
}

.zwp-contacthero__panel-row--static {
    grid-template-columns: 42px minmax(0, 1fr) !important;
}

.zwp-contacthero__panel-row-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 13px !important;
    background: #eef5ef !important;
    color: #2d5a3d !important;
    font-size: 15px !important;
}

.zwp-contacthero__panel-row-copy {
    display: block !important;
    overflow: hidden;
}

.zwp-contacthero__panel-row-copy strong {
    display: block !important;
    margin: 0 0 2px !important;
    color: #203b2a !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

.zwp-contacthero__panel-row-copy span {
    display: block !important;
    overflow-wrap: anywhere;
    color: #64736a !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
}

.zwp-contacthero__panel-row-arrow {
    justify-self: end;
    color: #769080;
    font-size: 12px;
}

.zwp-contacthero__panel-row:hover {
    border-color: rgba(45, 90, 61, 0.20) !important;
    background: #fff !important;
}

.zwp-contacthero__panel-note {
    position: relative;
    z-index: 1;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 16px 0 0 !important;
    padding: 13px 14px !important;
    border-radius: 15px !important;
    background: #f5f1e8 !important;
    color: #526158 !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
}

.zwp-contacthero__panel-note i {
    margin-top: 3px;
    color: #a5851f;
}

.zwp-contacthero__decor {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

.zwp-contacthero__decor--top {
    top: -130px;
    right: -100px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(45, 90, 61, 0.09);
    background: rgba(255, 255, 255, 0.16);
}

.zwp-contacthero__decor--bottom {
    bottom: -190px;
    left: 31%;
    width: 380px;
    height: 380px;
    background: rgba(74, 124, 89, 0.055);
}

@media (max-width: 980px) {
    .zwp-contacthero {
        padding: 70px 0 54px;
    }

    .zwp-contacthero__layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 34px !important;
    }

    .zwp-contacthero__aside {
        justify-content: flex-start !important;
    }

    .zwp-contacthero__panel {
        max-width: 680px !important;
    }
}

@media (max-width: 640px) {
    .zwp-contacthero {
        padding: 52px 0 38px;
    }

    .zwp-contacthero__container {
        width: min(100% - 24px, 1240px);
    }

    .zwp-contacthero__title {
        font-size: clamp(2.2rem, 11vw, 3.2rem) !important;
    }

    .zwp-contacthero__actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .zwp-contacthero__button {
        width: 100% !important;
    }

    .zwp-contacthero__topics {
        gap: 7px !important;
    }

    .zwp-contacthero__topic {
        font-size: 12px !important;
    }

    .zwp-contacthero__panel {
        padding: 20px !important;
        border-radius: 22px !important;
    }

    .zwp-contacthero__panel-row {
        grid-template-columns: 40px minmax(0, 1fr) 16px !important;
        padding: 10px !important;
    }

    .zwp-contacthero__panel-row--static {
        grid-template-columns: 40px minmax(0, 1fr) !important;
    }

    .zwp-contacthero__panel-row-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
    }
}
