/* TeslaRepair English V2 — site header, footer and responsive navigation. */
body.tr-v2-site{padding-bottom:0!important}
body.tr-v2-site.admin-bar{--tr-admin-height:32px}
body.tr-v2-site .chaty-widget,body.tr-v2-site #ast-scroll-top{display:none!important}
body.tr-v2-site .tr-site-chrome{box-sizing:border-box;font:400 15px/1.6 var(--tr-font);color:var(--tr-light-text)}
body.tr-v2-site .tr-site-chrome *,body.tr-v2-site .tr-site-chrome *:before,body.tr-v2-site .tr-site-chrome *:after{box-sizing:border-box}
body.tr-v2-site .tr-site-chrome a{color:inherit;text-decoration:none!important}
body.tr-v2-site .tr-site-chrome a:focus-visible,body.tr-v2-site .tr-site-chrome button:focus-visible,body.tr-v2-site .tr-site-chrome summary:focus-visible{outline:2px solid var(--tr-accent-light);outline-offset:5px;border-radius:3px}
body.tr-v2-site .tr-site-chrome p,body.tr-v2-site .tr-site-chrome ul{margin:0}
body.tr-v2-site .tr-site-chrome ul{padding:0;list-style:none}
body.tr-v2-site .tr-site-wrap{width:min(var(--tr-content-width),calc(100% - var(--tr-shell-gutter) * 2));margin:0 auto}
body.tr-v2-site .tr-site-header-space{height:var(--tr-header-height);margin:0!important}
body.tr-v2-site .tr-site-header{position:fixed;left:0;right:0;top:var(--tr-admin-height);z-index:100;background:var(--tr-header);border-bottom:1px solid #ffffff1f;box-shadow:0 8px 24px #090f1712}
body.tr-v2-site .tr-site-utility{height:32px;background:var(--tr-utility);border-bottom:1px solid #ffffff0d;color:#b6bdc7;font-size:11px;letter-spacing:.2px}
body.tr-v2-site .tr-site-utility .tr-site-wrap{display:flex;justify-content:space-between;align-items:center;height:100%}
body.tr-v2-site .tr-site-utility span:first-child{letter-spacing:.9px}
body.tr-v2-site .tr-site-utility a:hover{color:var(--tr-white)}
body.tr-v2-site .tr-site-main{position:relative;display:flex;align-items:center;justify-content:space-between;gap:22px;height:86px}
body.tr-v2-site .tr-site-brand{display:block;flex-shrink:0;width:188px;line-height:0}
body.tr-v2-site .tr-site-brand img{display:block;width:100%;height:auto;max-width:100%}
body.tr-v2-site .tr-site-nav{display:flex;align-items:center;gap:24px;align-self:stretch}
body.tr-v2-site .tr-site-nav>a,body.tr-v2-site .tr-site-dropdown>summary{display:flex;align-items:center;gap:8px;min-height:44px;font:500 14px/1.3 var(--tr-font);white-space:nowrap;cursor:pointer;color:var(--tr-light-text)}
body.tr-v2-site .tr-site-nav>a:hover,body.tr-v2-site .tr-site-dropdown>summary:hover,body.tr-v2-site .tr-site-dropdown[open]>summary{color:var(--tr-accent-light)}
body.tr-v2-site .tr-site-dropdown{border:0;padding:0;margin:0;display:flex;align-content:center}
body.tr-v2-site .tr-site-dropdown>summary{list-style:none;height:100%;padding:0;border:0;background:none}
body.tr-v2-site .tr-site-dropdown>summary::-webkit-details-marker{display:none}
body.tr-v2-site .tr-site-plus{position:relative;width:9px;height:9px}
body.tr-v2-site .tr-site-plus:before,body.tr-v2-site .tr-site-plus:after{content:'';position:absolute;background:currentColor;left:0;right:0;height:1px;top:4px}
body.tr-v2-site .tr-site-plus:after{transform:rotate(90deg);transition:transform .18s}
body.tr-v2-site .tr-site-dropdown[open] .tr-site-plus:after{transform:rotate(0)}
body.tr-v2-site .tr-site-panel{position:absolute;top:100%;left:0;right:0;background:var(--tr-white);color:var(--tr-ink);border:1px solid var(--tr-light-text);border-top:2px solid var(--tr-red);box-shadow:0 22px 50px #0003;padding:30px;border-radius:0 0 10px 10px}
body.tr-v2-site .tr-site-services{display:grid;grid-template-columns:1.15fr 1.15fr 1fr 1.15fr;gap:24px}
body.tr-v2-site .tr-site-chrome .tr-site-label{font:650 10px/1.5 var(--tr-font);text-transform:uppercase;letter-spacing:1.5px;margin:0 0 14px;color:var(--tr-link)}
body.tr-v2-site .tr-site-panel li a{font-size:14px;display:block;padding:9px 0;line-height:1.35;transition:color .15s}
body.tr-v2-site .tr-site-panel li a:hover,body.tr-v2-site .tr-site-panel a[aria-current=page]{color:var(--tr-link)}
body.tr-v2-site .tr-site-menu-note{border-left:1px solid var(--tr-line);padding-left:24px;font-size:13px}
body.tr-v2-site .tr-site-menu-note strong{font-size:16px;line-height:1.45;display:block;margin-bottom:9px}
body.tr-v2-site .tr-site-menu-note p{color:var(--tr-muted);margin-bottom:15px}
body.tr-v2-site .tr-site-menu-note a{color:var(--tr-link);font-weight:650}
body.tr-v2-site .tr-site-model-nav{position:relative}
body.tr-v2-site .tr-site-model-panel{width:220px;left:-25px;right:auto;top:100%;padding:24px}
body.tr-v2-site .tr-site-model-panel li a{font-size:17px;font-weight:600}
body.tr-v2-site .tr-site-header-actions,body.tr-v2-site .tr-site-footer-actions{display:flex;gap:10px;align-items:center}
body.tr-v2-site .tr-site-chrome .tr-site-btn{--tr-btn-height:44px;--tr-btn-padding:11px 17px;--tr-btn-size:12px;white-space:nowrap}
body.tr-v2-site .tr-site-menu-toggle,body.tr-v2-site .tr-site-mobile-note,body.tr-v2-site .tr-site-mobile-dock{display:none}
body.tr-v2-site .tr-site-skip{position:fixed;top:-100px;left:20px;padding:10px 20px;background:var(--tr-white);color:#111!important;z-index:200}
body.tr-v2-site .tr-site-skip:focus{top:15px}
body.tr-v2-site .tr-v2 .tr-hero{padding-top:43px}
body.tr-v2-site .tr-v2 .tr-jump-nav{top:calc(var(--tr-header-height) + var(--tr-admin-height));z-index:50}
body.tr-v2-site .tr-v2 section[id],body.tr-v2-site .tr-v2,body.tr-v2-site #tr-site-content-start{scroll-margin-top:calc(var(--tr-header-height) + var(--tr-admin-height) + 76px)}
body.tr-v2-site .tr-site-footer{position:relative;background:var(--tr-dark);border-top:3px solid var(--tr-red);margin:0!important;padding:0 0 24px}
body.tr-v2-site .tr-site-footer-intro{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:48px 0 38px;border-bottom:1px solid #ffffff20}
body.tr-v2-site .tr-site-footer .tr-site-label{color:var(--tr-accent-light);margin-bottom:8px}
body.tr-v2-site .tr-site-footer h2{font:650 34px/1.2 var(--tr-font);letter-spacing:-1px;color:var(--tr-white);margin:0}
body.tr-v2-site .tr-site-footer .tr-site-btn{--tr-btn-size:14px;--tr-btn-height:48px;--tr-btn-padding:11px 22px}
body.tr-v2-site .tr-site-footer-grid{display:grid;grid-template-columns:1.5fr 1.05fr .7fr 1.05fr;gap:48px;padding:44px 0}
body.tr-v2-site .tr-site-footer .tr-site-brand{width:197px;margin-bottom:19px}
body.tr-v2-site .tr-site-workshop>p{font-size:14px;line-height:1.65;color:#afb7c2;max-width:300px;margin-bottom:22px}
body.tr-v2-site .tr-site-workshop address{font-style:normal;font-size:13px;line-height:1.75;color:#aeb7c3;margin-bottom:15px}
body.tr-v2-site .tr-site-workshop address strong{font-weight:550;color:#e5e9ef}
body.tr-v2-site .tr-site-footer-phone{font-size:21px;letter-spacing:-.4px;display:block;font-weight:600;color:var(--tr-white)!important;margin-bottom:5px}
body.tr-v2-site .tr-site-location{font-size:12px;color:var(--tr-accent-light)!important}
body.tr-v2-site .tr-site-footer h3{font:600 14px/1.5 var(--tr-font);color:var(--tr-white);margin:5px 0 18px}
body.tr-v2-site .tr-site-footer nav li a{font-size:13px;display:inline-block;padding:7px 0;color:#b8c0cc;line-height:1.5}
body.tr-v2-site .tr-site-footer nav li a:hover{color:var(--tr-white)}
body.tr-v2-site .tr-site-footer-tip{border-top:1px solid #ffffff20;margin-top:22px;padding-top:17px;font-size:12px;color:#9faab8}
body.tr-v2-site .tr-site-footer-tip span{color:#e3e8ef;display:block;margin-bottom:7px}
body.tr-v2-site .tr-site-footer-bottom{border-top:1px solid #ffffff20;padding-top:22px;display:flex;justify-content:space-between;gap:20px;color:#929fad;font-size:11px}
@media(max-width:1200px) and (min-width:1101px){
body.tr-v2-site .tr-site-main{gap:15px}
body.tr-v2-site .tr-site-brand{width:165px}
body.tr-v2-site .tr-site-nav{gap:17px}
body.tr-v2-site .tr-site-header-actions{gap:8px}
body.tr-v2-site .tr-site-chrome .tr-site-btn{--tr-btn-padding:11px 12px}
}
@media(max-width:1100px){
body.tr-v2-site{--tr-header-height:108px}
body.tr-v2-site .tr-site-main{height:76px}
body.tr-v2-site .tr-site-brand{width:175px}
body.tr-v2-site .tr-site-header-actions{margin-left:auto}
body.tr-v2-site .tr-site-menu-toggle{display:flex;align-items:center;justify-content:center;gap:11px;order:3;min-height:44px;padding:10px 13px;background:transparent!important;border:1px solid #626b77;border-radius:5px;font:500 13px/1 var(--tr-font);color:var(--tr-white);cursor:pointer}
body.tr-v2-site .tr-site-menu-icon{width:16px;height:12px;border-top:1px solid currentColor;border-bottom:1px solid currentColor;position:relative}
body.tr-v2-site .tr-site-menu-icon:before{content:'';position:absolute;top:5px;left:0;right:0;height:1px;background:currentColor}
body.tr-v2-site .tr-site-menu-toggle[aria-expanded=true] .tr-site-menu-icon{border:0}
body.tr-v2-site .tr-site-menu-toggle[aria-expanded=true] .tr-site-menu-icon:before{transform:rotate(45deg)}
body.tr-v2-site .tr-site-menu-toggle[aria-expanded=true] .tr-site-menu-icon:after{content:'';position:absolute;top:5px;left:0;right:0;height:1px;background:currentColor;transform:rotate(-45deg)}
body.tr-v2-site .tr-site-nav{position:absolute;top:100%;left:calc(-1 * var(--tr-shell-gutter));right:calc(-1 * var(--tr-shell-gutter));display:block;max-height:calc(100dvh - var(--tr-header-height) - var(--tr-admin-height) - 78px);overflow:auto;padding:20px 32px 24px;background:var(--tr-menu);border-top:1px solid #ffffff26;box-shadow:0 16px 30px #0003}
body.tr-v2-site .tr-site-header[data-ready=true] .tr-site-nav:not(.is-open){display:none}
body.tr-v2-site .tr-site-nav>a,body.tr-v2-site .tr-site-dropdown>summary{min-height:49px;font-size:16px}
body.tr-v2-site .tr-site-nav>a,body.tr-v2-site .tr-site-dropdown{border-bottom:1px solid #ffffff15}
body.tr-v2-site .tr-site-dropdown{display:block}
body.tr-v2-site .tr-site-dropdown>summary{justify-content:space-between}
body.tr-v2-site .tr-site-panel{position:static;box-shadow:none;background:transparent;color:#d5dae1;border:0;border-radius:0;padding:12px 0 23px}
body.tr-v2-site .tr-site-services{grid-template-columns:repeat(3,1fr);gap:20px}
body.tr-v2-site .tr-site-panel .tr-site-label{color:var(--tr-accent-light)}
body.tr-v2-site .tr-site-panel a:hover,body.tr-v2-site .tr-site-panel a[aria-current=page]{color:var(--tr-accent-light)}
body.tr-v2-site .tr-site-menu-note{display:none}
body.tr-v2-site .tr-site-model-panel{width:100%}
body.tr-v2-site .tr-site-model-panel ul{display:grid;grid-template-columns:1fr 1fr;gap:3px 20px}
body.tr-v2-site .tr-site-model-panel .tr-site-label{display:none}
body.tr-v2-site .tr-site-mobile-note{display:block;margin-top:22px;font-size:12px;color:#a9b5c5}
body.tr-v2-site .tr-site-footer-grid{gap:30px;grid-template-columns:1.3fr 1fr .7fr 1fr}
body.tr-v2-site .tr-site-footer h2{font-size:30px}
}
@media(max-width:782px){
body.tr-v2-site.admin-bar{--tr-admin-height:46px}
}
@media(max-width:700px){
body.tr-v2-site{--tr-header-height:76px;padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}
body.tr-v2-site .tr-site-wrap{width:calc(100% - 40px)}
body.tr-v2-site .tr-site-utility,body.tr-v2-site .tr-site-header-actions{display:none}
body.tr-v2-site .tr-site-brand{width:161px}
body.tr-v2-site .tr-site-main{gap:15px}
body.tr-v2-site .tr-site-nav{left:calc(-1 * var(--tr-shell-gutter));right:calc(-1 * var(--tr-shell-gutter));padding:14px 22px 22px}
body.tr-v2-site .tr-site-services{grid-template-columns:1fr;gap:20px}
body.tr-v2-site .tr-site-panel li a{padding:9px 0}
body.tr-v2-site .tr-site-panel .tr-site-label{margin-bottom:7px}
body.tr-v2-site .tr-site-menu-toggle{margin-left:auto}
body.tr-v2-site .tr-site-mobile-dock{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;z-index:110;padding:11px 16px calc(11px + env(safe-area-inset-bottom));background:#10171ff5;border-top:1px solid #ffffff26;backdrop-filter:blur(12px)}
body.tr-v2-site .tr-site-mobile-dock .tr-site-btn{--tr-btn-size:13px;--tr-btn-height:45px;--tr-btn-padding:10px}
body.tr-v2-site .tr-site-footer-intro{display:block;padding:34px 0 30px}
body.tr-v2-site .tr-site-footer h2{font-size:28px}
body.tr-v2-site .tr-site-footer-actions{margin-top:24px;flex-wrap:wrap}
body.tr-v2-site .tr-site-footer .tr-site-btn{--tr-btn-size:13px;--tr-btn-height:45px;--tr-btn-padding:11px 17px}
body.tr-v2-site .tr-site-footer-grid{grid-template-columns:1fr 1fr;gap:32px 24px;padding:34px 0}
body.tr-v2-site .tr-site-workshop{grid-column:1/-1}
body.tr-v2-site .tr-site-workshop>p{max-width:370px}
body.tr-v2-site .tr-site-footer-grid>nav:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
body.tr-v2-site .tr-site-footer-grid>nav:last-child h3{grid-column:1}
body.tr-v2-site .tr-site-footer-grid>nav:last-child ul{grid-column:1}
body.tr-v2-site .tr-site-footer-tip{grid-column:2;grid-row:1/3;margin:5px 0 0;padding:0 0 0 20px;border:0;border-left:1px solid #ffffff20}
body.tr-v2-site .tr-site-footer-bottom{display:block;font-size:10px}
body.tr-v2-site .tr-site-footer-bottom p+p{margin-top:8px}
body.tr-v2-site .tr-v2 .tr-hero{padding-top:26px}
}
@media(prefers-reduced-motion:reduce){
body.tr-v2-site .tr-site-chrome *,body.tr-v2-site .tr-site-chrome *:before,body.tr-v2-site .tr-site-chrome *:after{transition:none!important}
}
@media(min-width:1101px){
body.tr-v2-site .tr-site-nav>.tr-site-dropdown{align-self:stretch;display:block}
}
/* Legacy transparent heroes already include their header offset. */
body.tr-v2-site.tr-v2-legacy-transparent .tr-site-header-space{height:0}
body.tr-v2-site.tr-v2-content-page .tr-site-header-space{height:var(--tr-header-height)}
body.tr-v2-site .tr-site-nav details:not([open])>.tr-site-panel{display:none}
body.tr-v2-site .tr-site-nav details[open]>.tr-site-panel{display:grid}
body.tr-v2-site .tr-site-nav details[open]>.tr-site-model-panel{display:block}
body.tr-v2-site .tr-site-brand-text{display:block;font:700 20px/1.2 var(--tr-font);color:var(--tr-white)}

/* Compact header, shared by V2 pages and posts. */
body.tr-v2-site{--tr-header-height:73px}
body.tr-v2-site .tr-site-header .tr-site-utility{display:none}
body.tr-v2-site .tr-site-header .tr-site-main{height:72px}
body.tr-v2-site .tr-site-header .tr-site-brand{width:164px}
body.tr-v2-site .tr-v2 .tr-jump-nav a{padding:10px 0;line-height:24px;min-height:44px}
body.tr-v2-site .tr-v2 section[id],body.tr-v2-site .tr-v2,body.tr-v2-site #tr-site-content-start{scroll-margin-top:calc(var(--tr-header-height) + var(--tr-admin-height) + 64px)}
@media(max-width:700px){
body.tr-v2-site{--tr-header-height:65px}
body.tr-v2-site .tr-site-header .tr-site-main{height:64px}
body.tr-v2-site .tr-site-header .tr-site-brand{width:144px}
}

/* Keep in-page links in a single swipeable row on compact screens. */
@media(max-width:1100px){
body.tr-v2-site .tr-site-menu-toggle{text-transform:none;letter-spacing:0;font-weight:600;flex-shrink:0}
body.tr-v2-site .tr-v2 .tr-jump-nav .tr-wrap{width:100%;max-width:none;margin:0;padding:0 var(--tr-gutter);flex-wrap:nowrap;gap:22px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;scroll-padding-inline:var(--tr-gutter)}
body.tr-v2-site .tr-v2 .tr-jump-nav .tr-wrap::-webkit-scrollbar{display:none}
body.tr-v2-site .tr-v2 .tr-jump-nav a{flex:0 0 auto;white-space:nowrap}
body.tr-v2-site .tr-v2 .tr-jump-nav a:focus-visible{outline:2px solid var(--tr-red);outline-offset:-3px}
}
