:root {
    --ink: #111827;
    --muted: #5d6675;
    --soft: #f5f7fa;
    --panel: #ffffff;
    --line: #dce3ec;
    --charcoal: #101820;
    --navy: #12243a;
    --red: #d83a2e;
    --red-dark: #a92820;
    --steel: #245d7c;
    --amber: #d9961f;
    --green: #146c43;
    --radius: 8px;
    --shadow: 0 20px 50px rgba(16, 24, 32, .13);
    --container: min(1160px, calc(100% - 40px));
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

p {
    margin-top: 0;
}

h1,
h2,
h3 {
    margin: 0 0 16px;
    color: var(--charcoal);
    letter-spacing: 0;
}

h1 {
    max-width: 900px;
    font-size: 64px;
    line-height: .98;
}

h2 {
    font-size: 40px;
    line-height: 1.08;
}

h3 {
    font-size: 21px;
    line-height: 1.2;
}

.skip-link,
.sr-only,
.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.selection-locked .content-protected {
    user-select: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid rgba(220, 227, 236, .9);
    backdrop-filter: blur(14px);
    transform: translateY(0);
    transition: transform .22s ease, opacity .22s ease, box-shadow .22s ease;
    will-change: transform;
}

.site-header.is-scrolled {
    box-shadow: 0 12px 28px rgba(16, 24, 32, .08);
}

.site-header.is-hidden-at-footer {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.top-bar {
    color: rgba(255, 255, 255, .82);
    background: var(--charcoal);
    font-size: 13px;
}

.top-bar-inner {
    width: var(--container);
    min-height: 38px;
    margin: 0 auto;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: flex-end;
}

.top-bar a,
.top-bar span {
    text-decoration: none;
}

.top-bar a:hover {
    color: #fff;
}

.header-inner {
    width: var(--container);
    min-height: 76px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
}

.brand,
.footer-brand,
.login-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--charcoal);
    font-weight: 900;
    text-decoration: none;
}

.brand img,
.footer-brand img,
.login-brand img {
    width: auto;
    height: 58px;
    max-width: 256px;
    flex: 0 0 auto;
    object-fit: contain;
}

.footer-brand img {
    height: 60px;
    max-width: 266px;
}

.footer-brand.footer-brand-compact {
    gap: 12px;
    align-items: center;
    color: #fff;
}

.footer-brand.footer-brand-compact img {
    width: 48px;
    height: 48px;
    max-width: 48px;
}

.footer-brand.footer-brand-compact span {
    color: #fff;
    font-size: 18px;
    line-height: 1.1;
}

.login-brand img {
    height: 62px;
    max-width: 274px;
}

.brand-text-fallback {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.site-nav a {
    padding: 10px 12px;
    color: #47515e;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
    border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--charcoal);
    background: #edf2f7;
}

.header-call {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: #fff;
    background: var(--red);
    border-radius: var(--radius);
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--charcoal);
}

.breadcrumb-bar {
    width: var(--container);
    min-height: 48px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.breadcrumb-bar a {
    color: var(--steel);
    text-decoration: none;
}

.flash {
    width: var(--container);
    margin: 16px auto;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-weight: 850;
}

.flash-success {
    color: #0f5132;
    background: #d1e7dd;
}

.flash-error {
    color: #842029;
    background: #f8d7da;
}

.hero {
    position: relative;
    min-height: 680px;
    display: grid;
    align-items: center;
    color: #fff;
    background: var(--charcoal);
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 14, 20, .96), rgba(9, 14, 20, .78) 47%, rgba(9, 14, 20, .12)),
        url("../images/photos/hero-workshop.jpg") center right / cover no-repeat;
    filter: saturate(.95) contrast(1.05);
    transform: scale(1.02);
    animation: heroMove 16s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    width: var(--container);
    max-width: 780px;
    margin: 0 auto;
    padding: 86px 0;
    animation: riseIn .55s ease both;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    color: #fff;
}

.hero .eyebrow,
.page-hero .eyebrow {
    color: var(--amber);
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
    max-width: 720px;
    color: rgba(255, 255, 255, .84);
    font-size: 19px;
}

.hero-actions,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.inline-actions.center {
    justify-content: center;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    color: #fff;
    background: var(--red);
}

.button.primary:hover {
    background: var(--red-dark);
}

.button.dark {
    color: #fff;
    background: var(--navy);
}

.button.light {
    color: var(--charcoal);
    background: #fff;
}

.button.outline,
.button.ghost {
    color: var(--charcoal);
    background: transparent;
    border-color: var(--line);
}

.button.full {
    width: 100%;
}

.trust-strip {
    width: var(--container);
    margin: -44px auto 0;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.trust-strip div {
    padding: 24px;
    border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
    border-right: 0;
}

.trust-strip span {
    display: block;
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
}

.trust-strip strong {
    display: block;
    margin: 6px 0;
    color: var(--charcoal);
    font-size: 18px;
}

.trust-strip p,
.section-heading p,
.service-card p,
.split-copy p,
.cta-section p,
.contact-panel p,
.info-card p,
.process-step p,
.feature-columns p,
.legal p {
    color: var(--muted);
}

.section {
    padding: 92px 0;
}

.section-alt {
    background: var(--soft);
}

.section-inner,
.split-section,
.location-grid,
.form-layout,
.legal,
.sitemap-groups {
    width: var(--container);
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    max-width: 800px;
    margin-bottom: 34px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 58px;
    align-items: center;
}

.split-section.reverse {
    grid-template-columns: minmax(360px, 520px) minmax(0, 1fr);
}

.split-copy {
    max-width: 720px;
}

.image-panel {
    min-height: 430px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 44px rgba(16, 24, 32, .08);
}

.image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-image-panel {
    min-height: 260px;
    box-shadow: none;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.parts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
    min-height: 260px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 58, 46, .35);
    box-shadow: 0 18px 36px rgba(16, 24, 32, .11);
}

.service-card span,
.process-step span,
.value-grid span,
.info-card span {
    width: 44px;
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #fff;
    background: var(--charcoal);
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 900;
}

.service-card a,
.contact-panel a,
.sitemap-list a {
    color: var(--steel);
    font-weight: 900;
}

.category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-strip a,
.category-strip span {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 0 16px;
    color: var(--charcoal);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 900;
    text-decoration: none;
}

.symptom-strip span {
    background: #fff;
}

.feature-list,
.check-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 26px 0 0;
    list-style: none;
}

.feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-list li,
.check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--charcoal);
    font-weight: 820;
}

.feature-list li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 14px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--red);
}

.process-grid,
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-step,
.value-grid article,
.info-card,
.contact-panel,
.site-form,
.admin-panel,
.stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.process-step,
.value-grid article,
.info-card {
    padding: 26px;
}

.feature-band {
    color: #fff;
    background:
        linear-gradient(90deg, rgba(16, 24, 32, .97), rgba(18, 36, 58, .94)),
        url("../images/photos/hero-workshop.jpg") center / cover no-repeat;
}

.feature-band h2,
.feature-band h3 {
    color: #fff;
}

.feature-band .eyebrow {
    color: var(--amber);
}

.feature-band-inner {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: 44px;
    align-items: start;
}

.feature-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.feature-columns div {
    padding: 24px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
}

.light-columns div {
    background: #fff;
    border-color: var(--line);
}

.light-columns h3 {
    color: var(--charcoal);
}

.light-columns p {
    color: var(--muted);
}

.feature-columns p {
    color: rgba(255, 255, 255, .74);
}

.light-columns p {
    color: var(--muted);
}

.service-check-grid article {
    min-height: 160px;
}

.cta-section {
    width: 100%;
    padding: 78px 20px;
    text-align: center;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cta-section h2,
.cta-section p {
    max-width: 790px;
    margin-left: auto;
    margin-right: auto;
}

.location-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 24px;
    align-items: stretch;
}

.contact-panel {
    padding: 30px;
}

.map-placeholder {
    min-height: 430px;
    overflow: hidden;
    background: #e7edf4;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.map-placeholder.small {
    min-height: 300px;
    margin-top: 18px;
}

.map-placeholder iframe {
    width: 100%;
    min-height: inherit;
    height: 100%;
    border: 0;
}

.page-hero {
    color: #fff;
    background:
        linear-gradient(90deg, rgba(16, 24, 32, .97), rgba(18, 36, 58, .9), rgba(18, 36, 58, .72)),
        url("../images/photos/hero-workshop.jpg") center right / cover no-repeat;
}

.page-hero > div {
    width: var(--container);
    margin: 0 auto;
    padding: 86px 0;
}

.compact-hero h1,
.form-hero h1 {
    font-size: 52px;
}

.form-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.form-sidebar {
    display: grid;
    gap: 18px;
}

.site-form {
    display: grid;
    gap: 18px;
    padding: 30px;
}

.form-heading {
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
}

.form-heading h2 {
    font-size: 28px;
}

.form-heading p,
label small {
    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--charcoal);
    font-weight: 900;
}

input,
textarea,
select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font: inherit;
}

input:focus,
textarea:focus,
select:focus {
    outline: 3px solid rgba(216, 58, 46, .18);
    border-color: rgba(216, 58, 46, .55);
}

textarea {
    resize: vertical;
}

label span {
    color: var(--red);
    font-size: 14px;
    font-weight: 800;
}

.form-security-notice {
    margin: 0;
    padding: 14px;
    color: #7a2f00;
    background: #fff4e1;
    border: 1px solid #f5c56b;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 800;
}

.contact-cards .section-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.info-card h2 {
    font-size: 23px;
    overflow-wrap: anywhere;
}

.service-deep-dive {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.service-deep-dive article,
.legal-section,
.legal-intro {
    padding: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.legal {
    max-width: 920px;
    display: grid;
    gap: 18px;
}

.legal h2 {
    font-size: 27px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details,
.sitemap-list a {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.faq-list summary {
    color: var(--charcoal);
    font-weight: 900;
    cursor: pointer;
}

.faq-list details[open] {
    border-color: rgba(216, 58, 46, .32);
}

.sitemap-groups {
    display: grid;
    gap: 24px;
}

.sitemap-group h2 {
    font-size: 28px;
}

.sitemap-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sitemap-list a {
    text-decoration: none;
}

.error-page {
    width: min(760px, calc(100% - 40px));
    min-height: 60vh;
    margin: 0 auto;
    display: grid;
    align-content: center;
}

.site-footer {
    color: rgba(255, 255, 255, .78);
    background: #0b1118;
}

.footer-cta {
    width: var(--container);
    margin: 0 auto;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 48px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-cta h2,
.footer-grid h2,
.footer-brand {
    color: #fff;
}

.footer-cta .eyebrow {
    color: var(--amber);
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-grid {
    width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 28px;
    padding: 58px 0;
}

.footer-grid h2 {
    font-size: 15px;
    text-transform: uppercase;
}

.footer-grid p {
    margin-bottom: 12px;
}

.footer-grid a {
    display: block;
    margin: 8px 0;
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-notice {
    color: rgba(255, 255, 255, .58);
    font-size: 14px;
}

.footer-bottom {
    width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom a {
    color: rgba(255, 255, 255, .72);
}

.back-to-top {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: var(--radius);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.back-to-top:hover,
.back-to-top:focus {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    outline: none;
}

.back-to-top span {
    color: var(--amber);
    font-size: 18px;
    line-height: 1;
}

.cookie-notice {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 70;
    max-width: 760px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cookie-notice p {
    margin: 0;
}

.admin-auth-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: var(--charcoal);
}

.admin-login {
    width: min(440px, calc(100% - 36px));
}

.login-brand {
    justify-content: center;
    margin-bottom: 18px;
    color: #fff;
}

.login-form h1 {
    margin-bottom: 0;
    font-size: 34px;
}

.admin-body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px 1fr;
    background: var(--soft);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 26px;
    color: #fff;
    background: var(--charcoal);
    overflow-y: auto;
}

.admin-logo {
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    text-decoration: none;
}

.admin-sidebar nav,
.admin-nav-group {
    display: grid;
    gap: 8px;
}

.admin-nav-group {
    gap: 6px;
}

.admin-nav-group + .admin-nav-group {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.admin-nav-group span {
    color: rgba(255, 255, 255, .48);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-sidebar nav a {
    padding: 10px 12px;
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    border-radius: var(--radius);
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

.admin-sidebar nav a.active {
    box-shadow: inset 3px 0 0 var(--red);
}

.admin-main {
    min-width: 0;
    padding: 34px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 26px;
}

.admin-header h1 {
    margin-bottom: 0;
    font-size: 40px;
}

.admin-header-note {
    max-width: 680px;
    margin: 8px 0 0;
    color: var(--muted);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.stat-card {
    padding: 24px;
    text-decoration: none;
}

.stat-card span {
    display: block;
    color: var(--red);
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
}

.stat-card strong,
.stat-card small {
    display: block;
}

.stat-card small {
    color: var(--muted);
}

.admin-panel {
    padding: 24px;
}

.table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    min-width: 960px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.admin-table th {
    color: var(--charcoal);
    font-size: 13px;
    text-transform: uppercase;
}

.status {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.status.unread {
    color: #842029;
    background: #f8d7da;
}

.status.read {
    color: #0f5132;
    background: #d1e7dd;
}

.table-actions {
    display: grid;
    gap: 8px;
}

.table-actions button {
    width: 100%;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
}

.settings-form {
    display: grid;
    gap: 24px;
}

.admin-section-tabs {
    position: sticky;
    top: 18px;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    padding: 10px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(16, 24, 32, .08);
    backdrop-filter: blur(12px);
}

.admin-section-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    color: var(--charcoal);
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 900;
}

.admin-section-tabs a:hover,
.admin-section-tabs a.active {
    color: var(--red-dark);
    background: #fff7f6;
    border-color: rgba(216, 58, 46, .22);
}

.admin-section-card {
    scroll-margin-top: 96px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 36px rgba(16, 24, 32, .07);
}

.admin-section-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}

.admin-section-card summary::-webkit-details-marker {
    display: none;
}

.admin-section-card summary::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    color: var(--red);
    background: #fff7f6;
    border-radius: 999px;
    font-size: 20px;
    font-weight: 900;
}

.admin-section-card[open] summary::after {
    content: "−";
}

.admin-section-card summary strong,
.admin-section-card summary small {
    display: block;
}

.admin-section-card summary strong {
    color: var(--charcoal);
    font-size: 20px;
}

.admin-section-card summary small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.admin-section-card > .settings-grid,
.admin-section-card > .content-editor-list,
.admin-section-card > .settings-media {
    padding: 0 20px 20px;
}

.settings-media {
    display: grid;
    grid-template-columns: 1fr minmax(180px, 260px) minmax(180px, 260px);
    gap: 18px;
    align-items: end;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.settings-grid .wide {
    grid-column: 1 / -1;
}

.admin-save-bar {
    position: sticky;
    bottom: 18px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    color: var(--charcoal);
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 40px rgba(16, 24, 32, .1);
    backdrop-filter: blur(12px);
}

.admin-save-bar span {
    color: var(--muted);
    font-weight: 800;
}

.content-editor-list {
    display: grid;
    gap: 18px;
}

.content-editor {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.content-editor legend {
    padding: 0 8px;
    color: var(--charcoal);
    font-weight: 900;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroMove {
    from {
        transform: scale(1.02) translateX(0);
    }
    to {
        transform: scale(1.05) translateX(-14px);
    }
}

@media (max-width: 1120px) {
    h1 {
        font-size: 54px;
    }

    .service-grid,
    .process-grid,
    .contact-cards .section-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .top-bar-inner {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
    }

    .header-inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav,
    .header-call {
        display: none;
    }

    .site-nav.open {
        display: grid;
        grid-column: 1 / -1;
        justify-content: stretch;
        padding-bottom: 16px;
    }

    .split-section,
    .split-section.reverse,
    .location-grid,
    .form-layout,
    .feature-band-inner,
    .value-grid,
    .service-deep-dive,
    .admin-stats,
    .settings-media,
    .sitemap-list {
        grid-template-columns: 1fr;
    }

    .image-panel {
        min-height: 340px;
    }

    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .admin-section-tabs {
        position: static;
    }
}

@media (max-width: 680px) {
    :root {
        --container: min(100% - 28px, 1160px);
    }

    body {
        font-size: 15px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content,
    .page-hero > div {
        padding: 64px 0;
    }

    h1,
    .compact-hero h1,
    .form-hero h1 {
        font-size: 38px;
        line-height: 1.05;
    }

    h2 {
        font-size: 30px;
    }

    .top-bar span {
        display: none;
    }

    .brand img {
        height: 48px;
        max-width: 212px;
    }

    .footer-brand img,
    .login-brand img {
        height: 52px;
        max-width: 230px;
    }

    .footer-brand.footer-brand-compact img {
        width: 44px;
        height: 44px;
        max-width: 44px;
    }

    .trust-strip,
    .service-grid,
    .parts-grid,
    .process-grid,
    .feature-columns,
    .feature-list,
    .form-grid,
    .contact-cards .section-inner,
    .settings-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        width: 100%;
        margin-top: 0;
        border-radius: 0;
    }

    .trust-strip div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .section {
        padding: 62px 0;
    }

    .hero-actions,
    .inline-actions,
    .footer-cta,
    .footer-cta-actions,
    .footer-bottom,
    .admin-header,
    .admin-save-bar,
    .cookie-notice {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-section-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-section-card summary {
        align-items: flex-start;
        padding: 16px;
    }

    .admin-section-card > .settings-grid,
    .admin-section-card > .content-editor-list,
    .admin-section-card > .settings-media {
        padding: 0 16px 16px;
    }

    .site-form,
    .contact-panel,
    .admin-panel {
        padding: 22px;
    }

    .admin-main {
        padding: 20px;
    }
}

/* Refined admin workspace */
.admin-body {
    grid-template-columns: 292px minmax(0, 1fr);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, 0) 280px),
        #eef2f6;
}

.admin-sidebar {
    gap: 20px;
    padding: 22px;
    background:
        linear-gradient(180deg, rgba(216, 58, 46, .12), rgba(216, 58, 46, 0) 220px),
        #07111b;
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.admin-logo {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    letter-spacing: 0;
}

.admin-nav {
    gap: 18px;
}

.admin-nav-group {
    gap: 5px;
}

.admin-nav-group span {
    padding: 0 12px 5px;
}

.admin-sidebar nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    font-weight: 800;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
    background: rgba(255, 255, 255, .09);
}

.admin-sidebar nav a.active {
    color: #fff;
    box-shadow: inset 3px 0 0 var(--red);
}

.admin-main {
    width: min(100%, 1400px);
    padding: 38px 44px 54px;
}

.admin-header {
    align-items: flex-start;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(16, 24, 32, .08);
}

.admin-header h1 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1;
}

.admin-header-note {
    max-width: 720px;
    font-size: 16px;
}

.admin-editor-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.admin-editor-layout-narrow {
    max-width: 980px;
}

.admin-section-tabs {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid rgba(16, 24, 32, .08);
    border-radius: var(--radius);
    box-shadow: none;
    backdrop-filter: none;
}

.admin-section-tabs::before {
    content: "Sections";
    padding: 8px 10px 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-section-tabs a {
    justify-content: flex-start;
    min-height: 42px;
    padding: 10px 12px;
    color: #334155;
    border: 0;
    border-radius: 6px;
    font-size: 14px;
}

.admin-section-tabs a:hover,
.admin-section-tabs a.active {
    color: var(--charcoal);
    background: #f3f6fa;
    box-shadow: inset 3px 0 0 var(--red);
}

.admin-editor-form {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.admin-section-panel {
    scroll-margin-top: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(16, 24, 32, .08);
    border-radius: var(--radius);
}

.admin-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 26px;
    background: linear-gradient(180deg, #fff, #f9fbfd);
    border-bottom: 1px solid var(--line);
}

.admin-section-heading h2 {
    margin: 0;
    font-size: 26px;
}

.admin-section-heading p {
    max-width: 680px;
    margin: 6px 0 0;
    color: var(--muted);
}

.admin-section-panel > .settings-grid,
.admin-section-panel > .settings-media,
.admin-section-panel > .content-editor-list {
    padding: 24px 26px 26px;
}

.settings-grid {
    gap: 20px;
}

.settings-grid label,
.content-editor label {
    gap: 7px;
    color: #263241;
    font-size: 14px;
}

.settings-media {
    align-items: center;
}

.settings-media h3 {
    margin-bottom: 8px;
}

.settings-media p {
    margin: 0;
    color: var(--muted);
}

.admin-body input,
.admin-body textarea,
.admin-body select {
    background: #fbfcfe;
    border-color: #d7e0ea;
}

.admin-body textarea {
    min-height: 118px;
}

.content-editor-list {
    gap: 0;
}

.content-editor {
    padding: 24px 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
}

.content-editor:first-child {
    padding-top: 0;
    border-top: 0;
}

.content-editor:last-child {
    padding-bottom: 0;
}

.content-editor legend {
    padding: 0 0 10px;
    font-size: 18px;
}

.admin-save-bar {
    bottom: 22px;
    padding: 14px 18px;
    border-color: rgba(16, 24, 32, .1);
}

.admin-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.stat-card {
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(16, 24, 32, .08);
    border-radius: var(--radius);
    box-shadow: none;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(216, 58, 46, .25);
}

.stat-card span {
    color: var(--charcoal);
    font-size: 46px;
}

.stat-card strong {
    margin-top: 10px;
    color: #263241;
}

.admin-panel {
    background: #fff;
    border: 1px solid rgba(16, 24, 32, .08);
    border-radius: var(--radius);
    box-shadow: none;
}

.table-wrap {
    padding: 0;
}

.admin-table {
    min-width: 980px;
}

.admin-table th {
    padding: 16px 18px;
    background: #f8fafc;
}

.admin-table td {
    padding: 18px;
}

.table-actions button {
    min-height: 38px;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .admin-editor-layout {
        grid-template-columns: 1fr;
    }

    .admin-section-tabs {
        position: static;
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
    }

    .admin-section-tabs::before {
        display: none;
    }
}

@media (max-width: 920px) {
    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-main {
        width: 100%;
        padding: 28px;
    }
}

@media (max-width: 680px) {
    .admin-main {
        padding: 20px;
    }

    .admin-header {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-section-tabs {
        display: grid;
        grid-template-columns: 1fr;
        white-space: normal;
    }

    .admin-section-heading,
    .admin-section-panel > .settings-grid,
    .admin-section-panel > .settings-media,
    .admin-section-panel > .content-editor-list {
        padding: 18px;
    }

    .admin-save-bar {
        position: static;
        align-items: stretch;
        flex-direction: column;
    }
}
