/* ==========================================
   TOTAL IMPACT - GRAFFITI CONTACT SECTION
========================================== */

/* MAIN SECTION */

.graffiti-contact {
    position: relative;
    isolation: isolate;

    width: 100%;
    padding: 100px 0;

    background: #090e0b;
    overflow: hidden;
    box-sizing: border-box;
}


/* ==========================================
   PARTICLE ANIMATION BACKGROUND
========================================== */

#contact-particles {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;
    pointer-events: none;
}

#contact-particles canvas {
    display: block;
    width: 100%;
    height: 100%;
}


/* ==========================================
   MAIN TWO-COLUMN LAYOUT
========================================== */

.graffiti-contact .graffiti-layout {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1.3fr);

    align-items: center;
    gap: 60px;

    width: 90%;
    max-width: 1200px;

    margin: 0 auto;
    box-sizing: border-box;
}


/* ==========================================
   LEFT SIDE - GRAFFITI
========================================== */

.graffiti-contact .graffiti-intro {
    position: relative;

    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* SMALL GREEN HEADING */

.graffiti-eyebrow {
    color: #39b54a;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 4px;

    margin: 0 0 20px;
}

.graffiti-eyebrow::after {
    content: "";

    display: block;

    width: 65px;
    height: 4px;

    margin-top: 14px;

    background: #39b54a;
    border-radius: 3px;
}


/* ==========================================
   GRAFFITI ART
========================================== */

.graffiti-art {
    position: relative;

    width: 100%;
    max-width: 460px;
    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    isolation: isolate;
}


/* GRAFFITI HEADLINE */

.graffiti-heading {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: max-content;
    max-width: none;

    margin: 0;

    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(28px, 2.7vw, 46px);
    font-weight: 900;
    font-style: italic;

    line-height: 1.05;
    letter-spacing: -1.5px;

    transform: rotate(-10deg) scale(0.82);
    transform-origin: center;
}


/* WHITE GRAFFITI TEXT */

.graffiti-white {
    display: block;

    
    color: #f5f5f5;
    white-space: nowrap;

    text-shadow:
        2px 2px 0 #253028,
        4px 4px 0 rgba(0, 0, 0, 0.5);
}





/* GREEN BRUSHSTROKE */

.graffiti-green {
    position: relative;

    display: inline-block;
    align-self: center;

    margin-top: 12px;
    padding: 10px 28px;

    color: #071008;
    background: #39b54a;

    transform: skew(-12deg);

    clip-path: polygon(
        3% 8%,
        98% 0%,
        94% 15%,
        100% 80%,
        96% 95%,
        5% 100%,
        0% 83%,
        3% 55%,
        0% 24%
    );
}


/* GREEN PAINT DRIP */

.graffiti-green::after {
    content: "";

    position: absolute;

    right: 12%;
    bottom: -22px;

    width: 6px;
    height: 28px;

    background: #39b54a;
    border-radius: 0 0 6px 6px;
}


/* DECORATIVE CROWN */

.graffiti-crown {
    position: absolute;
    z-index: 3;

    width: 70px;
    height: 55px;

    top: 5px;
    right: 10px;

    transform: rotate(12deg);
}


/* DECORATIVE GREEN STROKES */

.graffiti-sparks {
    position: absolute;

    left: 0;
    top: 35px;

    width: 70px;
    height: 70px;
}

.graffiti-sparks span {
    position: absolute;

    display: block;

    width: 6px;
    height: 30px;

    background: #39b54a;
    border-radius: 5px;
}

.graffiti-sparks span:nth-child(1) {
    left: 10px;
    top: 30px;
    transform: rotate(-55deg);
}

.graffiti-sparks span:nth-child(2) {
    left: 35px;
    top: 5px;
    transform: rotate(-20deg);
}

.graffiti-sparks span:nth-child(3) {
    left: 0;
    top: 5px;
    transform: rotate(-40deg);
}


/* DESCRIPTION UNDER GRAFFITI */

.graffiti-description {
    color: #d1d9d3;

    font-size: 18px;
    line-height: 1.6;

    max-width: 380px;
    margin: 15px 0 0;
}


/* ==========================================
   RIGHT SIDE - FORM PANEL
========================================== */

.graffiti-contact .graffiti-form-panel {
    position: relative;
    z-index: 2;

    width: 100%;
    min-width: 0;

    box-sizing: border-box;

    background: rgba(7, 17, 12, 0.94);

    border: 1px solid #39b54a;
    border-radius: 20px;

    padding: 40px;

    box-shadow:
        0 0 30px rgba(57, 181, 74, 0.05);
}


/* ==========================================
   FORM LAYOUT
========================================== */

.graffiti-form {
    width: 100%;
    margin: 0;
}


/* NAME AND EMAIL IN ONE ROW */

.graffiti-form-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 20px;
}


/* INDIVIDUAL FIELDS */

.graffiti-field {
    min-width: 0;
    margin-bottom: 24px;
}

.graffiti-field label {
    display: block;

    color: #f1f5f2;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;

    margin-bottom: 9px;
}

.graffiti-field label span {
    color: #39b54a;
}


/* ==========================================
   INPUTS AND TEXTAREA
========================================== */

.graffiti-form input:not([type="checkbox"]),
.graffiti-form textarea {
    display: block;

    width: 100%;
    max-width: 100%;

    box-sizing: border-box;

    background: #102017;

    border: 1px solid #355a3e;
    border-radius: 9px;

    color: #69dc82;
    -webkit-text-fill-color: #69dc82;
    caret-color: #69dc82;

    padding: 14px 16px;

    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;

    margin: 0;

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


/* INPUT HEIGHT */

.graffiti-form input:not([type="checkbox"]) {
    height: 54px;
}


/* MESSAGE BOX */

.graffiti-form textarea {
    min-height: 175px;
    resize: vertical;
}


/* PLACEHOLDERS */

.graffiti-form input::placeholder,
.graffiti-form textarea::placeholder {
    color: #94a79a;
    -webkit-text-fill-color: #94a79a;
    opacity: 1;
}


/* FOCUS EFFECT */

.graffiti-form input:not([type="checkbox"]):focus,
.graffiti-form textarea:focus {
    background: #13291a;

    border-color: #39b54a;

    box-shadow:
        0 0 0 3px rgba(57, 181, 74, 0.16);

    outline: none;
}


/* ==========================================
   PRIVACY CONSENT
========================================== */

.graffiti-consent {
    display: flex;

    align-items: flex-start;
    gap: 12px;

    margin: 8px 0 25px;
}

.graffiti-consent input[type="checkbox"] {
    width: 19px;
    height: 19px;

    margin: 4px 0 0;

    flex-shrink: 0;

    accent-color: #39b54a;
}

.graffiti-consent label {
    color: #c5d1c8;

    font-size: 13px;
    line-height: 1.6;

    margin: 0;
}


/* ==========================================
   SUBMIT BUTTON
========================================== */

.graffiti-form .graffiti-submit {
    display: flex;

    align-items: center;
    justify-content: center;
    gap: 14px;

    width: 100%;
    height: 55px;

    padding: 0 20px;

    background: #4be329;
    border: none;
    border-radius: 9px;

    color: #08130a;

    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.graffiti-form .graffiti-submit:hover {
    background: #55d66a;
    transform: translateY(-2px);
}

.graffiti-form .graffiti-submit:focus-visible {
    outline: 3px solid white;
    outline-offset: 3px;
}


/* ==========================================
   SUCCESS AND ERROR MESSAGES
========================================== */

.graffiti-form-panel .quote-notice {
    padding: 15px;
    margin-bottom: 20px;

    background: #193821;
    color: #b9f2c4;

    border-left: 3px solid #39b54a;
    border-radius: 5px;
}

.graffiti-form-panel .quote-errors,
.graffiti-form-panel .errorlist {
    color: #ffaaaa;

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

.graffiti-form-panel .errorlist {
    margin: 8px 0 0;
    padding-left: 18px;
}


/* ==========================================
   TABLET - STACK BELOW 768PX
========================================== */

@media (max-width: 767px) {

    .graffiti-contact {
        padding: 75px 0;
    }

    .graffiti-contact .graffiti-layout {
        grid-template-columns: 1fr;

        gap: 35px;
        width: 92%;
    }

    .graffiti-contact .graffiti-intro {
        align-items: center;
        text-align: center;
    }

    .graffiti-eyebrow::after {
        margin-left: auto;
        margin-right: auto;
    }

    .graffiti-art {
        margin: 0 auto;
    }

    .graffiti-description {
        margin: 10px auto 0;
        text-align: center;
    }

    .graffiti-contact .graffiti-form-panel {
        padding: 30px;
    }

}


/* ==========================================
   MOBILE - BELOW 600PX
========================================== */

@media (max-width: 600px) {

    .graffiti-contact {
        padding: 60px 0;
    }

    .graffiti-art {
        max-width: 100%;
        height: 200px;
    }

    .graffiti-heading {
        font-size: clamp(23px, 6vw, 34px);
        letter-spacing: -1px;

        transform: rotate(-10deg) scale(0.78);
    }

    .graffiti-green {
        padding: 8px 18px;
    }

    .graffiti-crown {
        width: 48px;
        height: 42px;

        right: 5px;
        top: 15px;
    }

    .graffiti-sparks {
        transform: scale(0.75);
        transform-origin: left top;
    }

    .graffiti-contact .graffiti-form-panel {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .graffiti-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .graffiti-description {
        font-size: 16px;
    }

    .graffiti-form textarea {
        min-height: 145px;
    }

}

/* Anti-spam honeypot */
.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}