/* =========================================================
   Contact page only (resources/views/contact.blade.php)
   Every rule is scoped to .brx-contact-page so nothing here
   can affect the home page or any other page.
   The Mosk contact template is designed for a dark page;
   these rules adapt it to the Brixen light theme.
   ========================================================= */

/* ---------- Contact details: split layout (image left, details right) ---------- */
.brx-contact-page .brx-csplit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* min-height: 640px; */
    background: #fdfdfd;
}

.brx-contact-page .brx-csplit__media {
    background-size: cover;
    background-position: right;
}

.brx-contact-page .brx-csplit__content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 60px 130px;
    text-align: center;
}
@media only screen and (max-width: 1399px) {
    .brx-contact-page .brx-csplit__content {
        padding: 100px 60px 90px;
    }
}
.brx-contact-page .brx-csplit__inner {
    width: 100%;
    max-width: 600px;
}

.brx-contact-page .brx-csplit__title {
    margin-bottom: 24px;
    font-size: clamp(40px, 4vw, 60px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #141414;
}

.brx-contact-page .brx-csplit__intro {
    margin: 0 auto;
    max-width: 520px;
    color: #151515;
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
    font-family: var(--font_instrument);
}

.brx-contact-page .brx-csplit__divider {
    display: block;
    width: min(400px, 70%);
    height: 3px;
    margin: 36px auto 34px;
    background: #333;
}

.brx-contact-page .brx-csplit__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.brx-contact-page .brx-csplit__list li {
    margin-bottom: 15px;
    font-family: var(--font_outfit);
    font-size: 20px;
    font-weight: 200;
    line-height: 1.5;
    color: #141414;
}

.brx-contact-page .brx-csplit__list strong {
    font-weight: 600;
}

.brx-contact-page .brx-csplit__list a {
    color: #141414;
    /* border-bottom: 1px solid var(--secondary); */
    transition: color .3s ease, border-color .3s ease;
}

.brx-contact-page .brx-csplit__list a:hover {
    color: var(--secondary);
}

.brx-contact-page .brx-csplit__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 18px;
    margin-top: 26px;
    font-size: 15px;
    color: #333;
}

.brx-contact-page .brx-csplit__social a {
    color: #141414;
    border-bottom: 1px solid var(--secondary);
    transition: color .3s ease;
}

.brx-contact-page .brx-csplit__social a:hover {
    color: var(--secondary);
}

@media (max-width: 1199px) {
    .brx-contact-page .brx-csplit__content {
        padding: 70px 40px;
    }

    .brx-contact-page .brx-csplit__list li {
        font-size: 19px;
    }
}

@media (max-width: 991px) {
    .brx-contact-page .brx-csplit {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .brx-contact-page .brx-csplit__media {
        min-height: 320px;
    }
}

@media (max-width: 575px) {
    .brx-contact-page .brx-csplit__content {
        padding: 50px 20px;
    }

    .brx-contact-page .brx-csplit__intro {
        font-size: 16px;
    }

    .brx-contact-page .brx-csplit__divider {
        margin: 26px auto 24px;
    }

    .brx-contact-page .brx-csplit__list li {
        font-size: 17px;
    }
}

/* ---------- Form + map ---------- */
.brx-contact-page .brx-contact-form__card {
    height: 100%;
    padding: 50px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(10, 22, 21, .06);
}

.brx-contact-page .brx-contact-form__title {
    margin-bottom: 10px;
    font-family: var(--font_outfit);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 600;
    line-height: 1.15;
    color: #141414;
}

.brx-contact-page .brx-contact-form__intro {
    margin-bottom: 32px;
    font-size: 17px;
    font-family: var(--font_instrument);
    line-height: 1.6;
    color: #6f7a79;
}

.brx-contact-page .brx-field__label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font_instrument);
    color: #141414;
}

.brx-contact-page .brx-field__label span {
    color: #e84330;
}

.brx-contact-page .brx-field {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    border: 1px solid #dfe5e4;
    border-radius: 12px;
    background: #f6f8f7;
    font-size: 15px;
    font-family: var(--font_instrument);
    color: #141414;
    outline: none;
    transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.brx-contact-page .brx-field::placeholder {
    color: #9aa5a3;
}

.brx-contact-page .brx-field:focus {
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(47, 102, 98, .12);
}

.brx-contact-page .brx-field--area {
    height: auto;
    min-height: 150px;
    padding: 16px 18px;
    resize: vertical;
    line-height: 1.6;
}

/* Phone: country code + number in one control */
.brx-contact-page .brx-phone {
    display: flex;
    border: 1px solid #dfe5e4;
    border-radius: 12px;
    background: #f6f8f7;
    transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.brx-contact-page .brx-phone:focus-within {
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(47, 102, 98, .12);
}

.brx-contact-page .brx-phone .brx-field {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.brx-contact-page .brx-phone__code {
    flex: 0 0 96px;
    width: 96px;
    padding: 0 24px 0 12px;
    border-right: 1px solid #dfe5e4 !important;
    border-radius: 12px 0 0 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%232F6662' stroke-width='1.5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
}

.brx-contact-page .brx-phone__number {
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 0 12px 12px 0;
}

.brx-contact-page .rr-btn.brx-contact-form__btn {
    margin-top: 8px;
    border: 0;
    background-color: var(--secondary);
}

.brx-contact-page .brx-contact-form__map {
    height: 100%;
    min-height: 460px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(10, 22, 21, .06);
}

.brx-contact-page .brx-contact-form__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 460px;
}

@media (max-width: 767px) {
    .brx-contact-page .brx-contact-form__card {
        padding: 30px 22px;
    }

    .brx-contact-page .brx-phone__code {
        flex-basis: 128px;
        width: 128px;
    }

    .brx-contact-page .brx-contact-form__map,
    .brx-contact-page .brx-contact-form__map iframe {
        min-height: 360px;
    }
}

/* ---------- Inner pages: creative-journey-3 on a photo (Our Story) ---------- */
.brx-inner-page .creative-journey-3__inner .media img {
    filter: brightness(.42);
}

.brx-inner-page .creative-journey-3__content .title,
.brx-inner-page .creative-journey-3__content .description {
    color: var(--white);
}
