/***** Contact *****/

.contact-form {
    text-align: center;
}

.contact-cta {
    max-width: 560px;
    margin: 0 auto;
}

.contact-cta p {
    color: #9d5208;
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-open-button {
    margin-right: 0;
}

.contact-details {
    margin-top: 60px;
    margin-bottom: 40px;
}

.contact-details__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 40px;
}

.contact-details__card {
    background: #fff7f0;
    border: 2px solid #e4b089;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.contact-details__card h3 {
    color: #9d5208;
    font-size: 28px;
    margin-bottom: 14px;
}

.contact-details__card p {
    color: #6f3b0d;
    font-size: 18px;
    line-height: 1.7;
}

.contact-details__card a {
    color: #9d5208;
    font-weight: 700;
    text-decoration: none;
}

.contact-details__card a:hover {
    text-decoration: underline;
}

.contact-model {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 300;
}

.contact-model.is-open {
    display: flex;
}

.contact-model__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.72);
}

.contact-model__dialog {
    position: relative;
    width: min(100%, 560px);
    background: #fff7f0;
    border: 3px solid #c958169d;
    border-radius: 18px;
    padding: 40px 32px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.contact-model__dialog h2 {
    color: #9d5208;
    text-align: center;
    font-size: 34px;
    margin-bottom: 12px;
}

.contact-model__dialog p {
    text-align: center;
    color: #6f3b0d;
    margin-bottom: 24px;
    line-height: 1.5;
}

.contact-model__phone {
    margin-top: 20px;
    margin-bottom: 0;
    font-size: 16px;
}

.contact-model__phone a {
    color: #9d5208;
    font-weight: 700;
    text-decoration: none;
}

.contact-model__phone a:hover {
    text-decoration: underline;
}

.contact-model__close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: transparent;
    color: #9d5208;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}

.contact-form-modal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form-modal input {
    width: 100%;
    border: 3px solid #c958169d;
    border-radius: 5px;
    font-size: 18px;
    font-family: Arial, sans-serif;
    padding: 12px 14px;
    background-color: #ffffff;
}

.contact-form-modal textarea {
    width: 100%;
    height: 150px;
    border: 3px solid #c958169d;
    border-radius: 5px;
    font-size: 18px;
    padding: 12px 14px;
    resize: vertical;
}

.contact-form-modal button {
    display: inline-block;
    color: #ffffff;
    background-color: #c958169d;
    border: 3px solid #b66638a0;
    text-decoration: none;
    font-size: 25px;
    padding: 10px 30px;
    margin-top: 20px;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.contact-form-modal button:hover {
    background-color: transparent;
    color: #c958169d;
    border-color: #c958169d;
}

.contact-form-modal button:active {
    color: #000000;
}

@media only screen and (max-width: 1025px) {

    .contact-form {
        width: 80%;
    }

    .contact-details__grid {
        grid-template-columns: 1fr;
    }

    .contact-open-button,
    .contact-form-modal button {
        font-size: 10px;
        margin: auto;
    }

    .contact-model__dialog {
        padding: 36px 18px 24px;
    }
}