/*
 * Paisley Crash Repair
 * Stage 11 â€” final UI/UX finishing layer
 *
 * This file intentionally contains small, low-risk refinements only.
 * It does not redesign page-specific layouts.
 */

html{
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
    scroll-behavior:smooth;
}

body{
    overflow-x:clip;
    text-rendering:optimizeLegibility;
}

main,
section,
article,
aside,
header,
footer,
nav{
    min-width:0;
}

img,
video,
iframe,
svg{
    max-width:100%;
}

button,
a,
input,
select,
textarea{
    -webkit-tap-highlight-color:transparent;
}

button,
input,
select,
textarea{
    font:inherit;
}

input,
select,
textarea{
    max-width:100%;
}

button,
[role="button"],
a{
    touch-action:manipulation;
}

a,
button,
input,
select,
textarea,
summary{
    outline-offset:3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible{
    outline:3px solid #ba1200;
    outline-offset:3px;
}

section[id]{
    scroll-margin-top:110px;
}

.pcr-seo-btn,
.pcr-seo-text-link,
.pcr-case-card,
.pcr-testimonial-card,
.pcr-aeo-card,
.pcr-reputation-trustbar a{
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background-color .18s ease,
        color .18s ease,
        opacity .18s ease;
}

@media (hover:hover) and (pointer:fine){
    .pcr-case-card:hover,
    .pcr-testimonial-card:hover,
    .pcr-aeo-card:hover{
        border-color:#c7d4da;
        box-shadow:0 14px 34px rgba(3,25,39,.07);
    }
}

.pcr-testimonial-card blockquote,
.pcr-aeo-card p,
.pcr-case-card p{
    overflow-wrap:anywhere;
}

.pcr-reputation-trustbar a,
.pcr-seo-btn{
    min-height:44px;
}

@media(max-width:760px){
    .pcr-seo-shell{
        width:min(100% - 36px, 1180px);
    }

    .pcr-reputation-head,
    .pcr-accident-intent-head{
        gap:20px;
    }

    .pcr-testimonial-card,
    .pcr-aeo-card{
        padding:20px;
    }
}

@media(max-width:520px){
    .pcr-seo-shell{
        width:min(100% - 28px, 1180px);
    }

    .pcr-reputation-trustbar a{
        padding:15px 16px;
    }
}

@media(prefers-reduced-motion:reduce){
    html{
        scroll-behavior:auto;
    }

    *,
    *::before,
    *::after{
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
        scroll-behavior:auto !important;
    }
}
