/* =========================================================
   042Net Contact Page
   ========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(360px, .9fr);

    gap: 2.5rem;

    align-items: stretch;
}


/* =========================================================
   LEFT PANEL
   ========================================================= */

.contact-intro {

    position: relative;

    min-height: 720px;

    overflow: hidden;

    padding: 3.5rem;

    border-radius: 1rem;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #111827,
            #1f2937
        );

    box-shadow:
        0 .5rem 1.5rem rgba(0,0,0,.08);
}


.intro-content {

    position: relative;

    z-index: 3;

    max-width: 650px;
}


.contact-eyebrow {

    display: inline-block;

    margin-bottom: .75rem;

    font-size: .75rem;

    font-weight: 800;

    letter-spacing: .14em;

    opacity: .7;
}


.contact-intro h2 {

    font-size:
        clamp(2.3rem, 4vw, 4rem);

    line-height: 1.02;

    font-weight: 800;

    letter-spacing: -.03em;

    margin-bottom: 1.25rem;
}


.intro-text {

    max-width: 580px;

    font-size: 1.1rem;

    line-height: 1.7;

    opacity: .82;
}


/* =========================================================
   SERVICE BOXES
   ========================================================= */

.service-list {

    display: grid;

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

    gap: 1rem;

    margin-top: 2rem;
}


.service-item {

    display: flex;

    gap: .8rem;

    padding: 1rem;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: .8rem;

    background:
        rgba(255,255,255,.05);

    backdrop-filter: blur(4px);
}


.service-icon {

    flex: 0 0 2rem;

    font-size: 1.3rem;
}


.service-item h3 {

    margin: 0 0 .25rem;

    font-size: 1rem;

    font-weight: 700;
}


.service-item p {

    margin: 0;

    font-size: .86rem;

    line-height: 1.45;

    opacity: .65;
}


/* =========================================================
   PRINTER IMAGE
   ========================================================= */

.printer-image-area {

    position: absolute;

    z-index: 1;

    left: 0;

    right: 0;

    bottom: 0;

    height: 42%;

    overflow: hidden;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(0,0,0,.35)
        );
}


.printer-image {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    opacity: .72;

    display: block;

    transform:
        scale(1.03);

    filter:
        brightness(.72)
        contrast(1.05);
}


/* subtle gradient over image */

.printer-image-area::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            #111827 0%,
            rgba(17,24,39,.15) 35%,
            rgba(17,24,39,.05) 100%
        );

    pointer-events: none;
}


.printer-caption {

    position: absolute;

    z-index: 3;

    right: 1.5rem;

    bottom: 1rem;

    font-size: .7rem;

    letter-spacing: .1em;

    text-transform: uppercase;

    opacity: .55;
}


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

.contact-form-column {

    display: flex;
}


.contact-card {

    width: 100%;

    border: 0;

    border-radius: 1rem;

    overflow: hidden;
}


.form-heading {

    margin-bottom: 2rem;
}


.form-heading h2 {

    font-size: 2rem;

    font-weight: 800;

    margin-bottom: .5rem;
}


.form-heading p {

    color: #6c757d;

    margin-bottom: 0;
}


.contact-card .form-control,
.contact-card .form-select {

    border-radius: .6rem;
}


.contact-card .form-control:focus,
.contact-card .form-select:focus {

    border-color: #555;

    box-shadow:
        0 0 0 .2rem
        rgba(0,0,0,.1);
}


.contact-card textarea {

    resize: vertical;
}


/* =========================================================
   HONEYPOT
   ========================================================= */

.honeypot {

    position: absolute !important;

    left: -10000px !important;

    width: 1px !important;

    height: 1px !important;

    overflow: hidden !important;
}


/* =========================================================
   CONTACT DETAILS
   ========================================================= */

.contact-details {

    border-top:
        1px solid
        rgba(0,0,0,.08);

    padding-top: 3rem;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 992px) {

    .contact-grid {

        grid-template-columns: 1fr;

    }


    .contact-intro {

        min-height: 680px;

    }

}


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

@media (max-width: 576px) {

    .contact-intro {

        min-height: 780px;

        padding: 1.5rem;

    }


    .service-list {

        grid-template-columns: 1fr;

    }


    .printer-image-area {

        height: 36%;

    }


    .contact-intro h2 {

        font-size: 2.4rem;

    }

}