/* =========================================================
   AGDC GLOBAL STYLES
   ========================================================= */

html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
    background: #ffffff;
    color: #111111;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}


/* =========================================
   AGDC CONTACT FORM
   ========================================= */

.agdc-contact-form {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Two-column row */

.agdc-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

/* Field */

.agdc-form-field {
    width: 100%;
}

/* Inputs */

.agdc-contact-form input[type="text"],
.agdc-contact-form input[type="email"],
.agdc-contact-form textarea {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid #d8d8d8;
    border-radius: 10px;

    background: #fff;
    color: #111;

    font-family: inherit;
    font-size: 15px;
    font-weight: 400;

    padding: 17px 18px;

    outline: none;

    transition:
        border-color .3s ease,
        box-shadow .3s ease,
        background-color .3s ease;
}

/* Input height */

.agdc-contact-form input[type="text"],
.agdc-contact-form input[type="email"] {
    height: 56px;
}

/* Message */

.agdc-contact-form textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.6;
}

/* Placeholder */

.agdc-contact-form input::placeholder,
.agdc-contact-form textarea::placeholder {
    color: #777;
    opacity: 1;
}

/* Focus */

.agdc-contact-form input:focus,
.agdc-contact-form textarea:focus {
    border-color: var(--agdc-gold);
    box-shadow: 0 0 0 1px var(--agdc-gold);
    background: #fff;
}

/* Message spacing */

.agdc-message-field {
    margin-bottom: 24px;
}

/* Submit */

.agdc-form-submit {
    display: flex;
    align-items: center;
}

/* Button */

.agdc-contact-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 150px;
    height: 54px;

    padding: 0 30px;

    border: 1px solid var(--agdc-gold);
    border-radius: 0;

    background: var(--agdc-gold);
    color: #050505;

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    letter-spacing: 2px;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color .3s ease,
        color .3s ease,
        transform .3s ease;
}

/* Button hover */

.agdc-contact-form input[type="submit"]:hover {
    background: #050505;
    color: #fff;

    transform: translateY(-2px);
}

/* Button focus */

.agdc-contact-form input[type="submit"]:focus {
    outline: 2px solid var(--agdc-gold);
    outline-offset: 3px;
}


/* =========================================
   CF7 VALIDATION
   ========================================= */

.agdc-contact-form .wpcf7-not-valid {
    border-color: #b3261e;
}

.agdc-contact-form .wpcf7-not-valid-tip {
    margin-top: 7px;

    font-size: 12px;
    color: #b3261e;
}


/* =========================================
   CF7 RESPONSE MESSAGE
   ========================================= */

.agdc-contact-form .wpcf7-response-output {
    margin: 25px 0 0 !important;
    padding: 14px 18px !important;

    border: 1px solid var(--agdc-gold) !important;

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .agdc-form-row {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 18px;
    }

    .agdc-message-field {
        margin-bottom: 18px;
    }

    .agdc-contact-form input[type="text"],
    .agdc-contact-form input[type="email"] {
        height: 52px;
    }

    .agdc-contact-form textarea {
        min-height: 150px;
    }

    .agdc-contact-form input[type="submit"] {
        width: 100%;
    }

}