/*
Theme Name: Finish Line Auto Body
Theme URI: https://finishlineautobody.net/
Author: Finish Line Auto Body
Description: Custom responsive WordPress theme for Finish Line Auto Body, featuring all seven Pennsylvania locations, collision repair services, and a dedicated locations page.
Version: 1.0.0
Text Domain: finishline-autobody
*/

:root{
  --red:#e31b23;
  --red-dark:#b90f16;
  --ink:#111317;
  --charcoal:#20242a;
  --muted:#626a73;
  --line:#e7e9ec;
  --paper:#ffffff;
  --soft:#f6f7f8;
  --radius:18px;
  --shadow:0 18px 50px rgba(17,19,23,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.container{width:min(1180px,calc(100% - 40px));margin:0 auto}
.skip-link{position:absolute;left:-9999px;top:auto}.skip-link:focus{left:20px;top:20px;background:#fff;padding:10px 14px;z-index:9999}
.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(17,19,23,.08)}
.header-row{min-height:86px;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;min-width:240px;max-width:330px}
.brand img{display:block;width:100%;max-height:68px;object-fit:contain}
.site-nav{margin-left:auto;display:flex;align-items:center;gap:26px;font-weight:800;font-size:.96rem}
.site-nav a{position:relative;padding:28px 0}.site-nav a:after{content:"";position:absolute;height:3px;left:0;right:100%;bottom:18px;background:var(--red);transition:.2s}.site-nav a:hover:after,.site-nav .current-menu-item>a:after{right:0}
.header-cta{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--red);color:#fff;padding:12px 18px;font-weight:900;box-shadow:0 10px 24px rgba(227,27,35,.22)}
.mobile-toggle{display:none;margin-left:auto;border:0;background:transparent;font-size:28px;cursor:pointer}
.hero{position:relative;overflow:hidden;background:linear-gradient(125deg,#0f1114 0%,#191d22 60%,#2a2f35 100%);color:#fff}
.hero:before,.hero:after{content:"";position:absolute;inset:auto;transform:rotate(-8deg);background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.03)}
.hero:before{width:620px;height:210px;right:-160px;top:40px}.hero:after{width:520px;height:170px;right:50px;bottom:-80px}
.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.08fr .92fr;gap:64px;align-items:center;min-height:650px;padding:72px 0}
.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--red);font-size:.78rem;font-weight:1000;text-transform:uppercase;letter-spacing:.16em}.eyebrow:before{content:"";width:34px;height:3px;background:currentColor}
.hero h1{font-size:clamp(3rem,6vw,6rem);line-height:.95;letter-spacing:-.055em;margin:20px 0 24px;max-width:760px}.hero h1 span{color:var(--red)}
.hero p{font-size:1.16rem;color:#d7dbe0;max-width:680px;margin:0 0 32px}
.actions{display:flex;flex-wrap:wrap;gap:14px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:999px;padding:14px 22px;font-weight:950;border:2px solid transparent;transition:.2s}.btn-primary{background:var(--red);color:#fff}.btn-primary:hover{background:var(--red-dark);transform:translateY(-1px)}.btn-light{border-color:rgba(255,255,255,.35);color:#fff}.btn-light:hover{background:#fff;color:var(--ink)}
.hero-card{background:#fff;color:var(--ink);padding:28px;border-radius:26px;box-shadow:0 28px 80px rgba(0,0,0,.28);position:relative}.hero-card:before{content:"";position:absolute;left:0;top:24px;bottom:24px;width:5px;border-radius:5px;background:var(--red)}
.hero-card h3{margin:0 0 8px;font-size:1.45rem}.hero-card p{color:var(--muted);font-size:.98rem;margin:0 0 20px}
.hero-stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.hero-stat{background:var(--soft);border-radius:16px;padding:18px}.hero-stat strong{display:block;font-size:1.7rem;line-height:1;color:var(--red)}.hero-stat-long strong{font-size:1.2rem;line-height:1.12}.hero-stat span{font-size:.85rem;color:var(--muted);font-weight:800}
.trust-strip{border-bottom:1px solid var(--line);background:#fff}.trust-row{min-height:92px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;text-align:center}.trust-row div{padding:18px;border-right:1px solid var(--line);font-weight:900}.trust-row div:last-child{border-right:0}.trust-row small{display:block;color:var(--muted);font-weight:700;margin-top:3px}
.section{padding:90px 0}.section.soft{background:var(--soft)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:38px}.section-head h2{font-size:clamp(2.2rem,4vw,4rem);line-height:1;margin:10px 0 0;letter-spacing:-.045em}.section-head p{max-width:590px;color:var(--muted);margin:0}
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.service-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;min-height:215px;transition:.2s}.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:transparent}.service-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:rgba(227,27,35,.09);color:var(--red);font-weight:1000;font-size:1.25rem;margin-bottom:24px}.service-card h3{margin:0 0 8px;font-size:1.12rem}.service-card p{margin:0;color:var(--muted);font-size:.94rem}
.credentials-section{padding-top:0}.credentials-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:20px}.estimate-card,.certification-card{border-radius:26px;padding:42px}.estimate-card{background:var(--red);color:#fff}.estimate-card .eyebrow{color:#fff}.estimate-card h2,.certification-card h2{font-size:clamp(2rem,3.5vw,3.4rem);line-height:1;margin:14px 0 16px;letter-spacing:-.04em}.estimate-card p,.certification-card p{font-size:1.04rem;line-height:1.7;margin:0 0 25px}.estimate-card p{color:#ffe5e7}.estimate-card .btn{background:#fff;color:var(--ink)}.certification-card{background:var(--ink);color:#fff}.certification-card p{color:#cbd0d6;max-width:720px}
.location-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.location-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;min-height:295px}.location-card-top{height:8px;background:linear-gradient(90deg,var(--red),#ff4c53)}.location-card-body{padding:26px;display:flex;flex-direction:column;flex:1}.location-city{font-size:1.45rem;font-weight:1000;letter-spacing:-.025em;margin-bottom:7px}.location-address,.location-phone{color:var(--muted)}.location-phone{font-weight:900;margin-top:10px}.location-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:24px}.mini-btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;padding:10px 13px;border-radius:999px;font-size:.82rem;font-weight:950;background:var(--soft);border:1px solid var(--line)}.mini-btn.red{background:var(--red);color:#fff;border-color:var(--red)}.mini-btn.schedule{width:100%;background:var(--ink);color:#fff;border-color:var(--ink)}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.about-panel{background:var(--ink);color:#fff;border-radius:28px;padding:48px;position:relative;overflow:hidden}.about-panel:after{content:"";position:absolute;width:220px;height:220px;border:35px solid rgba(227,27,35,.26);border-radius:50%;right:-80px;bottom:-90px}.checklist{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px}.check{font-weight:800}.check:before{content:"✓";display:inline-grid;place-items:center;width:24px;height:24px;margin-right:9px;border-radius:50%;background:rgba(227,27,35,.15);color:var(--red);font-weight:1000}
.cta-band{background:var(--red);color:#fff;border-radius:28px;padding:46px 48px;display:flex;align-items:center;justify-content:space-between;gap:30px}.cta-band h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1;margin:0 0 8px;letter-spacing:-.04em}.cta-band p{margin:0;color:#ffe5e7}.cta-band .btn{background:#fff;color:var(--ink)}
.page-hero{background:var(--ink);color:#fff;padding:82px 0 68px}.page-hero h1{font-size:clamp(2.8rem,5vw,5rem);line-height:1;margin:12px 0 16px;letter-spacing:-.05em}.page-hero p{max-width:720px;color:#d3d7dc;font-size:1.08rem}
.locations-page .location-grid{grid-template-columns:repeat(2,1fr)}.locations-page .location-card{min-height:285px}.google-rating,.carwise-rating{display:flex;align-items:center;gap:10px;width:max-content;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--soft);font-size:.9rem}.google-rating{margin-top:16px}.carwise-rating{margin-top:8px}.google-rating:hover{border-color:#fbbc04;background:#fff}.carwise-rating:hover{border-color:var(--red);background:#fff}.rating-star{display:inline-block;color:#fbbc04;font-size:1.25rem;line-height:1;margin-right:2px}.google-rating strong,.carwise-rating strong{font-size:1.05rem}.rating-label{display:inline-block;margin-left:4px}.map-link{display:inline-flex;align-items:center;gap:6px;color:var(--red);font-weight:950}
.content-wrap{padding:70px 0}.entry-content{max-width:850px;margin:0 auto}.entry-content h1,.entry-content h2,.entry-content h3{line-height:1.1}.entry-content a{color:var(--red);text-decoration:underline}
.site-footer{background:#0f1114;color:#fff;padding:58px 0 22px}.footer-grid{display:grid;grid-template-columns:1.4fr .8fr 1fr;gap:50px}.footer-logo{max-width:300px;margin-bottom:18px}.site-footer p,.site-footer li{color:#b8bec6}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:8px 0}.site-footer h4{margin:0 0 14px}.footer-bottom{margin-top:42px;padding-top:20px;border-top:1px solid rgba(255,255,255,.11);display:flex;justify-content:space-between;gap:20px;color:#9ea5ae;font-size:.88rem}
@media(max-width:980px){.site-nav,.header-cta{display:none}.mobile-toggle{display:block}.site-nav.open{display:flex;position:absolute;left:0;right:0;top:86px;background:#fff;flex-direction:column;align-items:stretch;gap:0;border-top:1px solid var(--line);box-shadow:0 15px 30px rgba(0,0,0,.08)}.site-nav.open a{padding:16px 24px;border-bottom:1px solid var(--line)}.site-nav.open a:after{display:none}.hero-grid{grid-template-columns:1fr;gap:34px;min-height:auto}.hero-card{max-width:620px}.service-grid{grid-template-columns:repeat(2,1fr)}.credentials-grid{grid-template-columns:1fr}.location-grid,.locations-page .location-grid{grid-template-columns:repeat(2,1fr)}.about-grid{grid-template-columns:1fr}.trust-row{grid-template-columns:repeat(2,1fr)}.trust-row div:nth-child(2){border-right:0}.trust-row div:nth-child(-n+2){border-bottom:1px solid var(--line)}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:680px){.container{width:min(100% - 28px,1180px)}.header-row{min-height:76px}.brand{max-width:230px;min-width:0}.site-nav.open{top:76px}.hero-grid{padding:54px 0}.hero h1{font-size:3.2rem}.hero-stat-grid{grid-template-columns:1fr 1fr}.section{padding:64px 0}.section-head{display:block}.section-head p{margin-top:18px}.service-grid,.location-grid,.locations-page .location-grid{grid-template-columns:1fr}.estimate-card,.certification-card{padding:32px 26px}.trust-row{grid-template-columns:1fr}.trust-row div{border-right:0;border-bottom:1px solid var(--line)!important}.trust-row div:last-child{border-bottom:0!important}.checklist{grid-template-columns:1fr}.cta-band{padding:34px 28px;display:block}.cta-band .actions{margin-top:24px}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}.footer-bottom{display:block}.footer-bottom div+div{margin-top:8px}}
