.deedpoll-faq-hero,
.deedpoll-faq-hero * {
    box-sizing: border-box;
}

.deedpoll-faq-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    padding: 30px 20px;
}

.deedpoll-faq-hero__inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.deedpoll-faq-hero__panel {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 690px;
    overflow: hidden;
    padding: 82px 72px;
    border-radius: 28px;
    background: linear-gradient(115deg, #ffffff 0%, #fbfdff 55%, #f2f7ff 100%);
}

.deedpoll-faq-hero__grid {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 54px;
    min-height: 100%;
}

.deedpoll-faq-hero__left {
    flex: 0 0 45%;
    max-width: 45%;
    min-width: 0;
}

.deedpoll-faq-hero__right {
    flex: 1 1 auto;
    min-width: 0;
}

.deedpoll-faq-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 34px;
    padding: 8px 20px;
    border-radius: 24px;
    background: #073878;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.deedpoll-faq-hero__heading {
    margin: 0 0 24px;
    color: #062f68;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 58px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.025em;
}

.deedpoll-faq-hero__description {
    max-width: 520px;
    margin: 0 0 48px;
    color: #566274;
    font-family: Inter, Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;
}

.deedpoll-faq-hero__search {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 560px;
    min-height: 66px;
    padding: 5px 6px 5px 20px;
    background: #fff;
    border: 1px solid #e2e6ec;
    border-radius: 34px;
    box-shadow: 0 2px 7px rgba(12, 43, 80, .04);
}

.deedpoll-faq-hero__search-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #264f84;
    font-size: 22px;
}

.deedpoll-faq-hero__search-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.deedpoll-faq-hero__search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    padding: 0;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #3f4e63;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1;
}

.deedpoll-faq-hero__search-input::placeholder {
    color: #6c7788;
    opacity: 1;
}

.deedpoll-faq-hero__search-button,
.deedpoll-faq-hero__search-button:hover,
.deedpoll-faq-hero__search-button:focus {
    flex: 0 0 auto;
    min-height: 54px;
    margin: 0;
    padding: 14px 32px;
    border: 0 !important;
    border-radius: 30px;
    outline: 0;
    box-shadow: none;
    background: #073878;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.deedpoll-faq-hero__search-button:hover,
.deedpoll-faq-hero__search-button:focus {
    background: #0c4c97;
    color: #fff;
    transform: translateY(-1px);
}

.deedpoll-faq-hero__visual {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,.95);
    border-radius: 24px;
    box-shadow: 0 14px 36px rgba(12, 43, 80, .12);
}

.deedpoll-faq-hero__visual img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center center;
    border-radius: 20px;
}

.deedpoll-faq-hero__shape,
.deedpoll-faq-hero__dots,
.deedpoll-faq-hero__rings {
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.deedpoll-faq-hero__shape {
    width: 360px;
    height: 360px;
    right: -82px;
    top: -105px;
    border-radius: 42% 0 55% 50%;
    background: #edf4fd;
    opacity: .78;
    transform: rotate(18deg);
}

.deedpoll-faq-hero__dots {
    width: 110px;
    height: 120px;
    background-image: radial-gradient(circle, #d6e4f7 1.7px, transparent 1.9px);
    background-size: 15px 15px;
    opacity: .82;
}

.deedpoll-faq-hero__dots--top {
    top: 26px;
    left: 28px;
}

.deedpoll-faq-hero__dots--bottom {
    left: 46%;
    bottom: -8px;
}

.deedpoll-faq-hero__rings {
    width: 420px;
    height: 420px;
    left: -220px;
    bottom: -245px;
    border: 2px solid #dbe8f8;
    border-radius: 50%;
    opacity: .8;
}

.deedpoll-faq-hero__rings::before {
    content: '';
    position: absolute;
    inset: 24px;
    border: 2px solid #dbe8f8;
    border-radius: 50%;
}

.deedpoll-faq-hero--no-decor .deedpoll-faq-hero__shape,
.deedpoll-faq-hero--no-decor .deedpoll-faq-hero__dots,
.deedpoll-faq-hero--no-decor .deedpoll-faq-hero__rings {
    display: none;
}

@media (max-width: 1024px) {
    .deedpoll-faq-hero__panel {
        min-height: 0;
        padding: 58px 38px;
    }

    .deedpoll-faq-hero__grid {
        gap: 34px;
    }

    .deedpoll-faq-hero__heading {
        font-size: 46px;
    }

    .deedpoll-faq-hero__description {
        font-size: 16px;
        line-height: 1.65;
        margin-bottom: 34px;
    }

    .deedpoll-faq-hero__visual img {
        height: 410px;
    }
}

@media (max-width: 767px) {
    .deedpoll-faq-hero {
        padding: 20px;
    }

    .deedpoll-faq-hero__panel {
        padding: 42px 22px 24px;
        border-radius: 22px;
    }

    .deedpoll-faq-hero__grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 34px;
    }

    .deedpoll-faq-hero__left,
    .deedpoll-faq-hero__right {
        flex-basis: 100% !important;
        max-width: 100% !important;
        width: 100%;
    }

    .deedpoll-faq-hero__badge {
        margin-bottom: 22px;
        padding: 7px 16px;
        font-size: 12px;
    }

    .deedpoll-faq-hero__heading {
        font-size: 40px;
        line-height: 1.08;
        margin-bottom: 18px;
    }

    .deedpoll-faq-hero__description {
        max-width: none;
        margin-bottom: 28px;
        font-size: 16px;
        line-height: 1.6;
    }

    .deedpoll-faq-hero__search {
        max-width: none;
        min-height: 58px;
        padding: 4px 4px 4px 16px;
    }

    .deedpoll-faq-hero__search-button,
    .deedpoll-faq-hero__search-button:hover,
    .deedpoll-faq-hero__search-button:focus {
        min-height: 48px;
        padding: 12px 22px;
        font-size: 14px;
    }

    .deedpoll-faq-hero__visual img {
        height: auto;
        aspect-ratio: 1.17 / 1;
    }

    .deedpoll-faq-hero__shape {
        width: 220px;
        height: 220px;
        right: -100px;
        top: -60px;
    }

    .deedpoll-faq-hero__dots--bottom {
        left: 45%;
        bottom: -22px;
    }
}
