/* =========================================================
   WEB HYDRAULIC — CONTACT PAGE
========================================================= */

.contact-hero,
.contact-main,
.contact-benefits,
.contact-location,
.contact-cta {

    --contact-yellow: #f5c332;
    --contact-dark: #07111a;
    --contact-dark-2: #030a10;

    --contact-text: #171c21;
    --contact-muted: #70777c;
    --contact-border: #e5e8ea;

}


.contact-container {

    width: min(
        100% - 64px,
        1480px
    );

    margin: 0 auto;

}


/* =========================================================
   HERO
========================================================= */

.contact-hero {

    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--contact-dark);

    color: #ffffff;

}


.contact-hero-bg {

    position: absolute;
    inset: 0;

}


.contact-hero-bg img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

}


.contact-hero-overlay {

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3,10,16,.97) 0%,
            rgba(3,10,16,.87) 38%,
            rgba(3,10,16,.58) 68%,
            rgba(3,10,16,.28) 100%
        );

}


.contact-hero-content {

    position: relative;
    z-index: 2;

    padding: 85px 0;

}


.contact-kicker {

    display: flex;
    align-items: center;

    gap: 12px;

    color: #936807;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.7px;

}


.contact-kicker span {

    width: 38px;
    height: 2px;

    background: var(--contact-yellow);

}


.contact-kicker-light {

    color: var(--contact-yellow);

}


.contact-hero h1 {

    max-width: 920px;

    margin: 18px 0 20px;

    font-size: clamp(
        48px,
        5.5vw,
        82px
    );

    line-height: .98;

    letter-spacing: -3px;

}


.contact-hero h1 strong {

    display: block;

    color: var(--contact-yellow);

    font-weight: inherit;

}


.contact-hero-content > p {

    max-width: 670px;

    margin: 0;

    color: rgba(255,255,255,.72);

    font-size: 15px;
    line-height: 1.8;

}


.contact-breadcrumb {

    display: flex;
    align-items: center;

    gap: 11px;

    margin-top: 32px;

    font-size: 12px;
    font-weight: 700;

}


.contact-breadcrumb a {

    color: #ffffff;

    text-decoration: none;

}


.contact-breadcrumb > span:first-of-type {

    color: var(--contact-yellow);

}


.contact-breadcrumb > span:last-child {

    color: rgba(255,255,255,.55);

}


/* =========================================================
   CONTACT MAIN
========================================================= */

.contact-main {

    padding: 105px 0;

    background: #ffffff;

}


.contact-main-grid {

    display: grid;

    grid-template-columns:
        minmax(0, .82fr)
        minmax(500px, 1fr);

    gap: 85px;

    align-items: start;

}


.contact-info h2 {

    max-width: 600px;

    margin: 13px 0 20px;

    color: var(--contact-text);

    font-size: clamp(
        38px,
        4vw,
        58px
    );

    line-height: 1.05;

    letter-spacing: -2px;

}


.contact-info-intro {

    max-width: 610px;

    margin: 0;

    color: var(--contact-muted);

    font-size: 14px;

    line-height: 1.85;

}


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

.contact-info-list {

    margin-top: 38px;

    border-top:
        1px solid
        var(--contact-border);

}


.contact-info-item {

    display: grid;

    grid-template-columns:
        55px
        1fr;

    gap: 20px;

    padding: 25px 0;

    border-bottom:
        1px solid
        var(--contact-border);

}


.contact-info-icon {

    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    background:
        rgba(245,195,50,.17);

}


.contact-info-icon svg {

    width: 23px;
    height: 23px;

    fill: none;

    stroke: #936807;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;

}


.contact-info-item span {

    color: #936807;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.3px;

}


.contact-info-item h3 {

    margin: 5px 0;

    color: var(--contact-text);

    font-size: 17px;

}


.contact-info-item p {

    margin: 0;

    color: var(--contact-muted);

    font-size: 12px;

    line-height: 1.6;

}


/* =========================================================
   SUPPORT BOX
========================================================= */

.contact-support-box {

    margin-top: 35px;

    padding: 28px;

    background: var(--contact-dark);

    color: #ffffff;

}


.contact-support-box > span {

    color: var(--contact-yellow);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.4px;

}


.contact-support-box h3 {

    margin: 10px 0;

    font-size: 21px;

}


.contact-support-box p {

    margin: 0;

    color: rgba(255,255,255,.58);

    font-size: 12px;

    line-height: 1.7;

}


.contact-support-box a {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    margin-top: 20px;

    color: var(--contact-yellow);

    text-decoration: none;

    font-size: 11px;
    font-weight: 900;

}


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

.contact-form-wrap {

    padding: 45px;

    background: #f7f8f8;

    border:
        1px solid
        var(--contact-border);

}


.contact-form-head > span {

    color: #936807;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.5px;

}


.contact-form-head h2 {

    margin: 10px 0 13px;

    color: var(--contact-text);

    font-size: clamp(
        34px,
        3vw,
        46px
    );

    line-height: 1.05;

    letter-spacing: -2px;

}


.contact-form-head p {

    margin: 0;

    color: var(--contact-muted);

    font-size: 12px;

    line-height: 1.75;

}


.contact-form {

    margin-top: 32px;

}


.contact-form-row {

    display: grid;

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

    gap: 16px;

}


.contact-field {

    margin-bottom: 18px;

}


.contact-field label {

    display: block;

    margin-bottom: 8px;

    color: #353c41;

    font-size: 11px;
    font-weight: 800;

}


.contact-field label span {

    color: #b77e00;

}


.contact-field input,
.contact-field select,
.contact-field textarea {

    width: 100%;

    box-sizing: border-box;

    outline: none;

    border:
        1px solid
        #dfe3e5;

    border-radius: 0;

    background: #ffffff;

    color: #171c21;

    font: inherit;

    font-size: 12px;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;

}


.contact-field input,
.contact-field select {

    height: 52px;

    padding: 0 15px;

}


.contact-field textarea {

    min-height: 145px;

    padding: 15px;

    resize: vertical;

}


.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {

    border-color:
        var(--contact-yellow);

    box-shadow:
        0 0 0 3px
        rgba(245,195,50,.13);

}


.contact-submit {

    width: 100%;
    min-height: 56px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 0 20px;

    border: 0;

    background: var(--contact-dark);

    color: #ffffff;

    font-size: 12px;
    font-weight: 900;

    cursor: pointer;

    transition:
        background .3s ease,
        transform .3s ease;

}


.contact-submit:hover {

    background: #111d26;

    transform: translateY(-2px);

}


.contact-submit-arrow {

    color: var(--contact-yellow);

    font-size: 19px;

}


.contact-submit:disabled {

    opacity: .7;

    cursor: wait;

    transform: none;

}


/* =========================================================
   MESSAGES
========================================================= */

.contact-success {

    display: flex;

    gap: 15px;

    margin-top: 25px;

    padding: 18px;

    border-left:
        4px solid
        #2f9e44;

    background: #edf9f0;

}


.contact-success > strong {

    color: #2f9e44;

}


.contact-success h4 {

    margin: 0 0 4px;

    color: #205c2c;

}


.contact-success p {

    margin: 0;

    color: #4c6852;

    font-size: 12px;

}


.contact-errors {

    margin-top: 25px;

    padding: 18px;

    border-left:
        4px solid
        #c92a2a;

    background: #fff0f0;

    color: #7b2626;

    font-size: 12px;

}


.contact-errors ul {

    margin:
        8px 0 0;

    padding-left: 18px;

}


/* =========================================================
   BENEFITS
========================================================= */

.contact-benefits {

    padding: 95px 0;

    background: var(--contact-dark);

    color: #ffffff;

}


.contact-benefits-head {

    max-width: 760px;

    margin-bottom: 45px;

}


.contact-benefits-head h2 {

    margin: 12px 0 0;

    font-size: clamp(
        36px,
        3.8vw,
        56px
    );

    line-height: 1.05;

    letter-spacing: -2px;

}


.contact-benefits-grid {

    display: grid;

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

    border-top:
        1px solid
        rgba(255,255,255,.13);

    border-left:
        1px solid
        rgba(255,255,255,.13);

}


.contact-benefit {

    min-height: 250px;

    padding: 30px;

    border-right:
        1px solid
        rgba(255,255,255,.13);

    border-bottom:
        1px solid
        rgba(255,255,255,.13);

    transition:
        background .3s ease;

}


.contact-benefit:hover {

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

}


.contact-benefit > span {

    color: var(--contact-yellow);

    font-size: 11px;
    font-weight: 900;

}


.contact-benefit h3 {

    margin: 72px 0 11px;

    font-size: 20px;

}


.contact-benefit p {

    margin: 0;

    color:
        rgba(255,255,255,.56);

    font-size: 12px;

    line-height: 1.7;

}


/* =========================================================
   LOCATION
========================================================= */

.contact-location {

    padding: 100px 0;

    background: #ffffff;

}


.contact-location-grid {

    display: grid;

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

    gap: 80px;

    align-items: center;

}


.contact-location-content h2 {

    margin: 13px 0 18px;

    color: var(--contact-text);

    font-size: clamp(
        36px,
        3.8vw,
        56px
    );

    line-height: 1.05;

    letter-spacing: -2px;

}


.contact-location-content > p {

    max-width: 560px;

    margin: 0;

    color: var(--contact-muted);

    font-size: 13px;

    line-height: 1.8;

}


.contact-location-detail {

    margin-top: 30px;

    padding-top: 25px;

    border-top:
        1px solid
        var(--contact-border);

}


.contact-location-detail > span {

    color: #936807;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.3px;

}


.contact-location-detail strong {

    display: block;

    margin-top: 7px;

    color: var(--contact-text);

    font-size: 18px;

}


.contact-location-detail p {

    margin: 6px 0 0;

    color: var(--contact-muted);

    font-size: 12px;

}


/* MAP PLACEHOLDER */

.contact-map-placeholder {

    min-height: 420px;

    display: flex;

    flex-direction: column;

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

    text-align: center;

    padding: 40px;

    background:
        linear-gradient(
            rgba(7,17,26,.96),
            rgba(7,17,26,.96)
        );

    color: #ffffff;

}


.contact-map-icon {

    width: 70px;
    height: 70px;

    display: grid;

    place-items: center;

    margin-bottom: 22px;

    background: var(--contact-yellow);

}


.contact-map-icon svg {

    width: 31px;
    height: 31px;

    fill: none;

    stroke: #111820;

    stroke-width: 1.7;

}


.contact-map-placeholder > span {

    color: var(--contact-yellow);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.5px;

}


.contact-map-placeholder h3 {

    margin: 9px 0;

    font-size: 28px;

}


.contact-map-placeholder p {

    max-width: 360px;

    margin: 0;

    color:
        rgba(255,255,255,.55);

    font-size: 12px;

    line-height: 1.7;

}


/* =========================================================
   CTA
========================================================= */

.contact-cta {

    padding: 72px 0;

    background: var(--contact-yellow);

    color: #111820;

}


.contact-cta-inner {

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 60px;

}


.contact-cta
.contact-kicker {

    color: #604700;

}


.contact-cta
.contact-kicker span {

    background: #111820;

}


.contact-cta h2 {

    margin: 12px 0 14px;

    font-size: clamp(
        34px,
        3.5vw,
        52px
    );

    line-height: 1.05;

    letter-spacing: -2px;

}


.contact-cta p {

    margin: 0;

    color:
        rgba(17,24,32,.67);

}


.contact-cta-actions {

    display: flex;

    gap: 10px;

}


.contact-cta-actions a {

    min-height: 52px;

    display: inline-flex;

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

    gap: 20px;

    padding: 0 23px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 900;

    white-space: nowrap;

    transition:
        transform .3s ease;

}


.contact-cta-actions a:hover {

    transform: translateY(-3px);

}


.contact-cta-dark {

    background: var(--contact-dark);

    color: #ffffff;

}


.contact-cta-outline {

    border:
        1px solid
        rgba(17,24,32,.55);

    color: #111820;

}


/* =========================================================
   ANIMATION
========================================================= */

.contact-reveal {

    opacity: 0;

    transform: translateY(24px);

    transition:
        opacity .7s ease,
        transform .7s ease;

}


.contact-reveal.is-visible {

    opacity: 1;

    transform: translateY(0);

}


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

@media (max-width: 1100px) {

    .contact-container {

        width: min(
            100% - 48px,
            1480px
        );

    }


    .contact-main-grid {

        grid-template-columns:
            1fr 1fr;

        gap: 45px;

    }


    .contact-form-wrap {

        padding: 35px;

    }


    .contact-benefits-grid {

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

    }


    .contact-location-grid {

        gap: 45px;

    }


    .contact-cta-inner {

        flex-direction: column;

        align-items: flex-start;

    }

}


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

@media (max-width: 760px) {

    .contact-container {

        width: min(
            100% - 34px,
            1480px
        );

    }


    .contact-hero {

        min-height: 460px;

    }


    .contact-hero-content {

        padding: 65px 0;

    }


    .contact-hero h1 {

        font-size: 42px;

        letter-spacing: -2px;

    }


    .contact-main {

        padding: 70px 0;

    }


    .contact-main-grid {

        grid-template-columns: 1fr;

        gap: 55px;

    }


    .contact-form-wrap {

        padding: 25px 20px;

    }


    .contact-form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .contact-benefits {

        padding: 70px 0;

    }


    .contact-benefits-grid {

        grid-template-columns: 1fr;

    }


    .contact-benefit {

        min-height: 215px;

    }


    .contact-benefit h3 {

        margin-top: 50px;

    }


    .contact-location {

        padding: 70px 0;

    }


    .contact-location-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .contact-map-placeholder {

        min-height: 340px;

    }


    .contact-cta {

        padding: 58px 0;

    }


    .contact-cta-actions {

        width: 100%;

        flex-direction: column;

    }


    .contact-cta-actions a {

        width: 100%;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-reveal {

        opacity: 1;

        transform: none;

        transition: none;

    }

}



/* =========================================================
   WEB HYDRAULIC - CONTACT PAGE REFINEMENTS
========================================================= */

/* Prevent grid content overflow */

.contact-main-grid > *,
.contact-location-grid > *,
.contact-form-row > * {
    min-width: 0;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    max-width: 100%;
}

/* Better keyboard accessibility */

.contact-breadcrumb a:focus-visible,
.contact-support-box a:focus-visible,
.contact-submit:focus-visible,
.contact-cta-actions a:focus-visible {
    outline: 3px solid #b18400;
    outline-offset: 3px;
}

/* Clear focus on form controls */

.contact-field input:focus-visible,
.contact-field select:focus-visible,
.contact-field textarea:focus-visible {
    outline: 2px solid var(--contact-yellow);
    outline-offset: 1px;
}

/* Button loading state */

.contact-submit[aria-busy="true"] {
    cursor: progress;
}

.contact-submit:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

/* Avoid overflow in CTA */

.contact-cta-actions {
    flex-wrap: wrap;
}

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

@media (max-width: 1000px) {

    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-form-wrap {
        width: 100%;
    }

}

/* =========================================================
   SMALL MOBILE REFINEMENTS
========================================================= */

@media (max-width: 480px) {

    .contact-hero h1 {
        font-size: clamp(34px, 10vw, 42px);
        overflow-wrap: anywhere;
    }

    .contact-info h2,
    .contact-benefits-head h2,
    .contact-location-content h2,
    .contact-cta h2 {
        overflow-wrap: anywhere;
    }

    .contact-form-wrap {
        padding: 24px 16px;
    }

    .contact-info-item {
        grid-template-columns: 45px minmax(0, 1fr);
        gap: 14px;
    }

    .contact-info-icon {
        width: 44px;
        height: 44px;
    }

    .contact-map-placeholder {
        padding: 28px 18px;
    }

    .contact-cta-actions a {
        white-space: normal;
        text-align: center;
    }

}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-reveal,
    .contact-submit,
    .contact-cta-actions a {
        transition: none;
    }

    .contact-submit:hover,
    .contact-cta-actions a:hover {
        transform: none;
    }

}
