/*
Theme Name: Sell My Car Edinburgh Gold
Theme URI: https://sellmycaredinburgh.co.uk/
Author: Sell My Car Edinburgh
Description: Black and gold responsive one-page car buying theme.
Version: 2.5.0
Text Domain: sell-my-car-edinburgh
*/
:root{--gold:#e8b83f;--gold2:#f4c84e;--black:#080a0c;--char:#11151a;--white:#fff;--muted:#d2d4d7;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#fff;color:#101214}a{text-decoration:none;color:inherit}.smc-wrap{width:min(calc(100% - 28px),var(--max));margin:auto}
.smc-header{background:#090c0f;color:#fff;position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(255,255,255,.07)}.smc-nav{height:104px;display:flex;align-items:center;justify-content:space-between;gap:24px}.smc-logo{display:block;width:270px;max-width:38vw}.smc-logo img{display:block;width:100%;height:78px;object-fit:cover;object-position:center;border-radius:2px}.smc-contact-top{display:flex;align-items:center;gap:18px}.smc-phone{display:grid;grid-template-columns:auto auto;column-gap:10px;align-items:center}.smc-phone>span{grid-row:1/3;font-size:28px;color:var(--gold)}.smc-phone strong{font-size:18px;line-height:1}.smc-phone small{font-size:11px;color:#fff;margin-top:4px}.smc-menu{font-size:29px;padding:8px}
.smc-hero{position:relative;color:#fff;background-image:linear-gradient(90deg,rgba(7,11,15,.15),rgba(7,11,15,.1)),url('https://images.unsplash.com/photo-1757701082413-2f27c3598e94?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=74&w=2200');background-size:cover;background-position:center 35%;overflow:hidden}.smc-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.35),rgba(0,0,0,.02) 48%,rgba(0,0,0,.18))}.smc-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.12fr .88fr;gap:34px;align-items:stretch;min-height:610px;padding:28px 0 0}.smc-hero-copy{padding:26px 0 0;display:flex;flex-direction:column}.smc-hero-copy h1{font-size:clamp(46px,5.4vw,76px);line-height:.98;margin:0;font-weight:950;letter-spacing:-2px;text-shadow:0 2px 14px rgba(0,0,0,.45)}.smc-hero-copy h1 span{color:var(--gold2)}.smc-hero-copy h2{font-size:25px;font-weight:500;margin:22px 0 10px;text-shadow:0 2px 8px rgba(0,0,0,.55)}.smc-hero-copy>p{font-size:18px;margin:0;text-shadow:0 2px 8px rgba(0,0,0,.55)}.smc-car-photo{margin-top:auto;width:82%;height:270px;background:url('cars-edinburgh.jpg') center/cover no-repeat;border-radius:2px 2px 0 0;box-shadow:0 -10px 30px rgba(0,0,0,.15);mix-blend-mode:normal}
.smc-form-card{align-self:center;margin-bottom:34px;background:rgba(8,10,12,.95);border:1px solid rgba(255,255,255,.15);padding:24px;border-radius:14px;box-shadow:0 20px 45px rgba(0,0,0,.4)}.smc-form-card>h2{text-align:center;font-size:27px;margin:0 0 5px}.smc-form-card>p{text-align:center;margin:0 0 14px;font-size:14px}.smc-form-card form{display:grid;gap:9px}.smc-form-card input,.smc-form-card select{width:100%;height:46px;border:0;border-radius:6px;padding:0 14px;font-size:15px;background:#fff;color:#1b1b1b}.smc-reg{display:grid;grid-template-columns:42px 1fr}.smc-reg span{background:#1454b6;color:#fff;display:grid;place-items:center;border-radius:6px 0 0 6px;font-size:11px;font-weight:700}.smc-reg input{border-radius:0 6px 6px 0}.smc-form-card button{height:58px;border:0;border-radius:7px;background:linear-gradient(90deg,#e1ad32,#f2c64d);font-size:18px;font-weight:900;cursor:pointer}.smc-form-card button span{float:right;font-size:28px;line-height:15px}.smc-form-card small{text-align:center;color:#fff;font-size:11px}
.smc-feature-strip{background:#0a0e12;color:#fff;border-top:1px solid rgba(255,255,255,.08)}.smc-feature-grid{display:grid;grid-template-columns:repeat(4,1fr)}.smc-feature-grid>div{display:flex;align-items:center;gap:14px;padding:23px 22px;border-right:1px solid rgba(255,255,255,.12)}.smc-feature-grid>div:last-child{border-right:0}.smc-feature-grid b{color:var(--gold2);font-size:30px}.smc-feature-grid span{display:flex;flex-direction:column}.smc-feature-grid strong{font-size:15px}.smc-feature-grid small{font-size:11px;color:#e3e3e3;margin-top:4px}
.smc-how{text-align:center;padding:46px 0 42px}.smc-how h2,.smc-buyall h2{font-size:34px;margin:0;font-weight:950}.smc-sub{margin:5px 0 28px;font-size:18px}.smc-steps{display:grid;grid-template-columns:repeat(3,1fr)}.smc-steps article{position:relative;padding:6px 28px 10px;border-right:1px solid #d8d8d8}.smc-steps article:last-child{border-right:0}.smc-steps i{display:grid;place-items:center;width:42px;height:42px;background:var(--gold2);border-radius:50%;font-style:normal;font-weight:900;margin:0 auto 8px}.smc-steps b{font-size:40px;display:block;height:50px}.smc-steps h3{font-size:18px;margin:10px 0 4px}.smc-steps p{font-size:14px;margin:0 auto;max-width:210px}
.smc-buyall{background:linear-gradient(rgba(8,10,12,.91),rgba(8,10,12,.94)),url('cars-edinburgh.jpg') center/cover no-repeat;color:#fff;text-align:center;padding:34px 0}.smc-buyall>div>p{margin:7px 0 28px;font-size:16px}.smc-buy-grid{display:grid;grid-template-columns:repeat(4,1fr)}.smc-buy-grid>div{display:flex;min-height:96px;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid rgba(255,255,255,.23);padding:8px}.smc-buy-grid>div:last-child{border-right:0}.smc-buy-grid b{font-size:34px}.smc-buy-grid strong{font-size:14px;margin-top:6px}.smc-buy-grid small{font-size:10px;color:#ddd;margin-top:2px}
.smc-trusted{background:linear-gradient(90deg,#d9a62f,#f1c655);padding:27px 0}.smc-trusted-grid{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center}.smc-trusted-copy{display:flex;gap:18px;align-items:center}.smc-trusted-copy>b{font-size:48px}.smc-trusted h2{font-size:22px;margin:0 0 4px}.smc-trusted p{margin:0;font-size:14px}.smc-cta{background:#0b0e11;color:#fff;padding:17px 25px;border-radius:7px;font-weight:900;display:block;min-width:260px;text-align:center}.smc-cta span{float:right;font-size:26px;line-height:16px}.smc-message{display:block;text-align:center;font-size:12px;margin-top:8px}.smc-footer{background:#080a0c;color:#bfc2c5;font-size:12px;padding:20px 0;text-align:center}.smc-footer a{color:#fff}
@media(max-width:900px){.smc-nav{height:86px}.smc-logo{width:230px}.smc-logo img{height:65px}.smc-phone{display:none}.smc-hero-grid{grid-template-columns:1fr;min-height:0;padding:22px 0 28px}.smc-hero-copy{padding-top:10px}.smc-car-photo{width:100%;height:230px;margin-top:22px;border-radius:8px}.smc-form-card{margin:0}.smc-feature-grid{grid-template-columns:1fr 1fr}.smc-feature-grid>div:nth-child(2){border-right:0}.smc-feature-grid>div:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.12)}.smc-trusted-grid{grid-template-columns:1fr}.smc-cta{min-width:0}.smc-trusted-copy{align-items:flex-start}}
@media(max-width:560px){.smc-wrap{width:min(calc(100% - 18px),var(--max))}.smc-header{position:relative}.smc-nav{height:78px}.smc-logo{width:180px;max-width:none}.smc-logo img{height:58px}.smc-contact-top{gap:8px}.smc-menu{font-size:24px}.smc-hero{background-position:center top}.smc-hero-grid{padding:14px 0 20px}.smc-hero-copy h1{font-size:44px;letter-spacing:-1.5px}.smc-hero-copy h2{font-size:19px;margin:14px 0 6px}.smc-hero-copy>p{font-size:14px}.smc-car-photo{height:190px;margin-top:16px}.smc-form-card{padding:18px 14px}.smc-form-card>h2{font-size:23px}.smc-form-card input,.smc-form-card select{height:43px}.smc-feature-grid{grid-template-columns:1fr 1fr}.smc-feature-grid>div{padding:15px 9px;gap:8px}.smc-feature-grid b{font-size:23px}.smc-feature-grid strong{font-size:12px}.smc-feature-grid small{font-size:9px}.smc-how{padding:34px 0}.smc-how h2,.smc-buyall h2{font-size:29px}.smc-steps{grid-template-columns:1fr}.smc-steps article{border-right:0;border-bottom:1px solid #ddd;padding:16px 0 22px}.smc-steps article:last-child{border-bottom:0}.smc-buy-grid{grid-template-columns:1fr 1fr}.smc-buy-grid>div{border-bottom:1px solid rgba(255,255,255,.2)}.smc-buy-grid>div:nth-child(2){border-right:0}.smc-buy-grid>div:nth-child(n+3){border-bottom:0}.smc-trusted-copy>b{font-size:37px}.smc-trusted h2{font-size:18px}.smc-trusted p{font-size:12px}}

/* v8 valuation-first refinements */
.smc-logo{width:300px;max-width:42vw}.smc-logo img{height:86px;object-fit:contain;object-position:left center;background:#090c0f;border-radius:0}
.smc-message-top{display:inline-flex;align-items:center;justify-content:center;background:var(--gold2);color:#080a0c;font-weight:900;font-size:13px;padding:13px 18px;border-radius:6px;letter-spacing:.2px}
.smc-field-label{font-size:11px;font-weight:800;color:#f4c84e;letter-spacing:.7px;margin:3px 0 -3px}
.smc-form-card form{gap:10px}.smc-form-card button{margin-top:4px}
.smc-proof{background:#fff;padding:28px 0;text-align:center}.smc-proof h2{font-size:26px;margin:0 0 6px}.smc-proof p{margin:0;color:#555}
@media(max-width:900px){.smc-logo{width:245px}.smc-logo img{height:70px}.smc-phone{display:grid}.smc-contact-top{gap:10px}.smc-phone small{display:none}}
@media(max-width:560px){.smc-nav{height:76px;gap:8px}.smc-logo{width:145px;max-width:40vw}.smc-logo img{height:60px}.smc-contact-top{gap:5px}.smc-phone{display:grid;grid-template-columns:auto auto;column-gap:4px}.smc-phone>span{font-size:16px}.smc-phone strong{font-size:12px}.smc-message-top{font-size:10px;padding:10px 8px}.smc-hero-copy h1{font-size:38px}.smc-form-card{padding:16px 13px}.smc-form-card>h2{font-size:21px}}

/* v10 mobile reference-match: based on approved screenshot */
@media (max-width:560px){
  .smc-wrap{width:calc(100% - 30px);max-width:none}
  .smc-header{position:relative;background:#080a0d;border-bottom:0}
  .smc-nav{height:138px;padding:12px 0;gap:10px}
  .smc-logo{width:110px;max-width:110px;flex:0 0 110px}
  .smc-logo img{width:110px;height:110px;object-fit:contain;object-position:center;background:#080a0d}
  .smc-contact-top{margin-left:auto;gap:10px;display:flex;align-items:center}
  .smc-phone{display:grid;grid-template-columns:30px auto;column-gap:8px;align-items:center;white-space:nowrap}
  .smc-phone>span{font-size:26px;color:#d63d3d;line-height:1}
  .smc-phone strong{font-size:18px;line-height:1.1;letter-spacing:.2px;color:#fff}
  .smc-phone small{display:none}
  .smc-message-top{height:62px;padding:0 14px;font-size:16px;border-radius:10px;white-space:nowrap;background:linear-gradient(180deg,#f3ca5a,#e7b63f)}

  .smc-hero{background-position:center top}
  .smc-hero-grid{display:block;padding:38px 0 28px}
  .smc-hero-copy{padding:0;display:block}
  .smc-hero-copy h1{font-size:58px;line-height:1.03;letter-spacing:-2px;margin:0;text-shadow:0 2px 10px rgba(0,0,0,.28)}
  .smc-hero-copy h2{font-size:27px;line-height:1.25;margin:25px 0 13px;font-weight:400}
  .smc-hero-copy>p{font-size:21px;line-height:1.35;margin:0 0 28px}
  .smc-car-photo{width:100%;height:340px;margin:0;border-radius:12px;background-position:center center;box-shadow:none}

  .smc-form-card{margin:60px 0 0;padding:30px 25px 24px;border-radius:20px;background:rgba(6,8,10,.96);border:1px solid rgba(255,255,255,.18)}
  .smc-form-card>h2{font-size:32px;line-height:1.15;margin:0 0 10px;font-weight:900}
  .smc-form-card>p{font-size:20px;line-height:1.3;margin:0 0 30px}
  .smc-field-label{font-size:18px;letter-spacing:1.4px;margin:0 0 4px;color:#f3ca55}
  .smc-form-card form{gap:18px}
  .smc-reg{grid-template-columns:74px 1fr}
  .smc-reg span{font-size:18px;border-radius:10px 0 0 10px}
  .smc-form-card input,.smc-form-card select{height:78px;font-size:22px;padding:0 22px;border-radius:10px}
  .smc-reg input{border-radius:0 10px 10px 0}
  .smc-form-card button{height:78px;border-radius:10px;font-size:21px;margin-top:8px}
  .smc-form-card button span{font-size:34px;line-height:22px}
  .smc-form-card small{font-size:17px;margin-top:3px;color:#d7d7d7}

  .smc-feature-grid{grid-template-columns:repeat(4,1fr)}
  .smc-feature-grid>div{min-width:0;padding:13px 7px;gap:6px;border-bottom:0!important;border-right:1px solid rgba(255,255,255,.12)!important}
  .smc-feature-grid>div:last-child{border-right:0!important}
  .smc-feature-grid b{font-size:20px}
  .smc-feature-grid strong{font-size:10px;white-space:nowrap}
  .smc-feature-grid small{font-size:8px;line-height:1.15}

  .smc-how{padding:34px 0}
  .smc-how h2{font-size:31px}
  .smc-sub{font-size:17px;margin-bottom:24px}
  .smc-steps{grid-template-columns:repeat(3,1fr)}
  .smc-steps article{border-bottom:0;border-right:1px solid #ddd;padding:8px 7px 12px}
  .smc-steps article:last-child{border-right:0}
  .smc-steps i{width:38px;height:38px}
  .smc-steps b{font-size:28px;height:38px}
  .smc-steps h3{font-size:13px}
  .smc-steps p{font-size:10px;line-height:1.25}
}

@media (max-width:410px){
  .smc-nav{height:118px}
  .smc-logo,.smc-logo img{width:92px;max-width:92px;height:92px}
  .smc-phone{grid-template-columns:22px auto;column-gap:5px}.smc-phone>span{font-size:20px}.smc-phone strong{font-size:15px}
  .smc-message-top{height:54px;padding:0 10px;font-size:13px}
  .smc-hero-grid{padding-top:30px}
  .smc-hero-copy h1{font-size:48px}
  .smc-hero-copy h2{font-size:23px}.smc-hero-copy>p{font-size:17px}
  .smc-car-photo{height:285px}
  .smc-form-card{margin-top:48px;padding:25px 20px 20px}.smc-form-card>h2{font-size:27px}.smc-form-card>p{font-size:17px}.smc-field-label{font-size:15px}
  .smc-form-card input{height:68px;font-size:19px}.smc-reg{grid-template-columns:64px 1fr}.smc-form-card button{height:70px;font-size:18px}.smc-form-card small{font-size:14px}
}

/* v11 navigation descriptions + valuation-before-photo mobile layout */
.smc-nav{position:relative}.smc-top-links{display:flex;align-items:center;gap:18px;flex:1;justify-content:center}.smc-top-links button{appearance:none;border:0;background:transparent;color:#fff;font:inherit;font-size:13px;cursor:pointer;padding:10px 0;white-space:nowrap}.smc-top-links button:hover,.smc-top-links button:focus{color:var(--gold2);outline:none}.smc-top-links button:first-child{color:var(--gold2);border-bottom:2px solid var(--gold2)}
.smc-info-panel{background:#14181d;color:#fff;border-top:1px solid rgba(255,255,255,.08);box-shadow:0 8px 18px rgba(0,0,0,.22)}.smc-info-panel[hidden]{display:none}.smc-info-panel .smc-wrap{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:13px 0}.smc-info-panel strong{color:var(--gold2);font-size:14px}.smc-info-panel span{font-size:13px;line-height:1.4;color:#e6e6e6}.smc-info-panel button{border:0;background:transparent;color:#fff;font-size:24px;cursor:pointer}
.smc-hero-grid{grid-template-areas:"copy form" "photo form";grid-template-rows:auto 1fr;align-items:start}.smc-hero-copy{grid-area:copy}.smc-form-card{grid-area:form}.smc-car-photo{grid-area:photo;margin-top:22px;align-self:end}
@media(max-width:1050px){.smc-top-links{gap:11px}.smc-top-links button{font-size:11px}.smc-logo{width:235px}.smc-logo img{height:74px}}
@media(max-width:900px){.smc-nav{flex-wrap:wrap;height:auto;min-height:96px;padding:10px 0}.smc-top-links{order:3;width:100%;flex-basis:100%;justify-content:flex-start;overflow-x:auto;gap:20px;padding:0 2px 3px;scrollbar-width:none}.smc-top-links::-webkit-scrollbar{display:none}.smc-info-panel .smc-wrap{grid-template-columns:1fr auto}.smc-info-panel strong{grid-column:1}.smc-info-panel span{grid-column:1}.smc-info-panel button{grid-column:2;grid-row:1/3}.smc-hero-grid{grid-template-areas:"copy" "form" "photo";grid-template-columns:1fr}.smc-form-card{margin-top:26px}.smc-car-photo{margin-top:30px;width:100%}}
@media(max-width:560px){.smc-nav{padding:9px 0 8px;min-height:128px}.smc-top-links{gap:18px}.smc-top-links button{font-size:12px;padding:8px 0}.smc-info-panel .smc-wrap{padding:11px 0}.smc-info-panel strong{font-size:13px}.smc-info-panel span{font-size:12px}.smc-hero-grid{display:grid!important;grid-template-areas:"copy" "form" "photo"!important;padding:30px 0 28px}.smc-form-card{grid-area:form!important;margin:34px 0 0!important}.smc-car-photo{grid-area:photo!important;margin:34px 0 0!important;height:340px}.smc-hero-copy{grid-area:copy!important}.smc-hero-copy>p{margin-bottom:0}}
@media(max-width:410px){.smc-nav{min-height:116px}.smc-car-photo{height:285px}.smc-form-card{margin-top:28px!important}}

/* v12 mobile width containment fix */
html,body{max-width:100%;overflow-x:hidden}
img,input,select,button{max-width:100%}
.smc-header,.smc-hero,.smc-feature-strip,.smc-how,.smc-buyall,.smc-trusted,.smc-footer{max-width:100%;overflow-x:hidden}
@media(max-width:560px){
  .smc-wrap{width:calc(100% - 20px);max-width:100%;margin-left:auto;margin-right:auto}
  .smc-nav{width:100%;max-width:100%;gap:6px}
  .smc-logo{flex:0 0 86px;width:86px;max-width:86px}.smc-logo img{width:86px;height:86px}
  .smc-contact-top{min-width:0;max-width:calc(100% - 92px);gap:5px}
  .smc-phone{min-width:0;grid-template-columns:18px minmax(0,1fr);column-gap:4px}.smc-phone>span{font-size:18px}.smc-phone strong{font-size:14px;white-space:nowrap}
  .smc-message-top{min-width:0;height:48px;padding:0 9px;font-size:12px;white-space:nowrap}
  .smc-top-links{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
  .smc-hero-grid,.smc-hero-copy,.smc-form-card,.smc-car-photo{width:100%;max-width:100%;min-width:0}
  .smc-hero-copy h1{font-size:clamp(38px,11vw,52px);overflow-wrap:anywhere}
  .smc-hero-copy h2{font-size:clamp(20px,6vw,26px)}.smc-hero-copy>p{font-size:clamp(16px,4.6vw,20px)}
  .smc-form-card{padding:24px 18px 20px}.smc-form-card>h2{font-size:clamp(25px,7vw,31px)}.smc-form-card>p{font-size:clamp(16px,4.8vw,19px)}
  .smc-reg{grid-template-columns:62px minmax(0,1fr)}.smc-form-card input,.smc-form-card select{min-width:0;width:100%;height:68px;font-size:19px;padding:0 16px}.smc-form-card button{width:100%;height:68px;font-size:18px}
  .smc-car-photo{height:clamp(245px,72vw,330px);background-size:cover;background-position:center}
  .smc-feature-grid{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.smc-feature-grid>div{min-width:0!important;border-bottom:1px solid rgba(255,255,255,.12)!important}.smc-feature-grid>div:nth-child(2n){border-right:0!important}.smc-feature-grid strong,.smc-feature-grid small{white-space:normal;overflow-wrap:anywhere}
  .smc-steps{width:100%;grid-template-columns:1fr}.smc-steps article{width:100%;min-width:0;border-right:0;border-bottom:1px solid #ddd}
  .smc-buy-grid{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.smc-buy-grid>div{min-width:0}
  .smc-trusted-grid,.smc-trusted-copy{width:100%;min-width:0}.smc-cta{width:100%;max-width:100%}
}
@media(max-width:380px){.smc-logo{flex-basis:76px;width:76px;max-width:76px}.smc-logo img{width:76px;height:76px}.smc-contact-top{max-width:calc(100% - 82px)}.smc-phone strong{font-size:12px}.smc-message-top{font-size:10px;padding:0 7px}}

/* v13: integrated hero photo + valuation at bottom + strict mobile fit */
@media(max-width:560px){
  .smc-hero{
    background-image:linear-gradient(180deg,rgba(4,8,12,.22) 0%,rgba(4,8,12,.10) 45%,rgba(4,8,12,.48) 72%,rgba(4,8,12,.82) 100%),url('cars-edinburgh.jpg');
    background-size:cover;
    background-position:center top;
    background-repeat:no-repeat;
  }
  .smc-hero:before{background:linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.05) 50%,rgba(0,0,0,.72) 100%)}
  .smc-hero-grid{display:flex!important;flex-direction:column!important;min-height:760px;padding:24px 0 24px!important;gap:0}
  .smc-hero-copy{width:100%;padding:0!important;text-align:left}
  .smc-hero-copy h1{font-size:clamp(34px,10.5vw,48px)!important;line-height:1.02!important;letter-spacing:-1.2px!important;overflow-wrap:normal!important;word-break:normal!important}
  .smc-hero-copy h1 br{display:none}
  .smc-hero-copy h1 span{display:block}
  .smc-hero-copy h2{font-size:clamp(18px,5.2vw,24px)!important;line-height:1.2!important;margin:15px 0 8px!important;white-space:normal}
  .smc-hero-copy>p{font-size:clamp(14px,4.3vw,18px)!important;line-height:1.35!important;max-width:94%;margin:0!important}
  .smc-car-photo{display:none!important}
  .smc-form-card{order:3;width:100%!important;margin:360px 0 0!important;padding:20px 16px 17px!important;border-radius:16px!important;background:rgba(5,8,11,.96)!important}
  .smc-form-card>h2{font-size:clamp(22px,6.7vw,29px)!important;line-height:1.1!important;white-space:normal;overflow-wrap:normal}
  .smc-form-card>p{font-size:clamp(14px,4.2vw,17px)!important;margin-bottom:20px!important}
  .smc-field-label{font-size:clamp(13px,3.8vw,16px)!important;letter-spacing:1px!important}
  .smc-form-card form{gap:12px!important}
  .smc-reg{grid-template-columns:56px minmax(0,1fr)!important}
  .smc-reg span{font-size:15px!important}
  .smc-form-card input{height:58px!important;font-size:17px!important;padding:0 13px!important}
  .smc-form-card button{height:60px!important;font-size:clamp(16px,4.6vw,19px)!important;margin-top:3px!important;white-space:normal}
  .smc-form-card small{font-size:13px!important}
  .smc-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .smc-feature-grid>div{padding:12px 8px!important;gap:7px!important}
  .smc-feature-grid strong{font-size:12px!important;line-height:1.15!important}.smc-feature-grid small{font-size:10px!important;line-height:1.2!important}
  .smc-how h2,.smc-buyall h2{font-size:clamp(25px,8vw,32px)!important;line-height:1.08!important}
  .smc-buyall p{overflow-wrap:anywhere}
}
@media(max-width:390px){
  .smc-hero-grid{min-height:720px}
  .smc-form-card{margin-top:310px!important}
  .smc-hero-copy h1{font-size:36px!important}
  .smc-hero-copy h2{font-size:18px!important}
  .smc-hero-copy>p{font-size:14px!important}
}

/* V14 exact approved reference refinements */
.smc-phone strong{font-size:clamp(22px,2.1vw,34px)!important;color:#f5bf32!important;line-height:1!important}.smc-phone small{font-size:13px!important}.smc-hero{background-image:linear-gradient(90deg,rgba(5,10,15,.32),rgba(5,10,15,.08)),url('cars-edinburgh.jpg')!important;background-size:cover!important;background-position:center 40%!important}.smc-car-photo{display:none!important}.smc-hero-grid{grid-template-columns:1fr!important;min-height:640px!important;align-content:space-between!important;padding-top:54px!important;padding-bottom:18px!important}.smc-hero-copy{max-width:650px}.smc-form-card{width:100%!important;max-width:none!important;align-self:end!important}.smc-form-card form{display:grid!important;grid-template-columns:1fr 1fr auto!important;gap:14px!important;align-items:end!important}.smc-form-card .smc-field-label{display:none!important}.smc-form-card small{grid-column:1/-1!important}.smc-reg,.smc-form-card input,.smc-form-card button{min-height:58px!important;margin:0!important}.smc-form-card h2,.smc-form-card>p{text-align:center!important}.smc-feature-grid{grid-template-columns:repeat(5,1fr)!important}.smc-feature-grid:after{content:'🛡  Same Day Payment\A Fast & secure';white-space:pre-line;text-align:center;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:14px}.smc-areas{background:#080d11;color:#fff;padding:34px 0}.smc-areas h2{font-size:36px;margin:0;color:#fff}.smc-areas h2 span{color:#f5bf32}.smc-areas p{margin:4px 0 22px}.smc-postcodes{display:grid;grid-template-columns:repeat(10,1fr);gap:10px}.smc-postcodes span{border:1px solid #d99f00;border-radius:5px;padding:9px 4px;text-align:center;font-weight:800}.smc-area-list{text-align:center;margin-top:16px!important}.smc-bottom-call{background:#05080b;color:#fff;padding:22px 0}.smc-bottom-call .smc-wrap{display:flex;align-items:center;justify-content:center;gap:32px;font-weight:800}.smc-bottom-call a{color:#f5bf32;text-decoration:none;font-size:34px}.smc-bottom-call .msg{background:#f5bf32;color:#05080b;font-size:16px;padding:16px 28px;border-radius:5px}
@media(max-width:760px){html,body{max-width:100%;overflow-x:hidden}.smc-wrap{width:100%!important;max-width:100%!important;padding-left:14px!important;padding-right:14px!important;box-sizing:border-box}.smc-nav{display:grid!important;grid-template-columns:100px 1fr auto!important;gap:7px!important;align-items:center!important}.smc-logo img{width:96px!important;height:auto!important}.smc-contact-top{gap:5px!important}.smc-phone strong{font-size:18px!important;white-space:nowrap}.smc-phone small{display:none!important}.smc-message-top{font-size:11px!important;padding:11px 9px!important;white-space:nowrap}.smc-top-links{grid-column:1/-1!important;display:flex!important;width:100%!important;overflow-x:auto!important;gap:16px!important;padding:8px 0 2px!important;scrollbar-width:none}.smc-top-links button{font-size:11px!important;white-space:nowrap!important;flex:0 0 auto!important}.smc-hero{background-position:center top!important;background-size:cover!important}.smc-hero-grid{min-height:760px!important;padding-top:34px!important;padding-bottom:14px!important}.smc-hero-copy{width:100%!important;max-width:100%!important}.smc-hero-copy h1{font-size:clamp(39px,11vw,58px)!important;line-height:.98!important;letter-spacing:-1.5px!important;overflow-wrap:normal!important;word-break:normal!important}.smc-hero-copy h1 span{display:block!important}.smc-hero-copy h2{font-size:clamp(23px,6.6vw,32px)!important;white-space:normal!important}.smc-hero-copy p{font-size:17px!important;max-width:100%!important}.smc-form-card{padding:18px 14px!important;border-radius:16px!important}.smc-form-card h2{font-size:27px!important;line-height:1.05!important}.smc-form-card form{grid-template-columns:1fr!important;gap:10px!important}.smc-form-card small{grid-column:auto!important}.smc-reg,.smc-form-card input,.smc-form-card button{width:100%!important;box-sizing:border-box!important;min-width:0!important}.smc-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.smc-feature-grid>div,.smc-feature-grid:after{min-width:0!important;font-size:12px!important}.smc-steps,.smc-buy-grid,.smc-trusted-grid{grid-template-columns:1fr!important}.smc-postcodes{grid-template-columns:repeat(5,minmax(0,1fr))!important}.smc-areas h2{font-size:29px!important}.smc-area-list{font-size:13px!important;line-height:1.45!important}.smc-bottom-call .smc-wrap{flex-wrap:wrap!important;gap:10px!important}.smc-bottom-call a{font-size:26px!important}.smc-bottom-call .msg{font-size:14px!important}.smc-how h2,.smc-buyall h2,.smc-trusted h2{overflow-wrap:break-word!important;word-break:normal!important}}


/* V15 mobile stability pass — keeps every element inside the viewport */
@media (max-width:760px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .smc-wrap{width:100%!important;max-width:100%!important;padding-left:14px!important;padding-right:14px!important;margin:0 auto!important}

  .smc-header{position:relative!important}
  .smc-nav{display:grid!important;grid-template-columns:82px minmax(0,1fr) 104px!important;grid-template-rows:auto auto!important;height:auto!important;min-height:0!important;padding:10px 0 8px!important;gap:8px!important;align-items:center!important}
  .smc-logo{grid-column:1!important;grid-row:1!important;width:82px!important;max-width:82px!important;min-width:0!important}
  .smc-logo img{width:82px!important;height:82px!important;object-fit:contain!important;background:#080a0d!important}
  .smc-contact-top{grid-column:2/4!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr) 104px!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}
  .smc-phone{display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;column-gap:5px!important;min-width:0!important;align-items:center!important}
  .smc-phone>span{font-size:20px!important;grid-row:1!important}
  .smc-phone strong{font-size:clamp(15px,4.6vw,20px)!important;white-space:nowrap!important;overflow:visible!important;color:#f5bf32!important}
  .smc-phone small{display:none!important}
  .smc-message-top{display:flex!important;width:104px!important;min-width:104px!important;height:46px!important;padding:0 7px!important;font-size:11px!important;white-space:nowrap!important;overflow:hidden!important}

  .smc-top-links{grid-column:1/-1!important;grid-row:2!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px 8px!important;width:100%!important;overflow:visible!important;padding:4px 0 0!important}
  .smc-top-links button{width:100%!important;min-width:0!important;font-size:11px!important;line-height:1.15!important;padding:7px 2px!important;white-space:normal!important;text-align:center!important}
  .smc-info-panel .smc-wrap{padding:10px 14px!important}

  .smc-hero{background-image:linear-gradient(180deg,rgba(4,8,12,.20),rgba(4,8,12,.16) 58%,rgba(4,8,12,.90) 100%),url('cars-edinburgh.jpg')!important;background-size:100% auto!important;background-position:center top!important;background-repeat:no-repeat!important;background-color:#080c10!important;overflow:hidden!important}
  .smc-hero:before{display:none!important}
  .smc-hero-grid{display:flex!important;flex-direction:column!important;min-height:0!important;height:auto!important;padding:22px 14px 18px!important;gap:0!important}
  .smc-hero-copy{width:100%!important;max-width:100%!important;min-width:0!important;padding:0!important;min-height:330px!important}
  .smc-hero-copy h1{font-size:clamp(34px,9.3vw,44px)!important;line-height:1.00!important;letter-spacing:-1px!important;margin:0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;max-width:100%!important}
  .smc-hero-copy h1 br{display:none!important}.smc-hero-copy h1 span{display:block!important}
  .smc-hero-copy h2{font-size:clamp(18px,5vw,23px)!important;line-height:1.22!important;margin:14px 0 7px!important;white-space:normal!important;max-width:100%!important}
  .smc-hero-copy>p{font-size:clamp(14px,4vw,17px)!important;line-height:1.35!important;max-width:100%!important;margin:0!important;white-space:normal!important}
  .smc-car-photo{display:none!important}

  .smc-form-card{position:relative!important;order:3!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:18px 14px 16px!important;border-radius:14px!important;align-self:stretch!important;background:rgba(5,8,11,.97)!important}
  .smc-form-card>h2{font-size:clamp(22px,6.4vw,28px)!important;line-height:1.08!important;margin:0 0 7px!important;white-space:normal!important;overflow-wrap:normal!important}
  .smc-form-card>p{font-size:14px!important;line-height:1.3!important;margin-bottom:16px!important}
  .smc-form-card form{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important}
  .smc-reg{display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;width:100%!important;min-width:0!important}
  .smc-form-card input,.smc-form-card select,.smc-form-card button{width:100%!important;max-width:100%!important;min-width:0!important;height:56px!important;min-height:56px!important;font-size:16px!important;box-sizing:border-box!important}
  .smc-form-card button{font-size:16px!important;white-space:normal!important}

  .smc-feature-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}
  .smc-feature-grid>div,.smc-feature-grid:after{min-width:0!important;padding:12px 8px!important;gap:7px!important;overflow:hidden!important}
  .smc-feature-grid strong{font-size:12px!important;line-height:1.2!important;white-space:normal!important}.smc-feature-grid small{font-size:10px!important;line-height:1.2!important;white-space:normal!important}

  .smc-postcodes{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important}.smc-postcodes span{font-size:11px!important;padding:8px 2px!important;min-width:0!important}
  .smc-areas{padding:26px 0!important}.smc-areas h2{font-size:27px!important;line-height:1.05!important}.smc-areas p{font-size:13px!important;line-height:1.4!important}
  .smc-steps,.smc-buy-grid,.smc-trusted-grid{grid-template-columns:1fr!important;width:100%!important}
  .smc-bottom-call .smc-wrap{display:grid!important;grid-template-columns:1fr!important;text-align:center!important;gap:10px!important}.smc-bottom-call a{font-size:25px!important}.smc-bottom-call .msg{font-size:13px!important;width:100%!important}
}
@media (max-width:390px){
  .smc-nav{grid-template-columns:72px minmax(0,1fr) 94px!important}.smc-logo,.smc-logo img{width:72px!important;max-width:72px!important;height:72px!important}.smc-contact-top{grid-template-columns:minmax(0,1fr) 94px!important}.smc-message-top{width:94px!important;min-width:94px!important;font-size:10px!important}.smc-phone strong{font-size:14px!important}.smc-hero-copy{min-height:310px!important}.smc-hero-copy h1{font-size:33px!important}
}
