/*
|--------------------------------------------------------------------------
| VINCIT MANAGEMENT CONSULTING
| FILE       : 16-contact.css
| PURPOSE    : Premium Contact Page Styling
| VERSION    : 1.1.0
|--------------------------------------------------------------------------
*/


/* ==========================================================
   CONTACT PAGE BASE
========================================================== */

.contact-hero,
.contact-intro,
.contact-form-section,
.contact-closing {
    position: relative;
}


/* ==========================================================
   CONTACT EYEBROW
========================================================== */

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: #d9a441;

    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.contact-eyebrow::before {
    content: "";

    width: 34px;
    height: 1px;

    flex: 0 0 auto;

    background: #d9a441;
}


/* ==========================================================
   CONTACT HERO
========================================================== */

.contact-hero {
    min-height: 590px;

    display: flex;
    align-items: center;

    padding: 105px 0 100px;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(46, 139, 87, 0.12),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #073957 0%,
            #082f49 100%
        );

    color: #ffffff;

    overflow: hidden;
}


/* Decorative circle */

.contact-hero::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -210px;
    top: -250px;

    border: 1px solid rgba(217, 164, 65, 0.20);

    border-radius: 50%;

    pointer-events: none;
}


.contact-hero__grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(250px, 0.65fr);

    gap: 85px;

    align-items: end;
}


.contact-hero__content {
    max-width: 900px;
}


.contact-hero h1 {
    max-width: 900px;

    margin: 32px 0 30px;

    font-family: "Playfair Display", serif;

    font-size: clamp(
        62px,
        7.5vw,
        108px
    );

    font-weight: 600;

    line-height: 0.94;

    letter-spacing: -0.045em;

    color: #ffffff;
}


/*
   Explicit colour prevents global typography
   from overriding the hero heading.
*/

.contact-hero h1 span {
    color: #42a866;
}


.contact-hero__content > p {
    max-width: 700px;

    margin: 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 18px;

    line-height: 1.8;
}


.contact-hero__statement {
    display: flex;
    flex-direction: column;

    padding-left: 32px;

    border-left: 1px solid rgba(255, 255, 255, 0.22);
}


.contact-hero__statement span {
    display: block;

    padding: 15px 0;

    color: rgba(255, 255, 255, 0.70);

    font-family: "Manrope", sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.18em;

    line-height: 1.2;
}


.contact-hero__statement span + span {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}


/* ==========================================================
   CONTACT INTRO
========================================================== */

.contact-intro {
    padding: 110px 0;

    background: #ffffff;
}


.contact-intro__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    gap: 100px;

    align-items: start;
}


.contact-intro__heading h2 {
    max-width: 520px;

    margin: 28px 0 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(
        48px,
        5vw,
        72px
    );

    font-weight: 600;

    line-height: 0.98;

    letter-spacing: -0.035em;

    color: #073957;
}


/*
   Explicit green accent
*/

.contact-intro__heading h2 span {
    color: #298b59;
}


.contact-intro__content {
    max-width: 700px;

    padding-top: 3px;
}


.contact-intro__content p {
    margin: 0 0 25px;

    color: #315f7e;

    font-size: 16px;

    line-height: 1.85;
}


.contact-intro__content .contact-intro__lead {
    margin-bottom: 28px;

    color: #073957;

    font-size: 21px;

    line-height: 1.68;
}


/* ==========================================================
   FORM SECTION
========================================================== */

.contact-form-section {
    padding: 105px 0;

    background: #f4f7f5;
}


.contact-form-section__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(300px, 0.75fr);

    gap: 55px;

    align-items: start;
}


/* ==========================================================
   FORM CARD
========================================================== */

.contact-form-card {
    position: relative;

    background: #ffffff;

    padding: 55px;

    border: 1px solid #dce5e0;

    box-shadow:
        0 20px 55px rgba(7, 57, 87, 0.07);
}


.contact-form-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 3px;

    background: #298b59;
}


.contact-form-card__header {
    margin-bottom: 40px;
}


.contact-form-card__header h2 {
    margin: 20px 0 15px;

    font-family: "Playfair Display", serif;

    font-size: clamp(
        38px,
        4vw,
        56px
    );

    font-weight: 600;

    line-height: 1;

    letter-spacing: -0.03em;

    color: #073957;
}


.contact-form-card__header p {
    max-width: 620px;

    margin: 0;

    color: #55758c;

    font-size: 15px;

    line-height: 1.8;
}


/* ==========================================================
   FORM
========================================================== */

.contact-form {
    display: flex;
    flex-direction: column;

    gap: 24px;
}


.contact-form__row {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px;
}


.contact-form__field {
    display: flex;
    flex-direction: column;

    gap: 9px;
}


.contact-form__field label {
    color: #073957;

    font-family: "Manrope", sans-serif;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.3;
}


.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
    width: 100%;

    border: 1px solid #d3dfd9;

    border-radius: 2px;

    outline: none;

    background: #ffffff;

    color: #073957;

    font-family: "Manrope", sans-serif;

    font-size: 14px;

    line-height: 1.5;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


.contact-form__field input,
.contact-form__field select {
    height: 53px;

    padding: 0 16px;
}


.contact-form__field textarea {
    min-height: 155px;

    padding: 15px 16px;

    resize: vertical;
}


.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
    color: #8a9aa4;

    opacity: 1;
}


.contact-form__field select {
    cursor: pointer;
}


.contact-form__field input:hover,
.contact-form__field select:hover,
.contact-form__field textarea:hover {
    border-color: #aebfb7;
}


.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
    border-color: #298b59;

    background: #fcfefd;

    box-shadow:
        0 0 0 3px rgba(41, 139, 89, 0.11);
}


/* ==========================================================
   SUBMIT BUTTON
========================================================== */

.contact-form__submit {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    align-self: flex-start;

    gap: 13px;

    min-height: 56px;

    padding: 0 29px;

    border: 0;

    border-radius: 2px;

    background: #298b59;

    color: #ffffff;

    font-family: "Manrope", sans-serif;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 0.01em;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.contact-form__submit span {
    color: #d9a441;

    font-size: 19px;

    line-height: 1;
}


.contact-form__submit:hover {
    background: #237849;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(41, 139, 89, 0.20);
}


.contact-form__submit:focus-visible {
    outline: 3px solid rgba(217, 164, 65, 0.45);

    outline-offset: 3px;
}


/* ==========================================================
   CONTACT INFORMATION
========================================================== */

.contact-info {
    display: flex;

    flex-direction: column;

    gap: 22px;
}


.contact-info__block {
    background: #ffffff;

    padding: 38px;

    border: 1px solid #dce5e0;

    box-shadow:
        0 10px 35px rgba(7, 57, 87, 0.045);
}


.contact-info__block h3 {
    margin: 20px 0 17px;

    font-family: "Playfair Display", serif;

    font-size: 32px;

    font-weight: 600;

    line-height: 1.05;

    color: #073957;
}


.contact-info__block p {
    margin: 0;

    color: #55758c;

    font-size: 14px;

    line-height: 1.8;
}


/* ==========================================================
   REGIONAL TAGS
========================================================== */

.contact-info__regions {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 25px;
}


.contact-info__regions span {
    display: inline-flex;

    align-items: center;

    min-height: 34px;

    padding: 0 12px;

    background: #eef4f1;

    color: #073957;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.02em;
}


/* ==========================================================
   WHAT WE CAN DISCUSS
========================================================== */

.contact-info__block--accent {
    background: #073957;

    border-color: #073957;

    box-shadow:
        0 15px 40px rgba(7, 57, 87, 0.12);
}


.contact-info__block--accent .contact-eyebrow {
    color: #d9a441;
}


.contact-info__block--accent ul {
    display: flex;

    flex-direction: column;

    gap: 15px;

    margin: 27px 0 0;

    padding: 0;

    list-style: none;
}


.contact-info__block--accent li {
    position: relative;

    padding-left: 19px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 14px;

    line-height: 1.65;
}


.contact-info__block--accent li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 9px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #d9a441;
}


/* ==========================================================
   CLOSING CTA
========================================================== */

.contact-closing {
    padding: 105px 0;

    background:
        linear-gradient(
            135deg,
            #298f59 0%,
            #237b4d 100%
        );

    color: #ffffff;

    overflow: hidden;
}


.contact-closing::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    bottom: -250px;

    border: 1px solid rgba(255, 255, 255, 0.13);

    border-radius: 50%;
}


.contact-closing__inner {
    position: relative;
    z-index: 2;

    max-width: 920px;
}


.contact-closing h2 {
    max-width: 850px;

    margin: 28px 0 22px;

    font-family: "Playfair Display", serif;

    font-size: clamp(
        50px,
        6vw,
        84px
    );

    font-weight: 600;

    line-height: 0.98;

    letter-spacing: -0.04em;

    color: #ffffff;
}


.contact-closing h2 span {
    color: #e2b052;
}


.contact-closing p {
    max-width: 650px;

    margin: 0 0 30px;

    color: rgba(255, 255, 255, 0.86);

    font-size: 17px;

    line-height: 1.8;
}


.contact-closing__link {
    display: inline-flex;

    align-items: center;

    gap: 13px;

    padding-bottom: 10px;

    border-bottom: 1px solid #e2b052;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.25s ease;
}


.contact-closing__link span {
    color: #e2b052;

    font-size: 19px;

    transition:
        transform 0.25s ease;
}


.contact-closing__link:hover span {
    transform: translateX(5px);
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {

    .contact-hero {
        min-height: auto;

        padding: 90px 0;
    }


    .contact-hero__grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .contact-hero__statement {
        display: grid;

        grid-template-columns:
            repeat(4, 1fr);

        padding-left: 0;

        border-left: 0;
    }


    .contact-hero__statement span {
        padding: 15px;

        border-left: 1px solid rgba(255, 255, 255, 0.14);
    }


    .contact-hero__statement span:first-child {
        border-left: 0;
    }


    .contact-hero__statement span + span {
        border-top: 0;
    }


    .contact-intro__grid {
        gap: 60px;
    }


    .contact-form-section__grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .contact-info {
        display: grid;

        grid-template-columns: 1fr 1fr;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .contact-hero {
        padding: 75px 0;
    }


    .contact-hero h1 {
        margin-top: 28px;

        font-size:
            clamp(
                50px,
                13vw,
                72px
            );
    }


    .contact-hero__content > p {
        font-size: 16px;

        line-height: 1.75;
    }


    .contact-hero__statement {
        grid-template-columns:
            1fr 1fr;
    }


    .contact-hero__statement span {
        padding: 13px 10px;
    }


    .contact-hero__statement span:nth-child(3) {
        border-left: 0;
    }


    .contact-intro {
        padding: 78px 0;
    }


    .contact-intro__grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .contact-intro__heading h2 {
        font-size:
            clamp(
                48px,
                12vw,
                68px
            );
    }


    .contact-intro__content .contact-intro__lead {
        font-size: 19px;

        line-height: 1.7;
    }


    .contact-form-section {
        padding: 70px 0;
    }


    .contact-form-card {
        padding: 38px 25px;
    }


    .contact-form-card__header h2 {
        font-size: 40px;
    }


    .contact-form__row {
        grid-template-columns: 1fr;

        gap: 24px;
    }


    .contact-form__submit {
        width: 100%;
    }


    .contact-info {
        grid-template-columns: 1fr;
    }


    .contact-info__block {
        padding: 32px 25px;
    }


    .contact-info__block h3 {
        font-size: 30px;
    }


    .contact-closing {
        padding: 78px 0;
    }


    .contact-closing h2 {
        font-size:
            clamp(
                48px,
                12vw,
                68px
            );
    }


    .contact-closing p {
        font-size: 16px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 420px) {

    .contact-hero {
        padding: 65px 0;
    }


    .contact-hero__statement {
        grid-template-columns: 1fr;
    }


    .contact-hero__statement span {
        padding: 13px 0;

        border-left: 0;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.12);
    }


    .contact-hero__statement span:nth-child(3) {
        border-left: 0;
    }


    .contact-form-card {
        padding: 32px 19px;
    }


    .contact-form-card__header h2 {
        font-size: 36px;
    }


    .contact-info__block {
        padding: 28px 20px;
    }


    .contact-closing h2 {
        font-size: 46px;
    }

}
/* ==========================================================
   GET IN TOUCH CARD
========================================================== */

.contact-info__block--get-in-touch {
    margin-top: 24px;

    padding: 30px 38px;

    background: #ffffff;

    border: 1px solid rgba(7, 57, 87, 0.10);

    border-top: 3px solid #2e8b57;

    box-shadow: 0 18px 45px rgba(7, 57, 87, 0.08);
}


/* ==========================================================
   CONTACT DETAILS
========================================================== */

.contact-info__contact {
    margin-top: 22px;
}

.contact-info__contact-item {
    display: flex;
    flex-direction: column;

    gap: 4px;

    padding: 13px 0;

    border-bottom: 1px solid rgba(7, 57, 87, 0.08);
}

.contact-info__contact-item:last-child {
    border-bottom: 0;
}


.contact-info__contact-item strong {
    color: #073957;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.02em;
}


.contact-info__contact-item a,
.contact-info__contact-item > span {
    color: #64727d;

    font-size: 15px;

    line-height: 1.5;

    text-decoration: none;
}


.contact-info__contact-item a:hover {
    color: #2e8b57;
}


/* ==========================================================
   GET IN TOUCH — MOBILE
========================================================== */

@media (max-width: 767px) {

    .contact-info__block--get-in-touch {
        margin-top: 20px;

        padding: 26px 24px;
    }

    .contact-info__contact-item {
        padding: 11px 0;
    }

}