.ipoteka-esg-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.h-100 {
    height: 100%;
}

.esg-main {
    min-height: 100vh;
    padding: 0;
    background-color: var(--container-high);
}

.esg-main .share-button {
    display: inline-flex;
}

.esg-main .copied {
    top: -30px;
    background: #0A3033;
    left: 50%;
    transform: translateX(-50%);
}

.section .section-header {
    max-width: 277px;
    display: flex;
    flex-direction: column;
    gap: var(--space-base);
    font-family: var(--hero-font-family);
    flex-shrink: 0;
}

.section-header .section-title {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
}

.section-header .section-subtitle {
    font-size: 1rem;
    line-height: 1.5;
}

.grid-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.section.section--dark {
    background-color: #0A3033;
    color: var(--on-surface-inverse);
}


.custom-slide-arrows {
    display: flex;
    gap: 2.25rem;
    justify-content: center;
    margin-top: 2.25rem;
    --main-color: var(--primary);
}

.custom-slide-arrow {
    position: static;
    transform: none;
    background-color: transparent;
    border-radius: 0;
    color: var(--main-color);
}

.custom-slide-arrow:disabled {
    background: transparent;
    color: var(--main-color);
    opacity: .3;
}

.custom-slide-arrow svg {
    width: 2rem;
    height: 2rem;
}

.custom-slide-pagination {
    position: static;
    gap: 1.75rem;
    padding: 0;
}

.custom-slide-pagination li {
    line-height: 0;
}

.custom-slide-page {
    margin: 0;
    background: var(--main-color);
    opacity: .3;
}

.custom-slide-page.is-active {
    background: var(--main-color);
    transform: none;
    opacity: 1;
}

.custom-slide-arrows.custom-slide-arrows--dark {
    --main-color: var(--on-surface-variant);
}

@media (min-width: 768px) {


    .section .section-header {
        max-width: 508px;
    }

    .section-header .section-title {
        font-size: 4.375rem;
    }

    .section-header .section-subtitle {
        font-size: 1.25rem;
        line-height: 1.4;
    }
}


/* PARALLAX SECTION */
.parallax-section {
    height: 400px;
    background-image: url(https://images.unsplash.com/photo-1488330890490-c291ecf62571?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    margin-bottom: 3.75rem;
}

/* EFFECT SECTIONS */


.effect-wrapper {
    padding: 3.75rem 0;
}



/* MODAL */

.form-modal.modal .modal-content {
    background-color: var(--container);
    border-radius: var(--radius-16);
}

.modal.form-modal .modal-header {
    border-radius: var(--radius-16) var(--radius-16) 0 0;
}

.modal.form-modal .modal-footer {
    border-radius: 0 0 var(--radius-16) var(--radius-16);
}

.modal.form-modal .modal-header,
.modal.form-modal .modal-footer {
    background-color: var(--container-higher);
    padding: 1rem 1.5rem;
    border: none;
}

.modal.form-modal .modal-body {
    padding: 1.5rem;
}

.modal.form-modal .modal-header .modal-title {
    font-family: var(--hero-font-family);
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.2;
}

.modal.form-modal .modal-header button {
    padding: 0;
}

.modal.form-modal .modal-footer {
    background-color: var(--container-higher);
}

/* FORM */
.form-wrapper .input-switch {
    width: 2.625rem;
    height: 1.5rem;
    background-color: var(--container-lower);
    border-radius: var(--radius-999);
    justify-content: flex-start;
    transition: all 0.2s ease-in-out;
}

.form-wrapper .input-switch::before {
    content: "";
    width: 1.125rem;
    height: 1.125rem;
    background-color: var(--container-higher);
    border-radius: var(--radius-999);
    margin: 3px;
    transition: all 0.2s ease-in-out;
}

.form-wrapper .input-switch:checked {
    background-color: var(--primary);
}

.form-wrapper .input-switch:checked::before {
    transform: translateX(100%);
    transition: all 0.2s ease-in-out;
}

.form-wrapper .input {
    border: 1px solid var(--container-low);
    height: 3rem;
    padding: var(--space-2x);
}

.form-wrapper textarea.input {
    height: auto;
}

.form-wrapper .row {
    row-gap: var(--bs-gutter-x);
}

.form-check.form-check--button {
    background-color: var(--container-higher);
    padding: var(--space-2x);
    border-radius: var(--radius-16);
    border: 1px solid transparent;
    cursor: pointer;
}

.form-check.form-check--button label {
    cursor: pointer;
}

.form-control .form-control__detail {
    font-size: .875rem;
    line-height: 1.28;
    color: var(--on-surface-variant);
}

.form-check.form-check--button:has(input:checked) {
    border-color: var(--primary);
}

.form-wrapper .form-row {
    padding: 1rem 0;
    row-gap: var(--bs-gutter-x);
}

.form-control .form-control__flex-list {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.form-check.form-check--start {
    align-items: flex-start;
}



.guarantee-block {
    display: flex;
    gap: .5rem;
    padding: 1rem;
    border-radius: var(--radius-16);
    border: 1px solid var(--outline-variant);
}

.guarantee-block .guarantee-block__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.guarantee-block .guarantee-block__text {
    font-size: 13px;
    line-height: 1.23;
}

.form-submit {
    display: flex;
}

.form-submit.esg-form-submit {
    justify-content: center;
}

/* Minimal styling */
.simple-select {
    position: relative;
}

.simple-select__control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-base);
    cursor: pointer;
    user-select: none;
}

.simple-select__placeholder {
    color: var(--on-surface);
}

.simple-select__arrow {
    margin-left: var(--space-base);
    transform: rotate(0deg);
    transition: transform 0.15s;
}

.simple-select.open .simple-select__arrow {
    transform: rotate(180deg);
}

.simple-select__dropdown {
    position: absolute;
    left: 0;
    right: 0;
    margin-top: var(--space-base);
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-12);
    background: var(--container-higher);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.simple-select__search {
    box-sizing: border-box;
    /* width: 100%; */
    padding: var(--space-base);
    margin: var(--space-base);
    background: var(--container-high);
    border-radius: var(--radius-8);
    border: none;
    /* border-bottom: 1px solid #eee; */
    outline: none;
}

.simple-select__list {
    max-height: 200px;
    overflow: auto;
    margin: 0;
    padding: var(--space-base) 0;
    list-style: none;
}

.simple-select__option {
    padding: var(--space-base) 0.75rem;
    cursor: pointer;
}

.simple-select__option:hover,
.simple-select__option.is-active {
    background: var(--container-high);
}

.simple-select__option.is-hidden {
    display: none;
}

/* small helper for required/disabled states (optional) */
.simple-select--disabled .simple-select__control {
    background: var(--container-high);
    cursor: not-allowed;
    color: var(--on-surface-variant);
}

.ipoteka-footer_v2,
.ipoteka-footer_v2 .ipoteka-footer__nav,
.ipoteka-footer_v2 .ipoteka-footer__bottom {
    background-color: #06292B;
}

.ipoteka-footer_v2 .ipoteka-footer__top-decoration {
    display: none;
}

.ipoteka-footer_v2 .ipoteka-footer__top {
    background-color: #0A3033;
}

.ipoteka-footer_v2 .ipoteka-footer__contact-item strong a {
    color: #52AE30;
}

.ipoteka-footer__social_v2 .ipoteka-footer__social-link {
    background-color: #F4F0E5;
    border-radius: 10px;
}

@media (min-width: 992px) {
    .esg-main .section {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }

    .grid-container {
        display: grid;
        max-width: 1220px;
        margin-right: auto;
        margin-left: auto;
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-item.grid-item--full {
        grid-column: auto / span 3;
    }

    .grid-item.grid-item--half {
        grid-column: auto / span 2;
    }

    .parallax-section {
        height: 810px;
    }

}

@media (min-width: 1400px) {

    .container {
        max-width: 1360px;
    }
}