/* ==========================================================================
   PAWAN INDUSTRIES — CONTACT PAGE STYLES ONLY
   --------------------------------------------------------------------------
   Loaded AFTER css/style.css on contact-us.html.
   Every rule is scoped under .pi-contact-page — zero conflicts with the
   global website stylesheet.

   Brand:  Red #E31B23 · Charcoal #252525 · Grey #5F6368
           Gold #D5A928 · Light #F4F4F4 · White #FFFFFF
   Type:   Montserrat (headings) · Inter (body)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CONTACT HERO
-------------------------------------------------------------------------- */
.pi-contact-page .pi-contact-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 500px;
    padding: 170px 0 92px;
    background: linear-gradient(
            100deg,
            rgba(16, 16, 16, 0.94) 0%,
            rgba(24, 24, 24, 0.514) 52%,
            rgba(24, 24, 24, 0.048) 100%
        ),
        url("/images/hero-banner-2.png") center / cover no-repeat;
    border-bottom: 4px solid #e31b23;
    color: #ffffff;
    overflow: hidden;
}
/* technical hairline grid over the banner */
.pi-contact-page .pi-contact-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 54px 54px;
    opacity: 0.5;
    pointer-events: none;
}
.pi-contact-hero-inner {
    position: relative;
    z-index: 2;
}
.pi-contact-hero-label {
    display: flex;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #d5a928;
    margin-bottom: 20px;
}
.pi-contact-hero-label::before {
    content: "";
    width: 42px;
    height: 3px;
    background: #e31b23;
    margin-right: 16px;
}
.pi-contact-hero-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    line-height: 1.12;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    max-width: 820px;
    margin-bottom: 20px;
    padding-left: 24px;
    border-left: 5px solid #e31b23;
}
.pi-contact-hero-text {
    font-size: 16.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    max-width: 640px;
    margin-bottom: 28px;
    padding-left: 29px;
}
.pi-contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 29px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.pi-contact-breadcrumb a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color 0.25s;
}
.pi-contact-breadcrumb a:hover {
    color: #e31b23;
}
.pi-contact-breadcrumb svg {
    width: 13px;
    height: 13px;
    color: #d5a928;
}
.pi-contact-breadcrumb .current {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   2. SHARED SECTION KIT + REVEAL
-------------------------------------------------------------------------- */
.pi-contact-page .pi-contact-section {
    padding: 100px 0;
    position: relative;
}
.pi-contact-page .pi-contact-section-light {
    background: #f4f4f4;
}
.pi-contact-page .pi-contact-section-white {
    background: #ffffff;
}
.pi-contact-page .pi-grid-light {
    background-image: linear-gradient(rgba(37, 37, 37, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 37, 37, 0.04) 1px, transparent 1px);
    background-size: 46px 46px;
}

.pi-contact-page .pi-contact-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--pi-c-delay, 0s);
    will-change: opacity, transform;
}
.pi-contact-page .pi-contact-reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.pi-contact-page .pi-c-label {
    display: flex;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #e31b23;
    margin-bottom: 14px;
}
.pi-contact-page .pi-c-label::before {
    content: "";
    width: 34px;
    height: 3px;
    background: #e31b23;
    margin-right: 14px;
}
.pi-contact-page .pi-c-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.18;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: #252525;
    margin-bottom: 0;
}
.pi-contact-page .pi-c-text {
    color: #5f6368;
    font-size: 15.5px;
    max-width: 620px;
    margin-top: 12px;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   3. CONTACT INFORMATION CARDS
-------------------------------------------------------------------------- */
.pi-contact-page .pi-contact-card {
    position: relative;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e4e4e4;
    padding: 34px 26px 30px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.pi-contact-page .pi-contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e31b23;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.pi-contact-page .pi-contact-card:hover {
    transform: translateY(-6px);
    border-color: #d3d3d3;
    box-shadow: 0 16px 42px rgba(20, 20, 20, 0.1);
}
.pi-contact-page .pi-contact-card:hover::before {
    transform: scaleX(1);
}

.pi-contact-page .pi-cc-icon {
    width: 56px;
    height: 56px;
    background: rgba(227, 27, 35, 0.07);
    border: 1px solid rgba(227, 27, 35, 0.18);
    color: #e31b23;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.35s ease, color 0.35s ease;
}
.pi-contact-page .pi-cc-icon svg {
    width: 25px;
    height: 25px;
}
.pi-contact-page .pi-contact-card:hover .pi-cc-icon {
    background: #e31b23;
    color: #ffffff;
}

.pi-contact-page .pi-cc-label {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #252525;
    margin-bottom: 12px;
    padding-bottom: 12px;
    position: relative;
}
.pi-contact-page .pi-cc-label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: #d5a928;
}
.pi-contact-page .pi-cc-body {
    font-size: 14px;
    line-height: 1.8;
    color: #5f6368;
    flex: 1;
}
.pi-contact-page .pi-cc-body strong {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    color: #252525;
}
.pi-contact-page .pi-cc-body a {
    color: #5f6368;
    text-decoration: none;
    transition: color 0.25s;
    display: inline-block;
}
.pi-contact-page .pi-cc-body a:hover {
    color: #e31b23;
}
.pi-contact-page .pi-cc-closed {
    color: #e31b23;
    font-weight: 700;
    letter-spacing: 1px;
}

.pi-contact-page .pi-cc-action {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e31b23;
    text-decoration: none;
}
.pi-contact-page .pi-cc-action svg {
    width: 15px;
    height: 15px;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.pi-contact-page .pi-cc-action:hover {
    color: #b9141b;
}
.pi-contact-page .pi-cc-action:hover svg {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   4. REQUEST A QUOTE / CAREER FORM
-------------------------------------------------------------------------- */
/* left info panel */
.pi-contact-page .pi-quote-panel {
    position: relative;
    height: 100%;
    min-height: 420px;
    background: linear-gradient(160deg, rgba(22, 22, 22, 0) 0%, rgba(22, 22, 22, 0.548) 50%, rgb(30, 30, 30) 100%),
        url("/images/gear-Xor5488-600.jpg") center / cover no-repeat;
    padding: 46px 42px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
    overflow: hidden;
}
.pi-contact-page .pi-quote-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e31b23 0 55%, #d5a928 55% 100%);
}
.pi-contact-page .pi-quote-panel-inner {
    position: relative;
    z-index: 2;
}
.pi-contact-page .pi-quote-panel-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.22;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.pi-contact-page .pi-quote-panel-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
    max-width: 420px;
    margin-bottom: 24px;
}
.pi-contact-page .pi-quote-panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pi-contact-page .pi-quote-panel-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.pi-contact-page .pi-quote-panel-list svg {
    width: 16px;
    height: 16px;
    color: #d5a928;
    flex-shrink: 0;
}
.pi-contact-page .pi-quote-panel-list a {
    color: inherit;
    text-decoration: none;
}
.pi-contact-page .pi-quote-panel-list a:hover {
    color: #e31b23;
}

/* form shell */
.pi-contact-page .pi-contact-form {
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-top: 4px solid #e31b23;
    padding: 40px 38px 36px;
    height: 100%;
}
.pi-contact-page .pi-form-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #252525;
    margin-bottom: 6px;
}
.pi-contact-page .pi-form-subtext {
    font-size: 13.5px;
    color: #5f6368;
    margin-bottom: 26px;
}

.pi-contact-page .pi-form-label {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #252525;
    margin-bottom: 8px;
}
.pi-contact-page .pi-form-label .pi-req {
    color: #e31b23;
}

.pi-contact-page .pi-form-control {
    width: 100%;
    background: #fafafa;
    border: 1px solid #e2e2e2;
    border-radius: 0;
    padding: 13px 15px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #252525;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.pi-contact-page .pi-form-control::placeholder {
    color: #9aa0a6;
}
.pi-contact-page .pi-form-control:hover {
    border-color: #cfcfcf;
}
.pi-contact-page .pi-form-control:focus {
    outline: none;
    background: #ffffff;
    border-color: #e31b23;
    box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.12);
}
.pi-contact-page textarea.pi-form-control {
    min-height: 128px;
    resize: vertical;
}
.pi-contact-page select.pi-form-control {
    appearance: none;
    background-image: none;
}
.pi-contact-page .pi-select-wrap {
    position: relative;
}
.pi-contact-page .pi-select-wrap svg {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #5f6368;
    pointer-events: none;
}

/* invalid state */
.pi-contact-page .pi-form-control.pi-invalid {
    border-color: #e31b23;
    background: rgba(227, 27, 35, 0.03);
}
.pi-contact-page .pi-field-error {
    display: none;
    font-size: 12px;
    font-weight: 500;
    color: #e31b23;
    margin-top: 6px;
}
.pi-contact-page .pi-field-error.show {
    display: block;
}

/* file upload */
.pi-contact-page .pi-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}
.pi-contact-page .pi-file-zone {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fafafa;
    border: 1.5px dashed #cfcfcf;
    padding: 18px 20px;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.pi-contact-page .pi-file-zone:hover {
    border-color: #e31b23;
    background: rgba(227, 27, 35, 0.02);
}
.pi-contact-page .pi-file-zone-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: #252525;
    color: #d5a928;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pi-contact-page .pi-file-zone-icon svg {
    width: 21px;
    height: 21px;
}
.pi-contact-page .pi-file-zone-text strong {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #252525;
}
.pi-contact-page .pi-file-zone-text span {
    font-size: 12px;
    color: #9aa0a6;
}
.pi-contact-page .pi-file-name {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #252525;
}
.pi-contact-page .pi-file-name svg {
    width: 15px;
    height: 15px;
    color: #e31b23;
}
.pi-contact-page .pi-file-name.show {
    display: flex;
}
.pi-contact-page .pi-file-warning {
    display: none;
    font-size: 12px;
    color: #9a7b0f;
    margin-top: 6px;
}
.pi-contact-page .pi-file-warning.show {
    display: block;
}

/* submit + secondary text */
.pi-contact-page .pi-form-note {
    font-size: 12.5px;
    color: #9aa0a6;
    margin-top: 14px;
}

/* no-backend status notice */
.pi-contact-page .pi-form-status {
    display: none;
    margin-top: 22px;
    background: #f7f7f7;
    border-left: 3px solid #d5a928;
    padding: 16px 20px;
    font-size: 13.5px;
    line-height: 1.7;
    color: #3a3d40;
}
.pi-contact-page .pi-form-status.show {
    display: block;
}
.pi-contact-page .pi-form-status strong {
    color: #252525;
}
.pi-contact-page .pi-form-status a {
    color: #e31b23;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   5. GOOGLE MAP
-------------------------------------------------------------------------- */
.pi-contact-page .pi-contact-map-wrap {
    position: relative;
    border: 1px solid #e4e4e4;
    background: #f4f4f4;
}
.pi-contact-page .pi-contact-map {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
}
.pi-contact-page .pi-contact-map-card {
    position: absolute;
    left: 34px;
    top: 50%;
    transform: translateY(-50%);
    width: min(340px, 86%);
    background: #ffffff;
    border-top: 4px solid #e31b23;
    box-shadow: 0 18px 48px rgba(20, 20, 20, 0.22);
    padding: 28px 28px 26px;
    z-index: 3;
}
.pi-contact-page .pi-map-card-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #252525;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pi-contact-page .pi-map-card-title svg {
    width: 20px;
    height: 20px;
    color: #e31b23;
}
.pi-contact-page .pi-map-card-text {
    font-size: 13.5px;
    line-height: 1.75;
    color: #5f6368;
    margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   6. QUICK CONTACT CTA
-------------------------------------------------------------------------- */
.pi-contact-page .pi-contact-cta {
    position: relative;
    background: #1e1e1e;
    padding: 104px 0;
    overflow: hidden;
}
.pi-contact-page .pi-contact-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 54px 54px;
    pointer-events: none;
}
.pi-contact-page .pi-contact-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e31b23 0 55%, #d5a928 55% 100%);
}
.pi-contact-page .pi-contact-cta-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.18;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0;
}
.pi-contact-page .pi-contact-cta-text {
    font-size: 16.5px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 620px;
    margin: 14px auto 0;
}

/* --------------------------------------------------------------------------
   7. CONTACT RESPONSIVE
-------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .pi-contact-page .pi-contact-hero {
        min-height: 420px;
        padding: 140px 0 76px;
    }
    .pi-contact-page .pi-contact-section {
        padding: 84px 0;
    }
    .pi-contact-page .pi-quote-panel {
        min-height: 380px;
        margin-bottom: 26px;
    }
    .pi-contact-page .pi-contact-map-card {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        border-top: 4px solid #e31b23;
        border-bottom: 1px solid #e4e4e4;
    }
    .pi-contact-page .pi-contact-map {
        height: 400px;
    }
}

@media (max-width: 767.98px) {
    .pi-contact-page .pi-contact-hero {
        min-height: 340px;
        padding: 118px 0 60px;
    }
    .pi-contact-page .pi-contact-hero-title {
        border-left-width: 4px;
        padding-left: 18px;
    }
    .pi-contact-page .pi-contact-hero-text,
    .pi-contact-page .pi-contact-breadcrumb {
        padding-left: 22px;
    }
    .pi-contact-page .pi-contact-section {
        padding: 68px 0;
    }
    .pi-contact-page .pi-contact-form {
        padding: 30px 22px 28px;
    }
    .pi-contact-page .pi-quote-panel {
        padding: 34px 24px;
    }
    .pi-contact-page .pi-contact-map {
        height: 360px;
    }
    .pi-contact-page .pi-contact-cta {
        padding: 80px 0;
    }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    .pi-contact-page .pi-contact-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .pi-contact-page * {
        transition-duration: 0.01ms !important;
    }
}
