/*
 * Shredder2u — About Us Page Styles
 * File: shr-aboutus-page.css
 * Loaded only on About Us page — see functions.php conditional enqueue
 * All rules scoped to .shr-about-wrap — zero global side effects
 *
 * Design tokens: Primary dark: #1a2332 | Accent red: #e63946 | Navy: #111d2e
 */

/* =============================================================
   BASE
   ============================================================= */

.shr-about-wrap * {
    box-sizing: border-box;
}

.shr-about-wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 48px 64px;
    font-family: inherit;
}

/* Kill the gap between navbar and hero, hide default WP title */
.about-us .entry-title,
.page-id-8347 .entry-title {
    display: none !important;
}

.about-us .entry-content,
.page-id-8347 .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* =============================================================
   HERO — full-bleed, 2-col grid
   ============================================================= */

.shr-about-hero {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    min-height: 380px;
    background: linear-gradient(135deg, #111d2e 0%, #1a2e45 50%, #0f1923 100%);
    overflow: hidden;
    position: relative !important;
    margin-left: calc(-5vw - 48px) !important;
    margin-right: calc(-5vw - 48px) !important;
    margin-top: 0 !important;
    margin-bottom: 40px;
    border-radius: 0;
}

/* Dot-grid texture */
.shr-about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    z-index: 0;
}

/* Red glow line at bottom */
.shr-about-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 5%, #e63946 35%, #e63946 65%, transparent 95%);
    z-index: 1;
}

/* Left text panel */
.shr-about-hero__text {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding: 60px 50px 60px 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.shr-about-hero__text::after {
    content: '';
    position: absolute;
    right: 0;
    top: 12%;
    height: 76%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(230, 57, 70, 0.35), transparent);
}

.shr-about-hero__eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #e63946;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.shr-about-hero__eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: #e63946;
    flex-shrink: 0;
}

.shr-about-hero__title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 20px;
}

.shr-about-hero__title .highlight {
    color: #e63946;
    position: relative;
}

.shr-about-hero__title .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 3px;
    background: #e63946;
    opacity: 0.3;
    border-radius: 2px;
}

.shr-about-hero__body {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    margin: 0 0 28px;
    max-width: 480px;
}

.shr-about-hero__meta {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.shr-about-hero__meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shr-about-hero__meta-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.shr-about-hero__meta-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

/* Right visual panel */
.shr-about-hero__visual {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 40px 40px 20px;
    z-index: 2;
}

.shr-about-hero__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(230, 57, 70, 0.07), transparent),
        radial-gradient(ellipse 40% 80% at 80% 20%, rgba(15, 113, 115, 0.05), transparent);
}

/* Timeline inside visual panel */
.shr-about-timeline {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 320px;
}

.shr-about-timeline__item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    position: relative;
    padding-bottom: 24px;
}

.shr-about-timeline__item:last-child {
    padding-bottom: 0;
}

.shr-about-timeline__left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 36px;
}

.shr-about-timeline__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e63946;
    border: 2px solid rgba(230, 57, 70, 0.4);
    box-shadow: 0 0 8px rgba(230, 57, 70, 0.4);
    flex-shrink: 0;
    margin-top: 4px;
}

.shr-about-timeline__line {
    width: 1px;
    flex: 1;
    min-height: 28px;
    background: linear-gradient(to bottom, rgba(230, 57, 70, 0.4), rgba(230, 57, 70, 0.1));
    margin-top: 4px;
}

.shr-about-timeline__item:last-child .shr-about-timeline__line {
    display: none;
}

.shr-about-timeline__year {
    font-size: 0.75rem;
    font-weight: 800;
    color: #e63946;
    letter-spacing: 0.05em;
    margin-bottom: 3px;
    line-height: 1;
}

.shr-about-timeline__desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.5;
    margin: 0;
}

/* =============================================================
   STATS BAR
   ============================================================= */

.shr-about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 48px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

.shr-about-stat {
    flex: 1 1 0;
    padding: 24px 16px;
    text-align: center;
    border-right: 1px solid #e8edf2;
    min-width: 110px;
}

.shr-about-stat:last-child {
    border-right: none;
}

.shr-about-stat__number {
    font-size: 2rem;
    font-weight: 800;
    color: #e63946;
    line-height: 1;
    display: block;
    margin-bottom: 6px;
}

.shr-about-stat__label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
}

/* =============================================================
   SECTION HEADING (reusable component)
   ============================================================= */

.shr-about-section-heading {
    margin-bottom: 32px;
}

.shr-about-section-heading--center {
    text-align: center;
}

.shr-about-section-heading__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e63946;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shr-about-section-heading--center .shr-about-section-heading__eyebrow {
    justify-content: center;
}

.shr-about-section-heading__eyebrow::before,
.shr-about-section-heading__eyebrow::after {
    content: '';
    display: block;
    height: 1px;
    width: 24px;
    background: #e63946;
    flex-shrink: 0;
}

/* Hide the after-line by default; show on centered headings only */
.shr-about-section-heading__eyebrow::after {
    display: none;
}

.shr-about-section-heading--center .shr-about-section-heading__eyebrow::after {
    display: block;
}

.shr-about-section-heading h2 {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #111d2e !important;
    margin: 0 0 10px !important;
    line-height: 1.3 !important;
}

.shr-about-section-heading p {
    font-size: 0.97rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
    max-width: 580px;
}

.shr-about-section-heading--center p {
    margin: 0 auto;
}

/* =============================================================
   OUR STORY — 2-col text + values
   ============================================================= */

.shr-about-story {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 56px;
    align-items: start;
    margin-bottom: 56px;
    padding: 40px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e8edf2;
}

.shr-about-story .shr-about-section-heading {
    text-align: left !important;
}

.shr-about-story .shr-about-sec-eyebrow {
    justify-content: flex-start !important;
}

.shr-about-story__text {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

.shr-about-story__text p {
    font-size: 1rem;
    color: #374151;
    line-height: 1.85;
    margin-bottom: 18px;
}

.shr-about-story__text p:last-child {
    margin-bottom: 0;
}

.shr-about-story__text strong {
    color: #111d2e;
    font-weight: 700;
}

/* Values list */
.shr-about-values {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.shr-about-value {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8edf2;
    border-left: 3px solid #e63946;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s, transform 0.2s;
}

.shr-about-value:hover {
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.1);
    transform: translateX(3px);
}

.shr-about-value__icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fff0f1, #ffe0e2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(230, 57, 70, 0.15);
}

.shr-about-value__content h4 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #111d2e !important;
    margin: 0 0 4px !important;
}

.shr-about-value__content p {
    font-size: 0.86rem !important;
    color: #6b7280 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* =============================================================
   WHAT WE DO — 3-col service cards
   ============================================================= */

.shr-about-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 56px;
}

.shr-about-service-card {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 10px;
    padding: 28px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.shr-about-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e63946, #c1121f);
}

.shr-about-service-card:hover {
    box-shadow: 0 8px 28px rgba(230, 57, 70, 0.12);
    border-color: #e63946;
    transform: translateY(-3px);
}

.shr-about-service-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff0f1, #ffe0e2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    border: 1px solid rgba(230, 57, 70, 0.15);
}

.shr-about-service-card h3 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #111d2e !important;
    margin: 0 0 10px !important;
}

.shr-about-service-card p {
    font-size: 0.9rem !important;
    color: #4b5563 !important;
    line-height: 1.75 !important;
    margin: 0 !important;
}

/* =============================================================
   PORTFOLIO — 4-col grid
   ============================================================= */

.shr-about-portfolio {
    margin-bottom: 56px;
}

.shr-about-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.shr-about-portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #1a2332;
    border: 1px solid #e8edf2;
}

.shr-about-portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.shr-about-portfolio-item:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}

.shr-about-portfolio-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 29, 46, 0.85) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 14px;
}

.shr-about-portfolio-item:hover .shr-about-portfolio-item__overlay {
    opacity: 1;
}

.shr-about-portfolio-item__label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

/* =============================================================
   REPAIR & SERVICE — dark panel
   ============================================================= */

.shr-about-repair {
    background: linear-gradient(135deg, #111d2e 0%, #1a2e45 60%, #0f1923 100%);
    border-radius: 12px;
    padding: 48px 44px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.shr-about-repair::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.shr-about-repair::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 5%, #e63946 35%, #e63946 65%, transparent 95%);
}

.shr-about-repair__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.shr-about-repair__header-text .shr-about-section-heading__eyebrow {
    color: #e63946;
}

.shr-about-repair__header-text h2 {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 !important;
}

.shr-about-repair__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #e63946;
    white-space: nowrap;
}

.shr-about-repair-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    position: relative;
    z-index: 2;
}

.shr-about-repair-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #0f1923;
    position: relative;
}

.shr-about-repair-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
    opacity: 0.85;
}

.shr-about-repair-item:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.shr-about-repair-item__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 18, 25, 0.92) 0%, transparent 100%);
    padding: 14px 12px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
}

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

.shr-about-cta {
    background: linear-gradient(135deg, #e63946, #ad0712);
    border-radius: 10px;
    padding: 44px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 8px;
}

.shr-about-cta__text h3 {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 8px !important;
}

.shr-about-cta__text p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

.shr-about-cta__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.shr-about-btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s;
    white-space: nowrap;
}

.shr-about-btn--white {
    background: #fff;
    color: #e63946 !important;
    border: 2px solid #fff;
}

.shr-about-btn--white:hover {
    background: transparent;
    color: #fff !important;
}

.shr-about-btn--outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.shr-about-btn--outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* =============================================================
   RESPONSIVE — Tablet (≤ 900px)
   ============================================================= */

@media (max-width: 900px) {
    .shr-about-hero {
        grid-template-columns: 1fr !important;
    }

    .shr-about-hero__visual {
        display: none;
    }



    .shr-about-story {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

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

    .shr-about-portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

/* =============================================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================================= */

@media (max-width: 768px) {
    .shr-about-wrap {
        padding: 0 16px 48px;
    }

    .shr-about-hero {
        margin-left: calc(-5vw - 16px) !important;
        margin-right: calc(-5vw - 16px) !important;
    }

    .shr-about-hero__visual {
        display: none !important;
    }

    .shr-about-story {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 24px 18px !important;
    }

    .shr-about-story__text {
        grid-row: 1 !important;
    }

    .shr-about-values {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    .shr-about-value {
        padding: 14px !important;
    }

    .shr-about-value__content h4 {
        font-size: 0.95rem !important;
    }

    .shr-about-value__content p {
        font-size: 0.85rem !important;
    }
}

/* =============================================================
   RESPONSIVE — Small Mobile (≤ 600px)
   ============================================================= */

@media (max-width: 600px) {
    .shr-about-stats {
        flex-wrap: wrap !important;
        border: 0.5px solid #e8edf2 !important;
        border-radius: 10px !important;
    }

    .shr-about-stat {
        flex: 1 1 45% !important;
        border-right: none !important;
        border-bottom: 0.5px solid #e8edf2 !important;
    }

    .shr-about-stat:nth-child(odd) {
        border-right: 0.5px solid #e8edf2 !important;
    }

    .shr-about-stat:last-child {
        border-bottom: 0.5px solid #e8edf2 !important;
    }

    .shr-about-hero__text {
        padding: 40px 28px 0px 30px;
    }
}