/* ============================================================
   TRUEFLOW GUTTER SYSTEMS
   CONTACT
============================================================ */

.contact-hero {
    position: relative;
    min-height: clamp(620px, 74vh, 800px);
    overflow: hidden;
    display: flex;
    color: var(--color-light);
    background: var(--color-dark);
}

.contact-hero__media,
.contact-hero__overlay {
    position: absolute;
    inset: 0;
}

.contact-hero__media img {
    width: 100%;
    height: 112%;
    object-fit: cover;
}

.contact-hero__overlay {
    z-index: 1;
    background: linear-gradient(90deg, rgba(17, 24, 39, .97), rgba(17, 24, 39, .88) 44%, rgba(17, 24, 39, .34));
}

.contact-hero__lines {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.contact-hero__lines span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, .07);
}

.contact-hero__lines span:first-child {
    left: 34%;
}

.contact-hero__lines span:last-child {
    left: 68%;
}

.contact-hero__inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
    gap: clamp(60px, 8vw, 115px);
    padding-top: 95px;
    padding-bottom: 100px;
}

.contact-hero__content {
    max-width: 850px;
}

.contact-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
}

.contact-hero__kicker::before {
    content: "";
    width: 42px;
    height: 2px;
    background: var(--color-red);
}

.contact-hero h1 {
    margin-bottom: 28px;
    font-size: clamp(58px, 7vw, 106px);
    font-weight: 620;
    line-height: .9;
    letter-spacing: -.065em;
}

.contact-hero h1 span {
    display: block;
    color: rgba(255, 255, 255, .48);
}

.contact-hero__lead {
    max-width: 700px;
    margin-bottom: 34px;
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.7;
    color: rgba(255, 255, 255, .7);
}

.contact-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.contact-hero__call small,
.contact-hero__call strong {
    display: block;
}

.contact-hero__call small {
    font-size: 9px;
    color: rgba(255, 255, 255, .48);
}

.contact-hero__call strong {
    font-size: 16px;
}

.contact-hero__card {
    align-self: end;
    padding: 28px;
    background: rgba(23, 71, 166, .86);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 20px;
    backdrop-filter: blur(14px);
}

.contact-hero__card>span {
    display: block;
    margin-bottom: 14px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .56);
}

.contact-hero__card>strong {
    display: block;
    margin-bottom: 12px;
    font-size: 28px;
    line-height: 1.08;
}

.contact-hero__card>p {
    margin-bottom: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, .64);
}

.contact-hero__card>div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.contact-hero__card small {
    padding: 7px 9px;
    font-size: 8px;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
}

/* MAIN */

.contact-main {
    background: var(--color-grey);
}

.contact-main__grid {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: clamp(55px, 8vw, 110px);
}

.contact-sidebar {
    position: sticky;
    top: 125px;
}

.contact-sidebar__intro {
    color: var(--color-muted);
}

.contact-sidebar__details {
    display: grid;
    margin-top: 32px;
    border-top: 1px solid var(--color-border);
}

.contact-detail {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-detail__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #fff;
    background: var(--color-blue);
    border-radius: 50%;
}

.contact-detail__icon svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.contact-detail small,
.contact-detail strong {
    display: block;
}

.contact-detail small {
    font-size: 8px;
    text-transform: uppercase;
    color: var(--color-muted);
}

.contact-detail strong {
    font-size: 13px;
    overflow-wrap: anywhere;
}

.contact-sidebar__note {
    margin-top: 28px;
    padding: 22px;
    color: #fff;
    background: var(--color-dark);
    border-radius: 16px;
}

.contact-sidebar__note>span {
    display: block;
    margin-bottom: 13px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffd2d4;
}

.contact-sidebar__note ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
    font-size: 11px;
    color: rgba(255, 255, 255, .66);
}

/* FORM */

.contact-form-panel {
    padding: clamp(28px, 4vw, 48px);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.contact-form-panel__header {
    margin-bottom: 32px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--color-border);
}

.contact-form-panel__header>span {
    display: block;
    margin-bottom: 7px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--color-red);
}

.contact-form-panel__header h2 {
    margin-bottom: 8px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.03;
    letter-spacing: -.045em;
}

.contact-form-panel__header p {
    margin: 0;
    font-size: 12px;
    color: var(--color-muted);
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-field {
    display: grid;
    gap: 8px;
}

.contact-field--full {
    margin-top: 20px;
}

.contact-field label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
    font-weight: 800;
    color: var(--color-dark);
}

.contact-field label>span {
    color: var(--color-red);
}

.contact-field label small {
    font-size: 8px;
    font-weight: 650;
    color: #98a2b3;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1px solid #d7dee8;
    border-radius: 12px;
    background: #fbfcfe;
    color: var(--color-dark);
    font: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-field input,
.contact-field select {
    min-height: 52px;
    padding: 0 15px;
}

.contact-field textarea {
    min-height: 165px;
    padding: 15px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    background: #fff;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 4px rgba(23, 71, 166, .09);
}

/* UPLOAD */

.contact-upload {
    margin-top: 22px;
    padding: 20px;
    background: #f7f9fc;
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.contact-upload__heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.contact-upload__heading strong,
.contact-upload__heading span {
    display: block;
}

.contact-upload__heading strong {
    font-size: 13px;
}

.contact-upload__heading div>span {
    margin-top: 2px;
    font-size: 9px;
    color: var(--color-muted);
}

.contact-upload__formats {
    font-size: 8px;
    font-weight: 800;
    color: var(--color-blue);
}

.contact-upload__drop {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    cursor: pointer;
    background: #fff;
    border: 1px dashed #b9c5d7;
    border-radius: 13px;
    transition: border-color .2s ease, background .2s ease;
}

.contact-upload__drop:hover {
    background: #fdfefe;
    border-color: var(--color-blue);
}

.contact-upload__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: none;
    color: #fff;
    background: var(--color-blue);
    border-radius: 50%;
}

.contact-upload__icon svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.contact-upload__drop strong,
.contact-upload__drop small {
    display: block;
}

.contact-upload__drop strong {
    margin-bottom: 2px;
    font-size: 11px;
}

.contact-upload__drop small {
    font-size: 8px;
    color: var(--color-muted);
}

.contact-upload__input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.contact-upload__files {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.contact-upload__files span {
    padding: 6px 9px;
    font-size: 8px;
    color: var(--color-blue);
    background: #edf3ff;
    border-radius: 999px;
}

.contact-upload__files .is-error {
    color: #9b1c1c;
    background: #fff0f0;
}

/* FORM FOOTER */

.contact-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 28px;
    padding-top: 25px;
    border-top: 1px solid var(--color-border);
}

.contact-form__footer p {
    max-width: 390px;
    margin: 0;
    font-size: 9px;
    line-height: 1.65;
    color: var(--color-muted);
}

.contact-form__footer p a {
    color: var(--color-blue);
    font-weight: 750;
}

.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
}

/* ALERTS */

.contact-alert {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 13px;
    margin-bottom: 25px;
    padding: 16px;
    border-radius: 13px;
}

.contact-alert>span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-weight: 800;
}

.contact-alert strong {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
}

.contact-alert p {
    margin: 0;
    font-size: 10px;
}

.contact-alert--success {
    color: #175c3b;
    background: #edf9f2;
    border: 1px solid #c8ead7;
}

.contact-alert--success>span {
    color: #fff;
    background: #2d8b5c;
}

.contact-alert--error {
    color: #8b2525;
    background: #fff1f1;
    border: 1px solid #f0cccc;
}

.contact-alert--error>span {
    color: #fff;
    background: var(--color-red);
}

/* NEXT */

.contact-next {
    padding: clamp(90px, 9vw, 140px) 0;
    color: #fff;
    background: var(--color-blue);
}

.contact-next__heading {
    max-width: 850px;
    margin-bottom: 50px;
}

.contact-next__heading h2 {
    margin: 0;
    font-size: clamp(44px, 5.3vw, 80px);
    line-height: .98;
    letter-spacing: -.055em;
}

.contact-next__heading h2 span {
    display: block;
    color: rgba(255, 255, 255, .5);
}

.contact-next__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .16);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.contact-next__grid article {
    min-height: 245px;
    padding: 28px;
    border-right: 1px solid rgba(255, 255, 255, .16);
}

.contact-next__grid article:last-child {
    border-right: 0;
}

.contact-next__grid article>span {
    display: inline-block;
    margin-bottom: 48px;
    font-size: 9px;
    font-weight: 800;
    color: #ffd2d4;
}

.contact-next__grid h3 {
    margin-bottom: 8px;
    font-size: 19px;
}

.contact-next__grid p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, .58);
}

/* DIRECT */

.contact-direct {
    background: #fff;
}

.contact-direct__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(60px, 9vw, 125px);
}

.contact-direct__copy p {
    color: var(--color-muted);
}

.contact-direct__actions {
    display: grid;
    border-top: 1px solid var(--color-border);
}

.contact-direct__actions a {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    padding: 22px 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-direct__actions small {
    font-size: 8px;
    text-transform: uppercase;
    color: var(--color-red);
}

.contact-direct__actions strong {
    font-size: 15px;
    overflow-wrap: anywhere;
}

.contact-direct__actions a>span {
    color: var(--color-blue);
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .contact-hero__inner {
        grid-template-columns: 1fr 300px;
    }

    .contact-main__grid {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        position: static;
    }
}

@media (max-width: 800px) {
    .contact-hero {
        min-height: auto;
    }

    .contact-hero__inner {
        grid-template-columns: 1fr;
        padding-top: 80px;
        padding-bottom: 85px;
    }

    .contact-hero__card {
        display: none;
    }

    .contact-direct__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .contact-hero h1 {
        font-size: clamp(46px, 13vw, 65px);
    }

    .contact-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-hero__actions .button {
        width: 100%;
    }

    .contact-hero__call {
        text-align: center;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .contact-form__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-form__footer .button {
        width: 100%;
    }

    .contact-upload__heading {
        flex-direction: column;
        gap: 6px;
    }

    .contact-next__grid {
        grid-template-columns: 1fr;
    }

    .contact-next__grid article {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .16);
    }

    .contact-next__grid article:last-child {
        border-bottom: 0;
    }

    .contact-direct__actions a {
        grid-template-columns: 65px minmax(0, 1fr) auto;
    }
}

@media (max-width: 480px) {
    .contact-form-panel {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .contact-upload {
        padding: 15px;
    }

    .contact-upload__drop {
        align-items: flex-start;
    }

    .contact-direct__actions a {
        grid-template-columns: 1fr auto;
    }

    .contact-direct__actions small {
        grid-column: 1 / 3;
    }
}