/*
 * Shredder2u — Contact Page Styles
 * File: shr-contact-page.css
 * Loaded only on Contact Us page — see functions.php conditional enqueue
 * All rules scoped to .shr-contact-wrap — zero global side effects
 */


.shr-contact-wrap {
    max-width: 100%;
    /* Changed from 1100px to full width */
    margin: 0 auto;
    padding: 0 48px 64px;
    /* Added horizontal padding for full-width screens */
    font-family: inherit;
}

/* ── Contact hero — true full-bleed using 100vw trick ── */
.shr-contact-hero {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
}

/* ── Hero (Hybrid: Conversational Content + Animated Visual) ── */
.shr-contact-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
    /* Increased from 340px */
    background: #1a2332;
    border-radius: 10px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* Left panel — text */
.shr-contact-hero__text {
    padding: 60px 50px;
    /* Increased from 44px 40px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.shr-contact-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-contact-hero__eyebrow {
    font-size: 14px;
    /* Up from 11px */
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #e63946;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.shr-contact-hero__title {
    font-size: 3rem;
    /* Up from 2.2rem */
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 10px;
}

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

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

.shr-contact-hero__convo {
    margin-top: 24px;
    margin-bottom: 28px;
    padding-left: 24px;
    border-left: 2px solid rgba(230, 57, 70, 0.3);
}

.shr-contact-hero__convo p {
    font-size: 1.15rem;
    /* Up from 0.95rem */
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}

.shr-contact-hero__convo p strong {
    color: rgba(255, 255, 255, 0.85);
    font-style: normal;
    font-weight: 600;
}

.shr-contact-hero__meta {
    display: flex;
    gap: 36px;
    /* Up from 28px */
    flex-wrap: wrap;
}

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

.shr-contact-hero__meta-label {
    font-size: 11px;
    /* Up from 9px */
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.shr-contact-hero__meta-value {
    font-size: 1rem;
    /* Up from 0.88rem */
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* Right panel — shredder visual */
.shr-contact-hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

/* Floating strips in background */
.shr-contact-hero__strip {
    position: absolute;
    border-radius: 2px;
    opacity: 0;
    animation: stripFall 3.5s ease-in-out infinite;
}

@keyframes stripFall {
    0% {
        opacity: 0;
        transform: translateY(-40px) rotate(0deg);
    }

    15% {
        opacity: 0.7;
    }

    85% {
        opacity: 0.7;
    }

    100% {
        opacity: 0;
        transform: translateY(320px) rotate(8deg);
    }
}

/* Shredder machine */
.shr-contact-hero__machine {
    position: relative;
    z-index: 2;
    width: 160px;
    /* Scaled up from 140px */
    height: 200px;
    /* Scaled up from 180px */
}

.shr-contact-hero__machine-body {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    /* Scaled up */
    height: 110px;
    /* Scaled up */
    background: linear-gradient(180deg, #2d3e55, #1a2332);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.shr-contact-hero__machine-slot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    /* Scaled up */
    height: 22px;
    /* Scaled up */
    background: linear-gradient(180deg, #e63946, #c0303c);
    border-radius: 4px 4px 0 0;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
}

.shr-contact-hero__machine-slot::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 2px;
}

.shr-contact-hero__machine-bin {
    position: absolute;
    bottom: -45px;
    /* Adjusted */
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    /* Scaled up */
    height: 50px;
    /* Scaled up */
    background: linear-gradient(180deg, #2d3e55, #1a2332);
    border-radius: 0 0 6px 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top: none;
    overflow: hidden;
}

.shr-contact-hero__machine-led {
    position: absolute;
    top: 32px;
    left: 20px;
    width: 7px;
    height: 7px;
    background: #e63946;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(230, 57, 70, 0.6);
    animation: ledPulse 2s ease-in-out infinite;
}

@keyframes ledPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(230, 57, 70, 0.6);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 4px rgba(230, 57, 70, 0.3);
    }
}

.shr-contact-hero__machine-vent {
    position: absolute;
    top: 28px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shr-contact-hero__machine-vent span {
    display: block;
    width: 26px;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1px;
}

/* Paper going in */
.shr-contact-hero__paper-in {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    /* Scaled up */
    height: 64px;
    /* Scaled up */
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: paperFeed 2.8s ease-in-out infinite;
    z-index: 3;
}

.shr-contact-hero__paper-in::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 7px;
    right: 7px;
    height: 2px;
    background: #dde1e7;
    border-radius: 1px;
    box-shadow: 0 7px 0 #dde1e7, 0 14px 0 #dde1e7, 0 21px 0 #dde1e7;
}

@keyframes paperFeed {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    60% {
        transform: translateX(-50%) translateY(16px);
        opacity: 1;
    }

    80% {
        transform: translateX(-50%) translateY(16px);
        opacity: 0;
    }

    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0;
    }
}

/* Strips coming out */
.shr-contact-hero__out-strip {
    position: absolute;
    bottom: 4px;
    border-radius: 1px;
    animation: stripOut 2.2s ease-in infinite;
}

@keyframes stripOut {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    30% {
        transform: scaleY(1);
        transform-origin: top;
    }

    100% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 0.6;
    }
}


/* ── Cards ──────────────────────────────────────────────────── */
.shr-contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    /* Up from 16px */
    margin-bottom: 44px;
    /* Up from 36px */
}

.shr-contact-card {
    background: #fff;
    border: 1px solid #e8eaed;
    border-top-width: 3px;
    border-radius: 10px;
    padding: 28px 20px 24px;
    /* Up from 22px 16px 18px */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    /* Up from 10px */
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.shr-contact-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
    transform: translateY(-3px);
}

.shr-contact-card--red {
    border-top-color: #e63946;
}

.shr-contact-card--teal {
    border-top-color: #0f7173;
}

.shr-contact-card--amber {
    border-top-color: #d4870a;
}

.shr-contact-card--green {
    border-top-color: #2d6a4f;
}

.shr-contact-card__shredder {
    width: 64px;
    height: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.shr-contact-card__label {
    font-size: 12px;
    /* Up from 10px */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #888;
}

.shr-contact-card__title {
    font-size: 1.15rem;
    /* Up from 0.92rem */
    font-weight: 800;
    color: #1a2332;
    margin: 0;
}

.shr-contact-card__lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* Up from 3px */
    width: 100%;
}

.shr-contact-card__lines a,
.shr-contact-card__lines span {
    font-size: 1rem;
    /* Up from 0.82rem */
    font-weight: 600;
    color: #1a2332;
    text-decoration: none;
    display: block;
    line-height: 1.5;
}

.shr-contact-card__lines a:hover {
    color: #e63946;
    text-decoration: underline;
}

.shr-contact-card__note {
    font-size: 0.9rem;
    /* Up from 0.75rem */
    color: #999;
}

/* ── Main two-column ────────────────────────────────────────── */
.shr-contact-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    /* Up from 32px */
    margin-bottom: 44px;
    /* Up from 36px */
    align-items: start;
}

.shr-contact-section-title {
    font-size: 1.4rem;
    /* Up from 1.1rem */
    font-weight: 800;
    color: #1a2332;
    margin: 0 0 24px;
    /* Up from 20px */
    padding-bottom: 12px;
    /* Up from 10px */
    border-bottom: 2px solid #e8eaed;
}

.shr-contact-address__detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* Up from 4px */
    margin-bottom: 24px;
    /* Up from 20px */
}

.shr-contact-address__label {
    font-size: 12px;
    /* Up from 10px */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #888;
    margin-bottom: 6px;
    /* Up from 4px */
}

.shr-contact-address address {
    font-style: normal;
    font-size: 1.1rem;
    /* Up from 0.95rem */
    color: #333;
    line-height: 1.7;
}

.shr-contact-directions-btn {
    display: inline-block;
    width: fit-content;
    /* Added this line to shrink-wrap the text */
    margin-top: 14px;
    padding: 10px 22px;
    background: #1a2332;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.shr-contact-directions-btn:hover {
    background: #e63946;
    color: #fff;
}

.shr-contact-map {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8eaed;
    margin-top: 20px;
    /* Up from 16px */
}

.shr-contact-map iframe {
    display: block;
}

.shr-contact-form-intro {
    font-size: 1.05rem;
    /* Up from 0.88rem */
    color: #666;
    margin-bottom: 24px;
    /* Up from 20px */
    line-height: 1.6;
}

/* Ninja Forms overrides — scoped to contact column only */
.shr-contact-form-col .nf-form-cont .nf-field-label label {
    font-size: 1rem !important;
    /* Up from 0.85rem */
    font-weight: 600 !important;
    color: #444 !important;
}

.shr-contact-form-col .nf-form-cont input[type="text"],
.shr-contact-form-col .nf-form-cont input[type="email"],
.shr-contact-form-col .nf-form-cont input[type="tel"],
.shr-contact-form-col .nf-form-cont textarea,
.shr-contact-form-col .nf-form-cont select {
    border: 1px solid #dde1e7 !important;
    border-radius: 5px !important;
    padding: 14px 16px !important;
    /* Up from 10px 12px */
    font-size: 1.05rem !important;
    /* Up from 0.9rem */
    background: #fafafa !important;
    transition: border-color 0.2s !important;
}

.shr-contact-form-col .nf-form-cont input[type="text"]:focus,
.shr-contact-form-col .nf-form-cont input[type="email"]:focus,
.shr-contact-form-col .nf-form-cont textarea:focus {
    border-color: #1a2332 !important;
    outline: none !important;
    background: #fff !important;
}

.shr-contact-form-col .nf-submit button {
    background: #e63946 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 14px 32px !important;
    /* Up from 12px 28px */
    font-size: 1.05rem !important;
    /* Up from 0.92rem */
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.shr-contact-form-col .nf-submit button:hover {
    background: #c0303c !important;
}

/* ── Trust strip ────────────────────────────────────────────── */
.shr-contact-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #e8eaed;
    border-radius: 8px;
    overflow: hidden;
    background: #f6f8fa;
}

.shr-contact-trust__item {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Up from 10px */
    padding: 20px 24px;
    /* Up from 16px 18px */
    font-size: 1rem;
    /* Up from 0.82rem */
    color: #444;
    font-weight: 500;
    border-right: 1px solid #e8eaed;
    line-height: 1.4;
}

.shr-contact-trust__item:last-child {
    border-right: none;
}

.shr-contact-trust__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Up from 1.2rem */

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .shr-contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .shr-contact-trust__item:nth-child(2) {
        border-right: none;
    }

    .shr-contact-trust__item:nth-child(3),
    .shr-contact-trust__item:nth-child(4) {
        border-top: 1px solid #e8eaed;
    }
}

@media (max-width: 768px) {
    .shr-contact-wrap {
        padding: 0 24px 48px;
        /* Make content wider on tablets */
    }

    .shr-contact-hero {
        grid-template-columns: 1fr;
    }

    .shr-contact-hero__visual {
        min-height: 260px;
    }

    .shr-contact-hero__text {
        padding: 40px 28px;
    }

    .shr-contact-hero__text::after {
        display: none;
    }

    .shr-contact-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .shr-contact-wrap {
        padding: 0 16px 40px;
        /* Make content wider on phones */
    }

    .shr-contact-hero {
        width: 100vw !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .shr-contact-hero__title {
        font-size: 2rem;
    }

    .shr-contact-cards {
        grid-template-columns: 1fr;
        /* Changed from 1fr 1fr to 1fr */
        gap: 16px;
    }

    .shr-contact-trust {
        grid-template-columns: 1fr;
    }

    .shr-contact-trust__item {
        border-right: none;
        border-top: 1px solid #e8eaed;
    }

    .shr-contact-trust__item:first-child {
        border-top: none;
    }
}

/* Hide WordPress built-in page title on contact page */
.contact-us .entry-title,
.page-id-1353 .entry-title {
    display: none;
}

/* Force true full width on contact page */
.page-template-page-full-width-php .entry-content {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Hide empty sidebar and stretch content full width */
.page-id-1353 #secondary,
.page-id-1353 .widget-area {
    display: none !important;
}

.page-id-1353 #primary,
.page-id-1353 .content-area {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}