/* =====================================================
   CONTACT PAGE
   Loads AFTER css/style.css.
   Sections below use the "ct-" prefix so nothing
   clashes with the other pages.
===================================================== */

:root {
    --green: #276B3F;
}

/* Shared content width for all sections */
.ct-wrap {
    width: min(1285px, 100% - 40px);
    margin: 0 auto;
}

/* =====================================================
   SECTION 1: CONTACT FORM
===================================================== */

.ct-section {
    padding: 70px 20px 130px;
}

/* Heading */

.ct-head {
    max-width: 800px;
    margin: 0 auto 110px;
    text-align: center;
}

.ct-title {
    font-family: 'Sniglet', cursive;
    font-weight: 400;
    font-size: clamp(32px, 3.9vw, 56px);
    line-height: 1.27;
    letter-spacing: -1.12px;
    color: #1a1a1a;

    margin-bottom: 8px;
}

.ct-sub {
    font-family: 'Comic Neue', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: .3px;
    color: #333;
}

/* Card */

.ct-card {
    max-width: 1190px;
    margin: 0 auto;
    padding: 64px;

    background: #fff;
    border: 1px solid #EAE7DE;
    border-radius: 32px;
}

/* Rows and fields */

.ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}

.ct-field {
    margin-bottom: 32px;
}

.ct-field label {
    display: block;
    margin-bottom: 10px;

    font-family: 'Comic Neue', sans-serif;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #222;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;

    background: #FBFAF7;
    border: 1px solid #E6E3DA;
    border-radius: 18px;

    font-family: 'Comic Neue', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #111;

    outline: none;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.ct-field input,
.ct-field select {
    height: 56px;
    padding: 0 24px;
}

.ct-field textarea {
    height: 177px;
    padding: 22px 24px;
    resize: none;
}

.ct-field ::placeholder {
    color: #8A8A99;
    opacity: 1;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .05);
}

/* Select with custom arrow */

.ct-field select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 22px center;
}

/* Submit */

.ct-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 229px;
    height: 71px;
    margin-top: 16px;

    background: #000;
    color: #fff;
    border: none;
    border-radius: 22px;
    cursor: pointer;

    font-family: 'Sniglet', cursive;
    font-weight: 400;
    font-size: 22px;

    transition: background .3s ease;
}

.ct-submit:hover {
    background: var(--gold);
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {

    .ct-section {
        padding: 50px 20px 90px;
    }

    .ct-head {
        margin-bottom: 70px;
    }

    .ct-card {
        padding: 44px 36px;
    }
}

@media (max-width: 640px) {

    .ct-head {
        margin-bottom: 44px;
    }

    .ct-sub {
        font-size: 16px;
        line-height: 26px;
    }

    .ct-br {
        display: none;
    }

    .ct-card {
        padding: 28px 20px;
        border-radius: 24px;
    }

    .ct-row {
        grid-template-columns: 1fr;
    }

    .ct-field {
        margin-bottom: 24px;
    }

    .ct-submit {
        width: 100%;
        height: 60px;
        font-size: 19px;
    }
}

/* ---------- Form status message + spam trap ---------- */

.ct-status {
    display: none;
    margin-top: 22px;

    font-family: 'Comic Neue', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.ct-status.success,
.ct-status.error {
    display: block;
}

.ct-status.success { color: #276B3F; }
.ct-status.error   { color: #B3261E; }

.ct-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.ct-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}