/* ========================================
   SUBPAGES - V2 Clean Style
   ======================================== */

/* ==========  PAGE HEADER ========== */
.page-header {
    background: var(--black);
    color: var(--white);
    padding: 5rem 0 5rem;
    position: relative;
    overflow: hidden;
}

/* Feature block (used on About page) - imported from home.css */
.feature-block {
    padding: 5rem 0;
    background: var(--white);
}

.feature-block-alt {
    background: var(--gray-50);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.feature-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--gray-200);
}

.feature-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-photo-corner {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--yellow);
    color: var(--black);
    padding: 1rem 1.5rem;
    font-size: 0.813rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-content .eyebrow { margin-bottom: 1.25rem; }

.feature-content h2 { margin-bottom: 1.25rem; }

.feature-content p {
    font-size: 1.063rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 540px;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.feature-list li svg {
    width: 18px;
    height: 18px;
    color: var(--yellow);
    flex-shrink: 0;
    margin-top: 2px;
}

.section-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: end;
}

@media (max-width: 1024px) {
    .feature-grid { grid-template-columns: 1fr; gap: 3rem; }
    .section-intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.page-header-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 20, 20, 0.95) 0%, rgba(20, 20, 20, 0.6) 45%, transparent 100%);
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s var(--ease);
}

.breadcrumb a:hover {
    color: var(--yellow);
}

.breadcrumb .current {
    color: var(--yellow);
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.65;
    max-width: 620px;
}

/* ==========  STORY / ABOUT ========== */
.story-section {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
}

.story-aside .eyebrow {
    margin-bottom: 1.25rem;
}

.story-aside h2 {
    margin-bottom: 0;
}

.story-content p {
    font-size: 1.063rem;
    color: var(--gray-700);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.story-content p:first-child {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--black);
    line-height: 1.55;
}

/* ==========  MISSION & VISION ========== */
.mv-section {
    padding: var(--section-pad) 0;
    background: var(--gray-50);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mv-card {
    padding: 3rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all 0.3s var(--ease);
}

.mv-card:hover {
    border-color: var(--black);
    transform: translateY(-4px);
}

.mv-card .eyebrow {
    margin-bottom: 1rem;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mv-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
}

/* ==========  VALUES ========== */
.values-section {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.values-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
}

.values-header h2 {
    margin-bottom: 1rem;
}

.values-header p {
    font-size: 1.063rem;
    color: var(--gray-700);
    line-height: 1.65;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-card {
    padding: 1.5rem 0;
}

.value-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.25rem;
    color: var(--yellow);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ==========  SERVICES DETAIL ========== */
.services-detail {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.service-block {
    padding: 4rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.service-block:last-child {
    border-bottom: none;
}

.service-block-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-block-grid.reverse {
    direction: rtl;
}

.service-block-grid.reverse > * {
    direction: ltr;
}

.service-info .service-num {
    font-size: 0.813rem;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    display: block;
}

.service-info h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.25rem;
}

.service-info p {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.service-features li svg {
    width: 16px;
    height: 16px;
    color: var(--yellow);
    flex-shrink: 0;
    margin-top: 4px;
}

.service-photo {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--gray-100);
    position: relative;
}

.service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========  INDUSTRIES ========== */
.industries-section {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.industry-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
}

.industry-card:hover {
    border-color: var(--black);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.1);
}

.industry-photo {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--gray-200);
}

.industry-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.industry-card:hover .industry-photo img {
    transform: scale(1.04);
}

.industry-body {
    padding: 2rem;
}

.industry-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.industry-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.875rem;
}

.industry-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.industry-tag {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-600);
    padding: 0.375rem 0.75rem;
    background: var(--gray-50);
    border-radius: 3px;
}

/* ==========  CONTACT ========== */
.contact-section {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.contact-info .eyebrow {
    margin-bottom: 1rem;
}

.contact-info h2 {
    margin-bottom: 1.25rem;
}

.contact-info > p {
    font-size: 1.063rem;
    color: var(--gray-700);
    line-height: 1.65;
    margin-bottom: 2.5rem;
    max-width: 440px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gray-50);
    border-left: 3px solid var(--yellow);
    transition: all 0.2s var(--ease);
}

.contact-method:hover {
    background: var(--gray-100);
}

.contact-method-icon {
    width: 36px;
    height: 36px;
    color: var(--yellow);
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 100%;
    height: 100%;
}

.contact-method-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.contact-method-value {
    font-size: 1.063rem;
    font-weight: 600;
    color: var(--black);
    line-height: 1.4;
}

.contact-method-value a {
    transition: color 0.2s var(--ease);
}

.contact-method-value a:hover { color: var(--yellow); }

.hours-card {
    padding: 1.5rem 1.75rem;
    background: var(--black);
    color: var(--white);
}

.hours-card h4 {
    font-size: 0.813rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 1rem;
}

.hours-list {
    display: grid;
    gap: 0.5rem;
}

.hours-list > div {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    padding: 0.375rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hours-list > div:last-child {
    border-bottom: none;
}

.hours-list span:first-child {
    color: rgba(255, 255, 255, 0.6);
}

.hours-list span:last-child {
    font-weight: 600;
}

/* Form */
.quote-form {
    background: var(--white);
    padding: 2.5rem;
    border: 1px solid var(--gray-200);
}

.quote-form-header {
    margin-bottom: 2rem;
}

.quote-form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.quote-form-header p {
    font-size: 0.938rem;
    color: var(--gray-600);
}

.form-grid {
    display: grid;
    gap: 1.25rem;
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field label {
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-field label .req {
    color: var(--yellow);
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--black);
    transition: all 0.2s var(--ease);
    outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.15);
}

.form-field textarea {
    min-height: 110px;
    resize: vertical;
    font-family: var(--font-body);
}

.form-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23737373' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-submit {
    padding: 1rem 2rem;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.938rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-top: 0.5rem;
    width: 100%;
    border: none;
}

.form-submit:hover:not(:disabled) {
    background: var(--gray-800);
}

.form-submit svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s var(--ease);
}

.form-submit:hover:not(:disabled) svg {
    transform: translateX(3px);
}

.form-disclaimer {
    font-size: 0.813rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 0.75rem;
}

/* Subpage CTA */
.subpage-cta {
    padding: 5rem 0;
    background: var(--gray-50);
    text-align: center;
}

.subpage-cta-inner {
    max-width: 720px;
    margin: 0 auto;
}

.subpage-cta h2 {
    margin-bottom: 1rem;
}

.subpage-cta p {
    font-size: 1.063rem;
    margin-bottom: 2rem;
}

.subpage-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========  RESPONSIVE ========== */
@media (max-width: 1024px) {
    .story-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

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

    .service-block-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-block-grid.reverse { direction: ltr; }

    .industries-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-header { padding: 7rem 0 3.5rem; }
    .values-grid { grid-template-columns: 1fr; }
    .quote-form { padding: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .subpage-cta-actions { flex-direction: column; }
}
