:root { --tech2auto-brand:        #000000;
--tech2auto-brand-dark:   #000000;
--tech2auto-accent:       #ff8b00; --tech2auto-panel-brown:  #7f4602; --tech2auto-panel-black:  #000000;  --tech2auto-bg:           #f7fafc; --tech2auto-card-bg:      #ffffff;
--tech2auto-border:       #e4e4e4; --tech2auto-text:         #2d3748; --tech2auto-text-muted:   #5c5c5c;
--tech2auto-text-invert:  #ffffff; --tech2auto-font:         "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
--tech2auto-font-heading: "Oswald", "Poppins", system-ui, sans-serif; --tech2auto-content-max:  1140px;
--tech2auto-gutter:       24px;
--tech2auto-section-y:    clamp(48px, 7vw, 104px);
--tech2auto-radius:       0px; --tech2auto-header-height: 80px; --tech2auto-ease:         cubic-bezier(.22,.61,.36,1);
} @font-face {
font-family: "Oswald";
src: url(//tech2auto.co.uk/wp-content/themes/tech2auto/assets/fonts/oswald-latin.woff2) format("woff2");
font-weight: 200 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Poppins";
src: url(//tech2auto.co.uk/wp-content/themes/tech2auto/assets/fonts/poppins-400-latin.woff2) format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
} *, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
margin: 0;
background: var(--tech2auto-bg);
color: var(--tech2auto-text);
font-family: var(--tech2auto-font);
font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 {
font-family: var(--tech2auto-font-heading);
font-weight: 600; color: #000;
line-height: 1.2;
margin: 0 0 .5em;
text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.8125rem); } h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; } .tech2auto-wrap {
width: 100%;
max-width: var(--tech2auto-content-max);
margin-inline: auto;
padding-inline: var(--tech2auto-gutter);
}
.tech2auto-section { padding-block: var(--tech2auto-section-y); }
.tech2auto-section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.tech2auto-section__head--center { margin-inline: auto; text-align: center; }
.tech2auto-eyebrow {
display: inline-block;
font-size: .78rem;
font-weight: 700;
letter-spacing: .12em;
text-transform: uppercase;
color: var(--tech2auto-accent);
margin-bottom: .75em;
}
.tech2auto-lede { font-size: 1.1rem; color: var(--tech2auto-text-muted); } .tech2auto-btn {
display: inline-flex;
align-items: center;
gap: .5em;
padding: 12px 24px;
border: 1px solid transparent;
border-radius: var(--tech2auto-radius);
background: var(--tech2auto-accent);
color: var(--tech2auto-text-invert);
font-family: var(--tech2auto-font-heading);
font-weight: 500;
font-size: 15px;
line-height: 1.4;
text-decoration: none;
cursor: pointer;
transition: background .25s var(--tech2auto-ease), transform .25s var(--tech2auto-ease);
}
.tech2auto-btn:hover { background: #e67d00; transform: translateY(-1px); } .tech2auto-btn--lg { padding: 16px 30px 15px; font-size: 18px; } .tech2auto-btn--bar { display: flex; width: 100%; justify-content: center; }
.tech2auto-btn--ghost {
background: transparent;
color: var(--tech2auto-text);
border-color: var(--tech2auto-border);
}
.tech2auto-btn--ghost:hover { background: var(--tech2auto-card-bg); } .tech2auto-card {
background: var(--tech2auto-card-bg);
border: 1px solid var(--tech2auto-border);
border-radius: var(--tech2auto-radius);
padding: clamp(20px, 2.5vw, 32px);
} .screen-reader-text {
position: absolute !important;
width: 1px; height: 1px;
padding: 0; margin: -1px;
overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
} .alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.alignwide { max-width: calc(var(--tech2auto-content-max) + 160px); margin-inline: auto; }
.aligncenter { margin-inline: auto; }.tech2auto-header {
position: sticky;
top: 0;
z-index: 100;
background: var(--tech2auto-bg);
border-bottom: 1px solid var(--tech2auto-border);
}
.tech2auto-header__inner {
display: flex;
align-items: center;
gap: 24px;
min-height: var(--tech2auto-header-height);
}
.tech2auto-header__logo { display: flex; align-items: center; text-decoration: none; font-weight: 700; } .tech2auto-header__logo img,
.tech2auto-header__logo .custom-logo,
.tech2auto-header .custom-logo { max-height: 64px; width: auto; } .tech2auto-nav { margin-left: auto; }
.tech2auto-nav__list {
display: flex;
align-items: center;
gap: 28px;
list-style: none;
margin: 0;
padding: 0;
} .tech2auto-nav__list a {
text-decoration: none;
font-family: var(--tech2auto-font-heading);
font-size: 18px;
font-weight: 400;
text-transform: uppercase;
color: #000;
transition: color .2s var(--tech2auto-ease);
}
.tech2auto-nav__list a:hover,
.tech2auto-nav__list .current-menu-item > a { color: var(--tech2auto-accent); }
.tech2auto-header__actions { display: flex; align-items: center; gap: 12px; } .tech2auto-header__cta { text-transform: uppercase; } .tech2auto-burger {
display: none;
flex-direction: column;
justify-content: center;
gap: 5px;
width: 44px; height: 44px;
padding: 0;
background: none;
border: 0;
cursor: pointer;
}
.tech2auto-burger span {
display: block;
height: 2px;
width: 24px;
margin-inline: auto;
background: var(--tech2auto-text);
transition: transform .25s var(--tech2auto-ease), opacity .25s var(--tech2auto-ease);
}
.tech2auto-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tech2auto-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tech2auto-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } .tech2auto-drawer {
position: fixed;
inset: var(--tech2auto-header-height) 0 0 auto;
width: min(360px, 86vw);
z-index: 99;
background: var(--tech2auto-card-bg);
border-left: 1px solid var(--tech2auto-border);
padding: 32px 28px;
overflow-y: auto;
transform: translateX(100%);
transition: transform .3s var(--tech2auto-ease);
}
.tech2auto-drawer.is-open { transform: translateX(0); }
.tech2auto-drawer__list { list-style: none; margin: 0; padding: 0; text-align: right; }
.tech2auto-drawer__list li { border-bottom: 1px solid var(--tech2auto-border); }
.tech2auto-drawer__list a {
display: block;
padding: 14px 0;
text-decoration: none;
font-family: var(--tech2auto-font-heading);
font-size: 18px;
font-weight: 400;
text-transform: uppercase;
color: #000;
}
.tech2auto-drawer__list .sub-menu { list-style: none; margin: 0; padding-right: 16px; }
.tech2auto-drawer__list .sub-menu a { font-size: .95rem; color: var(--tech2auto-text-muted); }
@media (max-width: 992px) {
.tech2auto-nav { display: none; }
.tech2auto-burger { display: flex; } .tech2auto-header__inner {
flex-direction: column;
align-items: center;
gap: 14px;
padding-block: 16px;
}
.tech2auto-header__actions {
margin-left: 0;
flex-direction: column;
align-items: center;
gap: 14px;
}
}
@media (prefers-reduced-motion: reduce) {
.tech2auto-drawer, .tech2auto-burger span { transition: none; }
}.tech2auto-prefooter {
background: var(--tech2auto-brand);
color: var(--tech2auto-text-invert);
padding-block: clamp(36px, 5vw, 64px);
}
.tech2auto-prefooter__inner {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 24px;
}
.tech2auto-prefooter h2 { margin: 0 0 .25em; }
.tech2auto-prefooter p { margin: 0; opacity: .85; }
.tech2auto-prefooter .tech2auto-btn { background: var(--tech2auto-accent); color: var(--tech2auto-brand-dark); }
.tech2auto-footer {
background: var(--tech2auto-brand-dark);
color: var(--tech2auto-text-invert);
padding-block: clamp(40px, 5vw, 72px) 0;
}
.tech2auto-footer a { color: inherit; text-decoration: none; }
.tech2auto-footer a:hover { color: var(--tech2auto-accent); }
.tech2auto-footer__inner {
display: grid;
gap: 40px;
grid-template-columns: 1.4fr 1fr 1fr;
padding-bottom: 40px;
}
.tech2auto-footer__brand img { max-height: 56px; width: auto; }
.tech2auto-footer__name { font-size: 1.2rem; font-weight: 700; }
.tech2auto-footer__tagline { margin-top: 14px; opacity: .8; max-width: 34ch; font-size: 16px; }
.tech2auto-footer__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 6px; }
.tech2auto-footer__list:last-child { margin-bottom: 0; } .tech2auto-footer__heading {
color: var(--tech2auto-accent);
font-size: 24px;
margin: 0 0 .6em;
}
.tech2auto-footer__col--links .tech2auto-footer__heading:not(:first-child),
.tech2auto-footer__col--info  .tech2auto-footer__heading:not(:first-child) { margin-top: 28px; }
.tech2auto-footer__payments {
list-style: none; margin: 0 0 28px; padding: 0;
display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.tech2auto-footer__payments img { height: 34px; width: auto; }
.tech2auto-footer__info { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.tech2auto-footer__info-item { display: flex; align-items: center; gap: 14px; }
.tech2auto-footer__info-icon {
flex: 0 0 auto;
display: grid; place-items: center;
width: 44px; height: 44px;
border-radius: 50%;
background: var(--tech2auto-accent);
color: #fff;
}
.tech2auto-footer__info-body { display: grid; gap: 2px; }
.tech2auto-footer__info-title {
font-family: var(--tech2auto-font-heading);
font-weight: 600;
font-size: 24px;
line-height: 1.2;
}
.tech2auto-footer__info-text { opacity: .9; }
.tech2auto-social { display: flex; gap: 12px; margin-top: 8px; }
.tech2auto-social__link {
display: grid;
place-items: center;
width: 38px; height: 38px;
border-radius: 50%;
border: 1px solid rgba(255,255,255,.25);
transition: background .2s var(--tech2auto-ease), border-color .2s var(--tech2auto-ease);
}
.tech2auto-social__link:hover { background: var(--tech2auto-accent); border-color: transparent; }
.tech2auto-footer__legal {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 12px;
padding-block: 20px;
border-top: 1px solid rgba(255,255,255,.15);
font-size: 14px;
opacity: .75;
}
.tech2auto-footer__legal p { margin: 0; }
@media (max-width: 860px) {
.tech2auto-footer__inner { grid-template-columns: 1fr 1fr; }
.tech2auto-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
.tech2auto-footer__inner { grid-template-columns: 1fr; }
}.tech2auto-fade-up,
.tech2auto-fade-up-item {
opacity: 0;
transform: translateY(24px);
transition: opacity .7s var(--tech2auto-ease), transform .7s var(--tech2auto-ease);
will-change: opacity, transform;
}
.tech2auto-fade-up.is-visible,
.tech2auto-fade-up-item.is-visible {
opacity: 1;
transform: none;
} .tech2auto-fade-up-stagger .tech2auto-fade-up-item:nth-child(1) { transition-delay: 0ms; }
.tech2auto-fade-up-stagger .tech2auto-fade-up-item:nth-child(2) { transition-delay: 90ms; }
.tech2auto-fade-up-stagger .tech2auto-fade-up-item:nth-child(3) { transition-delay: 180ms; }
.tech2auto-fade-up-stagger .tech2auto-fade-up-item:nth-child(4) { transition-delay: 270ms; }
.tech2auto-fade-up-stagger .tech2auto-fade-up-item:nth-child(5) { transition-delay: 360ms; }
.tech2auto-fade-up-stagger .tech2auto-fade-up-item:nth-child(6) { transition-delay: 450ms; } .block-editor-block-list__layout .tech2auto-fade-up,
.block-editor-block-list__layout .tech2auto-fade-up-item {
opacity: 1;
transform: none;
}
@media (prefers-reduced-motion: reduce) {
.tech2auto-fade-up,
.tech2auto-fade-up-item {
opacity: 1;
transform: none;
transition: none;
}
}