/*
Theme Name: MK Auto Recovery
Theme URI: https://mkautorecovery786.co.uk/
Author: MK Auto Recovery
Description: Editable one-page WordPress theme for MK Auto Recovery, Edinburgh.
Version: 1.0.0
Text Domain: mk-auto-recovery
*/
:root{
  --mk-red:#1597ff;
  --mk-red-dark:#0867b8;
  --mk-black:#080808;
  --mk-charcoal:#151515;
  --mk-white:#fff;
  --mk-grey:#cfcfcf;
  --mk-gold:#ff9d00;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--mk-black);color:var(--mk-white);font-family:Arial,Helvetica,sans-serif;line-height:1.55}
a{color:inherit}
img{max-width:100%;display:block}
.container{width:min(1180px,92%);margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(0,0,0,.92);border-bottom:1px solid rgba(255,255,255,.08)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px}
.brand{font-weight:900;font-size:1.35rem;text-decoration:none;letter-spacing:.02em}
.brand span{color:var(--mk-red)}
.nav{display:flex;gap:24px;align-items:center}
.nav a{text-decoration:none;font-weight:700;font-size:.96rem}
.call-btn,.hero-buttons a,.contact-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:var(--mk-red);color:white;font-weight:900;padding:14px 22px;border-radius:9px;box-shadow:0 8px 24px rgba(21,151,255,.22)}
.call-btn:hover,.hero-buttons a:hover,.contact-btn:hover{background:var(--mk-red-dark)}
.mobile-menu{display:none}
.hero{position:relative;min-height:620px;background-size:cover;background-position:center;display:flex;align-items:center}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.66) 44%,rgba(0,0,0,.18) 100%)}
.hero-content{position:relative;z-index:2;max-width:700px;padding:80px 0}
.eyebrow{font-size:.92rem;text-transform:uppercase;letter-spacing:.16em;color:#45b8ff;font-weight:900}
.hero h1{font-size:clamp(2.5rem,6vw,5.2rem);line-height:.98;margin:12px 0 22px;font-weight:950}
.hero h1 span{color:var(--mk-red)}
.hero p{font-size:1.18rem;color:#ececec;max-width:650px}
.hero-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;margin:26px 0 30px;padding:0;list-style:none}
.hero-points li:before{content:"✓";color:var(--mk-red);font-weight:900;margin-right:9px}
.hero-buttons{display:flex;flex-wrap:wrap;gap:12px}
.hero-buttons .secondary{background:transparent;border:2px solid white}
.section{padding:78px 0}
.section.alt{background:#101010}
.section-title{text-align:center;margin-bottom:42px}
.section-title .eyebrow{display:block}
.section-title h2{font-size:clamp(2rem,4vw,3.2rem);margin:7px 0 8px}
.section-title p{color:#bbb;max-width:720px;margin:0 auto}
.services-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.service-card{background:#161616;border:1px solid #292929;border-radius:14px;overflow:hidden;box-shadow:0 14px 35px rgba(0,0,0,.24)}
.service-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.service-body{padding:21px}
.service-body h3{margin:0 0 10px;font-size:1.2rem}
.service-body p{margin:0;color:#bdbdbd;font-size:.96rem}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.why-card{background:#171717;border-left:4px solid var(--mk-red);padding:26px;border-radius:10px}
.why-card strong{display:block;font-size:1.15rem;margin-bottom:6px}
.coverage{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center}
.coverage-list{columns:2;gap:28px;padding-left:20px;color:#ddd}
.coverage-panel{background:linear-gradient(145deg,#1b1b1b,#0b0b0b);border:1px solid #2b2b2b;border-radius:16px;padding:34px}
.contact{background:linear-gradient(120deg,#061a33,#1597ff);padding:60px 0}
.contact-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}
.contact h2{margin:0 0 8px;font-size:clamp(2rem,4vw,3.2rem)}
.contact p{margin:0;color:#fff}
.contact-btn{background:#000;white-space:nowrap}
.site-footer{padding:34px 0;background:#050505;color:#aaa}
.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.footer-inner strong{color:white}
@media(max-width:1020px){
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .header-inner{min-height:68px}
  .nav{display:none}
  .mobile-menu{display:block;font-size:.9rem;color:#aaa}
  .hero{min-height:590px;background-position:62% center}
  .hero:before{background:rgba(0,0,0,.72)}
  .hero-content{padding:64px 0}
  .hero-points{grid-template-columns:1fr}
  .services-grid,.why-grid,.coverage{grid-template-columns:1fr}
  .coverage-list{columns:1}
  .contact-inner{align-items:flex-start;flex-direction:column}
}

.review-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.outline-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:2px solid #fff;color:#fff;font-weight:900;padding:12px 20px;border-radius:9px}
.whatsapp-float{position:fixed;right:18px;bottom:18px;z-index:99;display:flex;gap:9px;align-items:center;background:#25D366;color:#fff;text-decoration:none;font-weight:900;padding:14px 18px;border-radius:999px;box-shadow:0 8px 28px rgba(0,0,0,.38)}
.wa-icon{font-size:1.1rem}
@media(max-width:760px){.whatsapp-float{right:12px;bottom:12px;padding:13px 16px}}

.top-strip{background:#050505;border-bottom:1px solid #2a2a2a;font-size:.88rem}
.top-strip-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.top-strip a{text-decoration:none;color:#45b8ff}
.header-call{white-space:nowrap}
.service-detail{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center;margin:0 0 34px;background:#121212;border:1px solid #282828;border-radius:18px;overflow:hidden}
.service-detail.reverse img{order:2}
.service-detail img{width:100%;height:100%;min-height:340px;object-fit:cover}
.service-detail>div{padding:38px}
.service-detail h3{font-size:clamp(1.7rem,3vw,2.5rem);margin:0 0 14px}
.service-detail p{color:#c9c9c9}
.buy-car-section{background:linear-gradient(135deg,#06101f,#071d38)}
.buy-car-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:34px;align-items:center}
.buy-car-section h2{font-size:clamp(2.2rem,5vw,4rem);margin:8px 0 12px}
.buy-lead{font-size:1.14rem;color:#e5e5e5}
.guarantee{font-size:clamp(1.5rem,3vw,2.3rem);color:#45b8ff;margin:20px 0 10px}
.buy-points{padding-left:20px;color:#ddd}
.buy-card{background:#080808;border:1px solid #333;border-radius:16px;padding:30px;box-shadow:0 18px 40px rgba(0,0,0,.28)}
.smallprint{display:block;margin-top:18px;color:#aaa}
.map-wrap{overflow:hidden;border-radius:16px;border:1px solid #2b2b2b;background:#111}
.map-actions{margin-top:20px}
@media(max-width:900px){
  .top-strip-inner{justify-content:center;flex-wrap:wrap;padding:7px 0}
  .top-strip-inner span:nth-child(2){display:none}
  .header-call{padding:10px 13px;font-size:.82rem}
  .service-detail,.service-detail.reverse,.buy-car-grid{grid-template-columns:1fr}
  .service-detail.reverse img{order:0}
  .service-detail img{min-height:260px}
}

.faq-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.faq-item{background:#151515;border:1px solid #2b2b2b;border-radius:14px;padding:25px}
.faq-item h3{margin:0 0 10px;font-size:1.15rem}
.faq-item p{margin:0;color:#c8c8c8}
@media(max-width:760px){.faq-grid{grid-template-columns:1fr}}

.trust-strip{background:#fff;color:#111;border-bottom:1px solid #ddd}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#ddd}
.trust-grid>div{background:#fff;padding:18px;text-align:center}
.trust-grid strong{display:block;color:#1597ff;font-size:1.25rem}
.trust-grid span{font-size:.9rem}
@media(max-width:760px){.trust-grid{grid-template-columns:repeat(2,1fr)}}
/* V10 SEO navigation: compact, crawlable internal links without changing the design */
.service-links{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:14px}.service-links a{font-size:.88rem;text-decoration:none;border:1px solid #333;border-radius:999px;padding:7px 11px;color:inherit}.service-links a:hover{text-decoration:underline}

.areas-section{background:#0d0d0d}
.areas-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:26px}
.area-item{background:#171717;border:1px solid #303030;border-radius:12px;padding:18px 20px;font-weight:800;font-size:1.05rem;text-align:center}
.area-item:before{content:"✓";margin-right:8px;color:#1597ff;font-weight:900}
.areas-note{text-align:center;color:#bdbdbd;max-width:850px;margin:22px auto 0}
@media(max-width:760px){.areas-grid{grid-template-columns:1fr}}

/* V13: wider castle hero; rest of site unchanged */
.hero{background-position:center center}
.hero img,.hero-media img{object-fit:cover;object-position:center center}

.reviews-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin:30px 0}
.review-card{background:#071a2d;border:1px solid #169cff;border-radius:16px;padding:24px;box-shadow:0 10px 28px rgba(0,0,0,.2)}
.review-card h3{margin:8px 0 10px;color:#fff}.review-card p{margin:0;color:#e8f3ff;line-height:1.65}.review-stars{color:#fbbc04;font-size:1.25rem;letter-spacing:2px}
@media(max-width:760px){.reviews-grid{grid-template-columns:1fr}.review-card{padding:20px}}

/* Mobile hero layout fix: keep CTA/buttons fully inside hero and prevent next section showing behind them */
@media (max-width: 768px){
  .hero{min-height:0;height:auto;align-items:flex-start;background-position:center center;overflow:hidden}
  .hero-content{padding:56px 0 48px}
  .hero-buttons{position:relative;z-index:3;margin-bottom:0}
  .hero-buttons a{width:100%;box-sizing:border-box}
}

/* V13 mobile hero zoom-out: show more of the daytime castle/red-van background only */
@media (max-width: 760px){
  .hero{
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #020b18;
  }
}
