/* Quote Form Page */
.quote-page-wrapper {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-page-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/static/images/construction-site-night.webp') center center / cover no-repeat;
    opacity: 0.4;
    z-index: -2;
}

.quote-page-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, rgba(15, 23, 42, 0.85) 50%, rgba(15, 23, 42, 0.7) 100%);
    z-index: -1;
}

.quote-page {
    background: var(--color-bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.quote-page h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    letter-spacing: -0.5px;
    color: var(--color-text-primary);
}

.quote-page .subtitle {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.form-group input,
.form-group textarea {
    padding: 0.65rem 0.875rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-blue-dark);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.category-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.category-checkboxes label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
}

.category-checkboxes input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.submit-btn {
    background: var(--color-primary);
    color: var(--color-bg-white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: var(--color-primary-light);
}

.submit-btn:disabled {
    background: var(--color-text-light);
    cursor: not-allowed;
}

.form-message {
    padding: 1rem;
    border-radius: 4px;
    font-weight: 500;
}

.form-message.success {
    background: var(--color-success-bg);
    color: var(--color-success-text);
}

.form-message.error {
    background: var(--color-error-bg);
    color: var(--color-error-text);
}

/* Category Page */
.category-hero {
    background: var(--color-bg-light);
    padding: 4rem 2rem;
    border-bottom: 1px solid var(--color-border);
}

.category-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.category-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.category-hero p {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    max-width: 700px;
}

.category-content {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Contact Page */
.contact-page {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.contact-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/static/images/construction-site-night.webp') center center / cover no-repeat;
    opacity: 0.4;
    z-index: -2;
}

.contact-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, rgba(15, 23, 42, 0.85) 50%, rgba(15, 23, 42, 0.7) 100%);
    z-index: -1;
}

.contact-grid {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    color: var(--color-bg-white);
}

.contact-info h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    color: var(--color-bg-white);
}

.contact-info > p {
    color: var(--color-text-lighter);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-accent-blue);
}

.contact-item-content strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--color-accent-blue);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item-content a,
.contact-item-content span {
    color: var(--color-bg-white);
    text-decoration: none;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-item-content a:hover {
    color: var(--color-accent-blue);
}

.contact-address {
    display: flex;
    flex-direction: column;
}

.contact-address span {
    display: block;
}

.contact-address:hover span {
    color: var(--color-accent-blue);
}

.contact-form-wrapper {
    background: var(--color-bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.contact-form-wrapper .quote-form .form-group label {
    color: var(--color-text-secondary);
}

.contact-form-wrapper .quote-form .submit-btn {
    width: 100%;
}

/* Discipline Pages (CSA/MEP parent) */
.discipline-hero {
    background: var(--color-primary);
    color: var(--color-bg-white);
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.discipline-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('/static/images/construction-site-night.webp') center center / cover no-repeat;
    opacity: 0.4;
}

.discipline-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.4) 100%);
}

.discipline-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.discipline-eyebrow {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-accent-blue);
    margin-bottom: 1rem;
    display: block;
}

.discipline-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.discipline-hero p {
    font-size: 1.15rem;
    color: var(--color-text-lighter);
    max-width: 600px;
    line-height: 1.6;
}

.discipline-trades {
    padding: 5rem 2rem;
    background: var(--color-bg-white);
}

.discipline-trades-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.discipline-trade-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.discipline-trade-card:hover {
    background: var(--color-bg-light);
    border-color: var(--color-text-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.discipline-trade-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 0.5rem 0;
}

.discipline-trade-content p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.discipline-trade-arrow {
    font-size: 1.5rem;
    color: var(--color-text-light);
    transition: transform 0.2s, color 0.2s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.discipline-trade-card:hover .discipline-trade-arrow {
    transform: translateX(4px);
    color: var(--color-text-primary);
}

/* Individual Trade Pages */
.trade-page-hero {
    background: var(--color-primary);
    color: var(--color-bg-white);
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.trade-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('/static/images/construction-site-night.webp') center center / cover no-repeat;
    opacity: 0.4;
}

.trade-page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.4) 100%);
}

.trade-page-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.trade-breadcrumb {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-accent-blue);
    margin-bottom: 1rem;
    display: inline-block;
}

.trade-page-hero h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.trade-page-description {
    font-size: 1.1rem;
    color: var(--color-text-lighter);
    max-width: 700px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.trade-hero-cta {
    display: inline-block;
    background: var(--color-bg-white);
    color: var(--color-primary);
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.15s;
}

.trade-hero-cta:hover {
    background: var(--color-bg-hover);
}

.trade-benefits {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, rgba(243, 244, 246, 0.9) 0%, rgba(255, 255, 255, 1) 70%);
}

.trade-benefits-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.trade-benefits-header {
    max-width: 620px;
    margin-bottom: 2.5rem;
}

.trade-benefits-header h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-bottom: 0.75rem;
}

.trade-benefits-header p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}


.trade-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trade-benefit {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.trade-benefit:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trade-benefit-index {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent-blue);
    letter-spacing: 1px;
    min-width: 2.5rem;
}

.trade-benefit-copy h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.trade-benefit-copy p {
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

.trade-scope {
    padding: 5rem 2rem;
    background: var(--color-bg-white);
}

.trade-quote {
    padding: 0 2rem;
    background: var(--color-bg-white);
}

.trade-quote-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.5;
}

.trade-scope-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
    gap: 3rem;
    align-items: start;
}

.trade-scope-copy h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.trade-scope-copy p {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

.trade-scope-detail {
    color: var(--color-text-primary);
    font-weight: 600;
}

.trade-scope-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
    align-self: center;
}

.trade-scope-list li {
    padding-left: 1.25rem;
    border-left: 2px solid var(--color-accent-blue);
    color: var(--color-text-primary);
    line-height: 1.5;
}

/* PPE Intro Section */
.ppe-intro {
    padding: 4rem 2rem;
    background: var(--color-bg-white);
}

.ppe-intro-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ppe-intro p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0;
}

/* PPE Scope Section */
.ppe-scope {
    padding: 4rem 2rem;
    background: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
}

.ppe-scope-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.ppe-area {
    margin-bottom: 4rem;
}

.ppe-area:last-child {
    margin-bottom: 0;
}

.ppe-area-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-primary);
}

.ppe-area-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.ppe-area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
}

.ppe-area-item {
    padding: 1.25rem 1.5rem;
    background: var(--color-bg-white);
}

.ppe-area-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--color-text-primary);
}

.ppe-area-item p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

.ppe-area-item--highlight {
    background: #334155;
}

.ppe-area-item--highlight h3 {
    color: var(--color-bg-white);
}

.ppe-area-item--highlight p {
    color: var(--color-text-lighter);
}

/* PPE Advantages Section */
.ppe-advantages {
    padding: 4rem 2rem;
    background: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
}

.ppe-advantages-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
}

.ppe-advantage {
    flex: 1;
    padding-left: 1.25rem;
    border-left: 3px solid var(--color-primary);
}

.ppe-advantage h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.ppe-advantage p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .discipline-trades-inner {
        grid-template-columns: 1fr;
    }

    .ppe-area-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ppe-advantages-inner {
        flex-wrap: wrap;
        gap: 2rem 3rem;
    }
}

@media (max-width: 768px) {
    .discipline-hero,
    .trade-page-hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
        text-align: center;
    }

    .discipline-hero h1,
    .trade-page-hero h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .trade-benefits {
        padding: 3rem 2rem;
    }

    .trade-benefits-header {
        margin: 0 auto 2.5rem;
        text-align: center;
    }

    .trade-scope {
        padding: 3rem 2rem;
    }

    .trade-scope-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ppe-area-grid {
        grid-template-columns: 1fr;
    }

    .ppe-area {
        margin-bottom: 3rem;
    }
}

