@font-face {
    font-family: "TT-Ricordi-Allegria-Trial";
    src: url(/fonts/TT-Ricordi-Allegria-Trial.woff2) format("woff2"),
         url(/fonts/TT-Ricordi-Allegria-Trial.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Century Gothic Paneuropean";
    src: url(/fonts/Century-Gothic-Paneuropean.woff2) format("woff2"),
         url(/fonts/Century-Gothic-Paneuropean.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}




.modal-approach__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.modal-approach__message {
  min-height: 18px;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.3;
}

.modal-approach__message.is-error {
  color: #ff8b8b;
}




.modal-approach__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.modal-approach button,
.modal-approach a {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    box-shadow: none;
}

.modal-approach {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-approach.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-approach__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-approach__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 580px);
    background: #d8d6d3;
    border-radius: 16px;
    color: #353432;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.modal-approach__content {
    position: relative;
    padding: 34px 40px 40px;
}

.modal-approach__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #353432;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    -webkit-appearance: none;
    appearance: none;
}

.modal-approach__title {
    max-width: 560px;
    margin: 0 auto 24px;
    font-family: "TT-Ricordi-Allegria-Trial", serif;
    font-size: 24px;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
}

.modal-approach__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.modal-approach__input {
    height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(53, 52, 50, 0.55);
    border-radius: 10px;
    background: transparent;
}

.modal-approach__textarea {
    min-height: 110px;
    padding: 14px 16px;
    border: 1px solid rgba(53, 52, 50, 0.55);
    border-radius: 10px;
    background: transparent;
    resize: vertical;
}

.modal-approach__input--full {
    grid-column: 1 / -1;
}


.modal-approach__check {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.35;
    position: relative;
    cursor: pointer;
}

.modal-approach__check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(53, 52, 50, 0.7);
    border-radius: 3px;
    background: transparent;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
}

.modal-approach__check input:checked + .checkmark {
    background: #353432;
    border-color: #353432;
}

.modal-approach__check input:checked + .checkmark::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 9px;
    border: solid #f3eee6;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.modal-approach__submit {
    margin: 22px 0 0 auto;
    width: 100%;
    max-width: 300px;
    min-height: 52px;
    padding: 0px 0px 0px 20px;
    border: 1px solid rgba(53, 52, 50, 0.6);
    border-radius: 10px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.modal-approach__submit-icon {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: #353432;
    color: #f3eee6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f3eee6;
}

.modal-approach__cat {
    position: absolute;
    left: -270px;
    bottom: 0;
    width: 310px;
    height: auto;
    pointer-events: none;
}

@media (max-width: 767px) {
    .modal-approach {
        padding: 12px;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
    }

    .modal-approach__dialog {
       width: min(100%, 580px);
       min-height: 65vh;
       display: flex;
       flex-direction: column;
       padding-bottom: 10px;
       position: relative;
    }

    .modal-approach__content {
        position: relative;
        padding: 18px 14px 15px;
    }

    .modal-approach__close {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 22px;
        color: #353432;
    }

    .modal-approach__title {
        max-width: 100%;
        margin: 0 22px 16px;
        font-size: 18px;
        line-height: 1.08;
        text-align: center;
        text-transform: uppercase;
    }

    .modal-approach__form {
        width: 100%;
    }

    .modal-approach__fields {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 14px;
    }

    .modal-approach__input,
    .modal-approach__textarea {
        width: 100%;
        font-size: 14px;
        box-sizing: border-box;
    }

    .modal-approach__input {
        height: 42px;
        padding: 0 12px;
        border-radius: 8px;
    }

    .modal-approach__textarea {
        min-height: 82px;
        padding: 10px 12px;
        border-radius: 8px;
    }

    .modal-approach__input--full {
        grid-column: auto;
    }

    .modal-approach__check {
        gap: 8px;
        margin-bottom: 8px;
        font-size: 12px;
        line-height: 1.3;
        align-items: flex-start;
    }

    .checkmark {
        width: 16px;
        height: 16px;
        margin-top: 1px;
        flex-shrink: 0;
    }

    .modal-approach__check input:checked + .checkmark::after {
        top: 1px;
        left: 5px;
        width: 4px;
        height: 8px;
    }

    .modal-approach__submit {
        margin: 14px 0 0;
        width: 100%;
        max-width: 100%;
        min-height: 46px;
        padding: 4px 4px 4px 14px;
        border-radius: 8px;
    }

    .modal-approach__submit span:first-child {
        font-size: 14px;
        line-height: 1;
    }

    .modal-approach__submit-icon {
        width: 38px;
        height: 38px;
        border-radius: 6px;
        font-size: 18px;
        color: #f3eee6;
    }

    .modal-approach__cat {
        position: absolute;
        left: 30%;
        bottom: -210px;
        transform: translateX(-50%);
        width: 220px;
        height: auto;
        margin: 0;
        display: block;
        pointer-events: none;
    }
}

