/* =====================================================
   PARIMAH THEME - CONTACT PAGE
   -----------------------------------------------------
   01. Contact cards   02. Form + map
===================================================== */

.contact-page {
    --contact-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    background: #FCF9F3;
    direction: rtl;
}


/* 01. CONTACT CARDS (overlap the banner a little) */

.contact-cards {
    position: relative;
    z-index: 2;
    margin-top: -36px;
    padding: 0 20px;
}

.contact-cards__container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.contact-cards__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 24px 18px;
    border: 1px solid #EDE5D8;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(76, 85, 64, 0.08);
    color: #4C5540;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.5s var(--contact-ease),
        box-shadow 0.5s var(--contact-ease);
}

.contact-cards__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(76, 85, 64, 0.12);
}

.contact-cards__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E6C987 0%, #C6A052 45%, #A98135 100%);
    color: #ffffff;
}

.contact-cards__icon svg {
    width: 26px;
    height: 26px;
}

.contact-cards__label {
    color: #8A8174;
    font-size: 12.5px;
}

.contact-cards__value {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.9;
}

.contact-cards__value--ltr {
    direction: ltr;
}


/* 02. FORM + MAP */

.contact-main {
    padding: 40px 20px 56px;
}

.contact-main__container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: stretch;
    gap: 24px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.contact-form {
    padding: 30px;
    border: 1px solid #EDE5D8;
    border-radius: 22px;
    background: #ffffff;
}

.contact-form__eyebrow {
    display: inline-block;
    margin-bottom: 4px;
    color: #B18A50;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-form__title {
    margin: 0 0 6px;
    color: #4C5540;
    font-size: 22px;
    font-weight: 800;
}

.contact-form__text,
.contact-form__extra {
    margin: 0 0 18px;
    color: #5E6773;
    font-size: 13.5px;
    line-height: 2;
}

.contact-form__notice {
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
}

.contact-form__notice--success {
    background: rgba(57, 132, 91, 0.1);
    color: #2E6E4B;
}

.contact-form__notice--error {
    background: rgba(198, 74, 74, 0.1);
    color: #A33A3A;
}

.contact-form__fields {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
}

.contact-form__label {
    display: block;
    margin-bottom: 6px;
    color: #4C5540;
    font-size: 13px;
    font-weight: 600;
}

.contact-form__input {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #E4DCCF;
    border-radius: 12px;
    background: #FAF7F1;
    color: #4C5540;
    font-family: inherit;
    font-size: 14px;
    transition:
        border-color 0.3s var(--contact-ease),
        background-color 0.3s var(--contact-ease);
}

.contact-form__input:focus {
    border-color: #C6A052;
    background: #ffffff;
    outline: none;
}

.contact-form__honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.contact-form__submit {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #D9B66F 0%, #C6A052 45%, #A98135 100%);
    box-shadow: 0 8px 20px rgba(198, 160, 82, 0.3);
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.35s var(--contact-ease),
        box-shadow 0.35s var(--contact-ease);
}

.contact-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(198, 160, 82, 0.4);
}

/* Map */

.contact-map {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid #EDE5D8;
    border-radius: 22px;
    background: #ECE6DC;
}

.contact-map__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-map__link {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    background: #4C5540;
    box-shadow: 0 10px 24px rgba(76, 85, 64, 0.25);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.contact-map__link svg {
    width: 18px;
    height: 18px;
    color: #EAD6A8;
}


/* RESPONSIVE */

@media (max-width: 1024px) {

    .contact-main__container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {

    .contact-cards {
        padding: 0 16px;
    }

    .contact-cards__container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-cards__item {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 4px 12px;
        padding: 16px;
        text-align: right;
    }

    .contact-cards__icon {
        width: 46px;
        height: 46px;
        margin: 0;
    }

    .contact-main {
        padding: 28px 16px 40px;
    }

    .contact-form {
        padding: 22px 18px;
    }

    .contact-map {
        min-height: 320px;
    }
}
