:root {
    --bg: #05080d;
    --bg-soft: #0b1119;
    --ink: #f8fbff;
    --muted: #9aa8b8;
    --panel: rgba(15, 24, 34, 0.78);
    --panel-solid: #101924;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.2);
    --teal: #35e6d6;
    --teal-soft: rgba(53, 230, 214, 0.15);
    --red: #ef3434;
    --red-soft: rgba(239, 52, 52, 0.16);
    --amber: #f7b94b;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.admin-page {
    min-height: 100vh;
}

.admin-login-shell {
    width: min(100% - 40px, 560px);
    min-height: 100vh;
    margin-inline: auto;
    padding: 170px 0 72px;
    display: grid;
    align-items: center;
}

.admin-login-card {
    border: 1px solid rgba(53, 230, 214, 0.22);
    border-radius: 8px;
    background:
        radial-gradient(circle at 86% 12%, rgba(53, 230, 214, 0.16), transparent 18rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(10, 15, 23, 0.94);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
    padding: clamp(28px, 5vw, 44px);
}

.admin-login-card h1 {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: clamp(2.1rem, 5vw, 3.8rem);
    line-height: 0.98;
}

.admin-login-card p {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.7;
}

.admin-login-form {
    margin-top: 22px;
}

.admin-alert {
    border: 1px solid rgba(239, 52, 52, 0.44);
    border-radius: 8px;
    background: rgba(239, 52, 52, 0.13);
    color: var(--ink);
    padding: 13px 15px;
    font-weight: 900;
}

.admin-logout-form {
    margin: 0;
}

.admin-logout-button {
    font: inherit;
    cursor: pointer;
}

.admin-shell {
    width: min(100% - 48px, 1280px);
    margin-inline: auto;
    padding: 150px 0 72px;
}

.admin-hero {
    max-width: 860px;
    margin-bottom: 34px;
}

.admin-hero h1 {
    max-width: 780px;
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(2.5rem, 6vw, 5.2rem);
    line-height: 0.94;
}

.admin-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.75fr);
    gap: 18px;
    align-items: start;
}

.admin-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
        rgba(10, 15, 23, 0.9);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.admin-list-panel,
.admin-editor-panel,
.admin-tools-panel {
    padding: 24px;
}

.admin-tools-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
}

.admin-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.admin-panel h2 {
    margin: 0;
    color: var(--text);
    font-size: 1.45rem;
}

.admin-panel p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.admin-icon-button {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(54, 219, 207, 0.35);
    border-radius: 8px;
    background: rgba(54, 219, 207, 0.12);
    color: var(--aqua);
    font-size: 1.7rem;
    font-weight: 900;
    cursor: pointer;
}

.admin-search,
.admin-form label {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-weight: 900;
}

.admin-search input,
.admin-form input,
.admin-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(4, 8, 13, 0.82);
    color: var(--text);
    padding: 14px 16px;
    font: inherit;
    outline: none;
}

.admin-form textarea {
    resize: vertical;
}

.admin-search input:focus,
.admin-form input:focus,
.admin-form textarea:focus {
    border-color: rgba(54, 219, 207, 0.75);
    box-shadow: 0 0 0 4px rgba(54, 219, 207, 0.12);
}

.admin-car-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    max-height: 640px;
    overflow: auto;
    padding-right: 4px;
}

.admin-car-item {
    display: grid;
    gap: 5px;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
    padding: 14px;
    text-align: left;
    cursor: pointer;
}

.admin-car-item strong {
    font-size: 1rem;
}

.admin-car-item span,
.admin-empty,
.admin-status {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.admin-car-item:hover,
.admin-car-item.is-active {
    border-color: rgba(54, 219, 207, 0.55);
    background: rgba(54, 219, 207, 0.1);
}

.admin-status {
    border: 1px solid rgba(245, 198, 107, 0.32);
    border-radius: 999px;
    background: rgba(245, 198, 107, 0.09);
    color: var(--gold);
    padding: 8px 12px;
    white-space: nowrap;
}

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

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

.admin-form-grid label:has(textarea) {
    align-content: start;
}

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

.admin-actions-column {
    justify-content: flex-end;
}

.btn-danger {
    border-color: rgba(255, 46, 52, 0.45);
    background: rgba(255, 46, 52, 0.14);
    color: var(--text);
}

.btn-danger:hover {
    background: rgba(255, 46, 52, 0.22);
}

.admin-file-button {
    cursor: pointer;
}

.admin-image-field {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(54, 219, 207, 0.18);
    border-radius: 8px;
    background: rgba(54, 219, 207, 0.045);
}

.admin-image-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.admin-upload-status {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 850;
}

.admin-image-preview {
    width: min(360px, 100%);
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    display: block;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.28);
}

@media (max-width: 980px) {
    .admin-grid,
    .admin-tools-panel {
        grid-template-columns: 1fr;
    }

    .admin-actions-column {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .admin-shell {
        width: min(100% - 32px, 1280px);
        padding-top: 128px;
    }

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

    .admin-panel-head {
        flex-direction: column;
    }

    .admin-status {
        white-space: normal;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 20% 0%, rgba(53, 230, 214, 0.13), transparent 34rem),
        radial-gradient(circle at 90% 18%, rgba(239, 52, 52, 0.13), transparent 31rem),
        linear-gradient(180deg, #05080d 0%, #0a1017 45%, #05080d 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 72%);
}

a {
    color: inherit;
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 16px;
    left: clamp(16px, 4vw, 48px);
    right: clamp(16px, 4vw, 48px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 12, 18, 0.72);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(22px);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    text-decoration: none;
    font-weight: 900;
}

.brand-logo {
    display: block;
    width: clamp(142px, 16vw, 218px);
    height: 48px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 12px 24px rgba(239, 52, 52, 0.18));
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #dce5ee;
    font-size: 0.9rem;
    font-weight: 800;
}

.site-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 8px;
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--teal);
    background: rgba(255, 255, 255, 0.06);
}

.site-nav a[aria-current="page"] {
    color: var(--teal);
}

.site-nav .nav-cta {
    color: #fff;
    background: var(--red);
}

.site-nav .nav-cta:hover {
    color: #fff;
    background: #c92828;
}

.site-nav .nav-portal {
    color: var(--teal);
    border: 1px solid rgba(53, 230, 214, 0.24);
    background: rgba(53, 230, 214, 0.08);
}

.site-nav .nav-portal:hover {
    color: #071014;
    background: var(--teal);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 132px clamp(20px, 5vw, 72px) 72px;
}

.hero-media,
.hero-media img,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.015);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(5, 8, 13, 0.98) 0%, rgba(5, 8, 13, 0.86) 42%, rgba(5, 8, 13, 0.18) 100%),
        linear-gradient(180deg, rgba(5, 8, 13, 0.08) 66%, var(--bg) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(820px, 100%);
}

.hero-logo {
    display: block;
    width: min(520px, 88vw);
    height: auto;
    margin: 0 0 24px;
    filter: drop-shadow(0 22px 44px rgba(239, 52, 52, 0.18));
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--teal);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 6.4vw, 6rem);
    line-height: 0.92;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(2.05rem, 4vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.12rem;
}

.hero-copy,
.section-heading p,
.contact-copy p,
.split-copy p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.72;
}

.hero-copy {
    max-width: 690px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background: var(--red);
    box-shadow: 0 16px 38px rgba(239, 52, 52, 0.3);
}

.btn-primary:hover {
    background: #c92828;
}

.btn-secondary {
    color: #fff;
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    width: min(620px, 100%);
    margin-top: 34px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.hero-metrics div {
    min-height: 94px;
    padding: 18px;
    background: rgba(8, 14, 22, 0.74);
    backdrop-filter: blur(18px);
}

.hero-metrics strong,
.hero-metrics span {
    display: block;
}

.hero-metrics strong {
    margin-bottom: 6px;
    color: #fff;
    font-size: 1.55rem;
    font-weight: 900;
}

.hero-metrics span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.diagnostic-card {
    position: absolute;
    right: clamp(20px, 5vw, 72px);
    bottom: 76px;
    z-index: 3;
    width: min(390px, calc(100% - 40px));
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 14, 22, 0.74);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
}

.card-topline {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pulse {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--teal);
    box-shadow: 0 0 0 0 rgba(53, 230, 214, 0.7);
    animation: pulse 1.8s infinite;
}

.diagnostic-card h2 {
    font-size: 1.55rem;
}

.scan-list {
    display: grid;
    gap: 10px;
}

.scan-list span {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.scan-list b {
    font-size: 0.9rem;
}

.scan-list em {
    color: var(--teal);
    font-style: normal;
    font-weight: 900;
}

.brand-strip {
    width: min(1180px, calc(100% - 40px));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: 28px auto 0;
}

.brand-card {
    position: relative;
    min-height: 132px;
    display: grid;
    place-items: center;
    gap: 10px;
    overflow: hidden;
    padding: 20px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #dce5ee;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
        rgba(12, 20, 30, 0.86);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.2);
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.brand-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(53, 230, 214, 0.24), transparent 46%),
        linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.12) 42%, transparent 62%);
    transform: translateX(-28%);
    transition: opacity 0.22s ease, transform 0.38s ease;
}

.brand-card img,
.brand-card span {
    position: relative;
    z-index: 1;
}

.brand-card img {
    width: min(104px, 72%);
    height: 54px;
    object-fit: contain;
    opacity: 0.86;
    transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

.brand-card span {
    font-size: 0.98rem;
}

.brand-card:hover {
    transform: translateY(-8px);
    border-color: rgba(53, 230, 214, 0.45);
    background:
        linear-gradient(180deg, rgba(53, 230, 214, 0.12), rgba(239, 52, 52, 0.05)),
        rgba(13, 23, 34, 0.94);
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.34), 0 0 34px rgba(53, 230, 214, 0.08);
}

.brand-card:hover::before {
    opacity: 1;
    transform: translateX(28%);
}

.brand-card:hover img {
    opacity: 1;
    transform: scale(1.08);
    filter: drop-shadow(0 0 12px rgba(53, 230, 214, 0.28));
}

.brand-card:hover span {
    color: #fff;
}

.section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 96px 0;
}

.section-heading {
    max-width: 840px;
    margin-bottom: 40px;
}

.section-heading.compact {
    max-width: 760px;
}

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

.service-card,
.work-grid article,
.contact-form,
.proof-card,
.faq-list details,
.review-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        var(--panel);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.22);
}

.service-card {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    padding: 26px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-card:hover,
.work-grid article:hover,
.proof-card:hover {
    transform: translateY(-4px);
    border-color: rgba(53, 230, 214, 0.34);
}

.service-card p,
.timeline p,
.work-grid p,
.proof-card span,
.faq-list p {
    color: var(--muted);
    line-height: 1.65;
}

.service-card a {
    margin-top: auto;
    color: var(--teal);
    font-weight: 900;
    text-decoration: none;
}

.feature-services {
    padding-top: 0;
}

.feature-carousel {
    position: relative;
}

.carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 16px;
}

.carousel-button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.carousel-button span {
    display: block;
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-1px);
}

.carousel-button:hover {
    transform: translateY(-2px);
    border-color: rgba(53, 230, 214, 0.38);
    color: var(--teal);
    background: rgba(53, 230, 214, 0.1);
}

.feature-service-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 18px;
    scroll-behavior: smooth;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(53, 230, 214, 0.44) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
}

.feature-service-grid::-webkit-scrollbar {
    height: 8px;
}

.feature-service-grid::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.feature-service-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(90deg, var(--red), var(--teal));
}

.feature-service {
    position: relative;
    flex: 0 0 clamp(320px, 32vw, 390px);
    min-height: 278px;
    display: block;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.022)),
        rgba(12, 20, 30, 0.82);
    color: #fff;
    text-decoration: none;
    scroll-snap-align: start;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.feature-service::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 1;
    background:
        linear-gradient(180deg, rgba(5, 8, 13, 0.02) 0%, rgba(5, 8, 13, 0.08) 42%, rgba(5, 8, 13, 0.88) 100%),
        radial-gradient(circle at 16% 0%, rgba(239, 52, 52, 0.08), transparent 34%),
        radial-gradient(circle at 92% 100%, rgba(53, 230, 214, 0.12), transparent 42%);
    transition: opacity 0.22s ease;
}

.feature-photo {
    width: 100%;
    height: 100%;
    min-height: 278px;
    display: block;
    object-fit: cover;
    transition: transform 0.32s ease, filter 0.22s ease;
}

.feature-service strong {
    position: relative;
    z-index: 2;
}

.feature-service strong {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px;
    line-height: 1.25;
}

.feature-service:hover {
    transform: translateY(-6px);
    border-color: rgba(53, 230, 214, 0.42);
    background:
        linear-gradient(180deg, rgba(53, 230, 214, 0.08), rgba(239, 52, 52, 0.04)),
        rgba(13, 23, 34, 0.94);
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.3), 0 0 28px rgba(53, 230, 214, 0.06);
}

.feature-service:hover::before {
    opacity: 0.82;
}

.feature-service:hover .feature-photo {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.04);
}

.retrofit-book-section {
    padding-top: 30px;
}

.retrofit-book-panel {
    position: relative;
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    overflow: hidden;
    min-height: 520px;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid rgba(247, 185, 75, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(247, 185, 75, 0.13), transparent 34%),
        radial-gradient(circle at 92% 18%, rgba(53, 230, 214, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.022)),
        rgba(10, 16, 24, 0.9);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.retrofit-book-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(247, 185, 75, 0.08), transparent),
        linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px);
    background-size: 100% 100%, 100% 38px;
}

.retrofit-book-copy,
.retrofit-book-visual {
    position: relative;
    z-index: 1;
}

.retrofit-book-copy h2 {
    max-width: 560px;
}

.retrofit-book-copy p {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.72;
}

.retrofit-book-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.retrofit-book-tags span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 13px;
    border: 1px solid rgba(247, 185, 75, 0.28);
    border-radius: 8px;
    color: #ffdb78;
    background: rgba(247, 185, 75, 0.1);
    font-size: 0.82rem;
    font-weight: 900;
}

.retrofit-book-visual {
    min-height: 430px;
    display: grid;
    place-items: center;
}

.book-card {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: #090d13;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.book-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.book-card-main {
    width: min(100%, 660px);
    aspect-ratio: 1.5 / 1;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: rotate(-4deg) translateY(10px);
}

.book-card-main img {
    object-fit: contain;
    filter: drop-shadow(0 32px 34px rgba(0, 0, 0, 0.42));
}

.icon {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(53, 230, 214, 0.24);
    border-radius: 8px;
    color: var(--teal);
    background: var(--teal-soft);
    font-weight: 900;
}

.split-section {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 42px;
    align-items: start;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.proof-card {
    min-height: 180px;
    padding: 24px;
}

.proof-card strong,
.proof-card span {
    display: block;
}

.proof-card strong {
    margin-bottom: 10px;
}

.portal-section {
    padding-top: 0;
}

.portal-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 26px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid rgba(53, 230, 214, 0.22);
    border-radius: 8px;
    background:
        radial-gradient(circle at 12% 18%, rgba(53, 230, 214, 0.18), transparent 30%),
        radial-gradient(circle at 92% 16%, rgba(239, 52, 52, 0.18), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.portal-copy {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    justify-content: center;
}

.portal-copy h2 {
    max-width: 720px;
    margin-bottom: 22px;
}

.portal-copy p {
    max-width: 700px;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.8;
}

.portal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.portal-visual {
    display: grid;
    gap: 14px;
    align-content: start;
}

.portal-demo-frame {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(53, 230, 214, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(53, 230, 214, 0.08), rgba(239, 52, 52, 0.08)),
        #070c12;
    box-shadow: 0 28px 58px rgba(0, 0, 0, 0.32);
}

.portal-demo-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 30%),
        radial-gradient(circle at 82% 12%, rgba(53, 230, 214, 0.2), transparent 34%);
}

.portal-demo-frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1500 / 980;
    object-fit: cover;
}

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

.portal-card div {
    min-height: 112px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(53, 230, 214, 0.055), rgba(239, 52, 52, 0.045)),
        rgba(8, 13, 20, 0.72);
}

.portal-card span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.portal-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: 1rem;
}

.portal-card p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.process-section {
    background:
        linear-gradient(135deg, rgba(53, 230, 214, 0.1), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    border-block: 1px solid var(--line);
}

.process-inner {
    padding-block: 96px;
}

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

.timeline div {
    min-height: 238px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
}

.timeline span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    margin-bottom: 30px;
    border-radius: 8px;
    background: var(--red);
    font-weight: 900;
}

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

.work-grid article {
    min-height: 190px;
    padding: 28px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.reviews-section {
    padding-top: 24px;
}

.review-panel {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: center;
    padding: 32px;
}

.review-panel p {
    max-width: 620px;
    color: var(--muted);
    line-height: 1.65;
}

.review-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.review-stats div {
    min-height: 132px;
    display: grid;
    align-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.045);
}

.review-stats strong,
.review-stats span {
    display: block;
}

.review-stats strong {
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 900;
}

.review-stats span {
    color: var(--muted);
    line-height: 1.45;
}

.faq-section {
    padding-top: 32px;
}

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

.faq-list details {
    padding: 22px 24px;
}

.faq-list summary {
    cursor: pointer;
    color: #fff;
    font-weight: 900;
}

.faq-list p {
    margin: 14px 0 0;
}

.contact-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
    align-items: start;
}

.contact-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
    font-weight: 900;
}

.contact-list a {
    color: var(--teal);
    text-decoration: none;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 28px;
}

.form-status {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(53, 230, 214, 0.26);
    border-radius: 8px;
    color: #dffdf9;
    background: rgba(53, 230, 214, 0.1);
    line-height: 1.5;
}

.form-status.is-error {
    border-color: rgba(239, 52, 52, 0.34);
    color: #ffe9e9;
    background: rgba(239, 52, 52, 0.12);
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: #eaf0f7;
    font-weight: 900;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 15px 16px;
    color: #f8fbff;
    background: rgba(7, 12, 18, 0.86);
    font: inherit;
    caret-color: var(--teal);
    outline: none;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(248, 251, 255, 0.44);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(53, 230, 214, 0.62);
    background: rgba(10, 16, 24, 0.96);
    box-shadow: 0 0 0 3px rgba(53, 230, 214, 0.13);
}

.contact-form input:-webkit-autofill,
.contact-form textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #0a1018 inset;
    -webkit-text-fill-color: #f8fbff;
}

.contact-form textarea {
    resize: vertical;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 32px clamp(20px, 4vw, 56px);
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.site-footer a {
    color: var(--teal);
    font-weight: 900;
    text-decoration: none;
}

.references-page {
    background:
        radial-gradient(circle at 22% 0%, rgba(53, 230, 214, 0.12), transparent 34rem),
        radial-gradient(circle at 82% 18%, rgba(239, 52, 52, 0.16), transparent 31rem),
        linear-gradient(180deg, #05080d 0%, #081019 48%, #05080d 100%);
}

.references-hero {
    width: min(1180px, calc(100% - 40px));
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 34px;
    align-items: end;
    margin: 0 auto;
    padding: 154px 0 34px;
}

.references-hero .section-heading {
    margin-bottom: 0;
}

.references-hero h1 {
    max-width: 940px;
    margin-bottom: 22px;
    font-size: clamp(3rem, 6.4vw, 6.7rem);
    line-height: 0.92;
}

.reference-summary {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
}

.reference-summary div {
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
        rgba(12, 20, 30, 0.86);
}

.reference-summary strong,
.reference-summary span {
    display: block;
}

.reference-summary strong {
    margin-bottom: 8px;
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
}

.reference-summary span {
    color: var(--muted);
    line-height: 1.45;
}

.references-section {
    padding-top: 42px;
}

.references-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.references-toolbar h2 {
    margin-bottom: 0;
}

.reference-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0 0 28px;
}

.reference-filter-btn {
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid rgba(53, 230, 214, 0.28);
    border-radius: 8px;
    color: #dce5ee;
    background: rgba(13, 21, 31, 0.78);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0;
    cursor: pointer;
    transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.reference-filter-btn:hover {
    transform: translateY(-2px);
    color: var(--teal);
    border-color: rgba(53, 230, 214, 0.48);
}

.reference-filter-btn.is-active {
    color: #061013;
    border-color: rgba(53, 230, 214, 0.8);
    background: var(--teal);
    box-shadow: 0 14px 34px rgba(53, 230, 214, 0.14);
}

.reference-filter-empty {
    margin: 0 0 28px;
    padding: 16px 18px;
    border: 1px solid rgba(245, 176, 74, 0.32);
    border-radius: 8px;
    color: #ffd280;
    background: rgba(245, 176, 74, 0.08);
    font-weight: 850;
}

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

.reference-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        rgba(12, 20, 30, 0.86);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.24);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.reference-card:hover {
    transform: translateY(-6px);
    border-color: rgba(53, 230, 214, 0.38);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.reference-card.is-hidden {
    display: none;
}

.reference-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #080d14;
}

.reference-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.34s ease, filter 0.34s ease;
}

.reference-card:hover .reference-media img {
    transform: scale(1.045);
    filter: saturate(1.08) contrast(1.04);
}

.reference-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(5, 8, 13, 0.76));
}

.reference-media span {
    position: absolute;
    z-index: 1;
    right: 14px;
    bottom: 14px;
    padding: 8px 10px;
    border: 1px solid rgba(53, 230, 214, 0.36);
    border-radius: 8px;
    color: var(--teal);
    background: rgba(5, 8, 13, 0.78);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
}

.reference-body {
    display: grid;
    gap: 14px;
    padding: 20px;
}

.reference-kicker {
    margin: 0;
    color: var(--teal);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.reference-body h3 {
    margin: 0;
    font-size: 1.24rem;
}

.reference-body p:not(.reference-kicker) {
    margin: 0;
    color: var(--muted);
    line-height: 1.58;
}

.reference-meta,
.reference-dialog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reference-meta span,
.reference-dialog-tags span {
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #dce5ee;
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.78rem;
    font-weight: 850;
}

.reference-info {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(53, 230, 214, 0.38);
    border-radius: 8px;
    color: #061013;
    background: var(--teal);
    font: inherit;
    font-weight: 950;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.reference-info:hover {
    transform: translateY(-2px);
    background: #70fff2;
}

.reference-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

.reference-actions .reference-info {
    grid-column: 1 / -1;
    width: 100%;
}

.reference-share,
.reference-facebook {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #f3f7fb;
    background: rgba(255, 255, 255, 0.055);
    font: inherit;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.reference-share {
    padding: 0 14px;
}

.reference-facebook {
    padding: 0 13px;
}

.reference-share:hover,
.reference-facebook:hover {
    transform: translateY(-2px);
    border-color: rgba(53, 230, 214, 0.45);
    color: var(--teal);
    background: rgba(53, 230, 214, 0.09);
}

.virtual-cockpit-page {
    background:
        radial-gradient(circle at 18% 4%, rgba(53, 230, 214, 0.14), transparent 36rem),
        radial-gradient(circle at 82% 18%, rgba(239, 52, 52, 0.16), transparent 32rem),
        linear-gradient(180deg, #05080d 0%, #09111b 50%, #05080d 100%);
}

.cockpit-hero {
    position: relative;
    isolation: isolate;
    width: min(100% - 48px, 1180px);
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
    align-items: center;
    gap: clamp(28px, 4vw, 58px);
    margin-inline: auto;
    padding-top: 138px;
    padding-bottom: 72px;
}

.cockpit-hero::before {
    content: "";
    position: absolute;
    inset: 0 calc(50% - 50vw);
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5, 8, 13, 0.98) 0%, rgba(5, 8, 13, 0.88) 48%, rgba(5, 8, 13, 0.62) 100%),
        linear-gradient(180deg, rgba(5, 8, 13, 0.12) 62%, #05080d 100%),
        url("assets/service-photos/skoda-octavia-3-2016-virtual-cockpit-main.jpg") center / cover no-repeat;
    opacity: 0.92;
}

.cockpit-hero::after {
    content: "";
    position: absolute;
    inset: 132px 0 auto 0;
    z-index: -1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(53, 230, 214, 0.44), transparent);
}

.cockpit-hero-copy {
    display: grid;
    gap: 22px;
}

.cockpit-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(3rem, 6.3vw, 6.1rem);
    line-height: 0.94;
    letter-spacing: 0;
}

.cockpit-hero p:not(.eyebrow) {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    line-height: 1.72;
}

.cockpit-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}

.cockpit-configurator {
    display: grid;
    gap: 20px;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background:
        radial-gradient(circle at 100% 0%, rgba(53, 230, 214, 0.14), transparent 20rem),
        linear-gradient(180deg, rgba(10, 16, 24, 0.92), rgba(5, 8, 13, 0.92));
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(14px);
}

.cockpit-configurator h2 {
    max-width: 460px;
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 3.05rem);
    line-height: 1.08;
}

.cockpit-picker {
    display: grid;
    gap: 16px;
}

.cockpit-picker label {
    display: grid;
    gap: 8px;
    color: #e9eff6;
    font-weight: 900;
}

.cockpit-picker select {
    width: 100%;
    min-height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(5, 8, 13, 0.78);
    padding: 0 15px;
    font: inherit;
    font-weight: 850;
    outline: none;
}

.cockpit-picker select:disabled {
    color: rgba(238, 243, 249, 0.48);
    background: rgba(255, 255, 255, 0.055);
    cursor: not-allowed;
}

.cockpit-picker select:focus {
    border-color: rgba(53, 230, 214, 0.62);
    box-shadow: 0 0 0 4px rgba(53, 230, 214, 0.12);
}

.cockpit-selected {
    display: grid;
    gap: 12px;
    padding-top: 4px;
}

.cockpit-selected h3 {
    margin: 0;
    font-size: clamp(1.35rem, 2.2vw, 2.15rem);
    line-height: 1.12;
}

.cockpit-selected p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
    line-height: 1.58;
}

.cockpit-request.is-disabled {
    opacity: 0.5;
    filter: grayscale(0.6);
    cursor: not-allowed;
    transform: none;
}

.cockpit-search-section {
    padding-top: 20px;
}

.cockpit-tool {
    display: grid;
    gap: 20px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        radial-gradient(circle at 90% 0%, rgba(53, 230, 214, 0.12), transparent 24rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.024)),
        rgba(12, 20, 30, 0.84);
    box-shadow: 0 26px 78px rgba(0, 0, 0, 0.28);
}

.cockpit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
    gap: 18px;
}

.cockpit-results {
    display: grid;
    gap: 10px;
    align-content: start;
    max-height: 620px;
    overflow: auto;
    padding-right: 4px;
}

.cockpit-result-card {
    width: 100%;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.044);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.cockpit-result-card:hover,
.cockpit-result-card[data-active="true"] {
    transform: translateY(-2px);
    border-color: rgba(53, 230, 214, 0.42);
    background: rgba(53, 230, 214, 0.085);
}

.cockpit-result-card span {
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cockpit-result-card strong {
    font-size: 1.08rem;
}

.cockpit-result-card small {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.cockpit-empty {
    padding: 18px;
    border: 1px solid rgba(247, 185, 75, 0.26);
    border-radius: 8px;
    color: #f7d388;
    background: rgba(247, 185, 75, 0.08);
    font-weight: 850;
    line-height: 1.55;
}

.cockpit-detail {
    min-width: 0;
    display: grid;
    gap: 16px;
    align-content: start;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(53, 230, 214, 0.18);
    border-radius: 8px;
    background:
        radial-gradient(circle at 88% 8%, rgba(53, 230, 214, 0.12), transparent 18rem),
        rgba(5, 8, 13, 0.58);
}

.cockpit-detail h3 {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.65rem);
    line-height: 1.08;
}

.cockpit-detail p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.65;
}

.cockpit-platform {
    width: fit-content;
    padding: 9px 12px;
    border: 1px solid rgba(53, 230, 214, 0.38);
    border-radius: 8px;
    color: var(--accent);
    background: rgba(53, 230, 214, 0.08);
    font-weight: 900;
}

.cockpit-price {
    width: fit-content;
    padding: 10px 12px;
    border: 1px solid rgba(247, 185, 75, 0.35);
    border-radius: 8px;
    color: #f7d388;
    background: rgba(247, 185, 75, 0.1);
    font-weight: 950;
}

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

.cockpit-detail-grid div {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.cockpit-detail-grid strong {
    display: block;
    margin-bottom: 10px;
    color: #edf4fb;
    font-size: 0.96rem;
}

.cockpit-detail-grid ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cockpit-detail-grid li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.48;
}

.cockpit-detail-grid li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--teal);
}

.cockpit-request {
    justify-self: start;
    margin-top: 6px;
}

.cockpit-preview-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(53, 230, 214, 0.18);
    border-radius: 8px;
    background: rgba(5, 8, 13, 0.7);
}

.cockpit-preview-card img {
    width: 100%;
    aspect-ratio: 16 / 11;
    display: block;
    object-fit: cover;
}

.cockpit-preview-card div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px;
}

.cockpit-preview-card span {
    padding: 8px 10px;
    border: 1px solid rgba(53, 230, 214, 0.26);
    border-radius: 8px;
    color: var(--teal);
    background: rgba(53, 230, 214, 0.08);
    font-size: 0.82rem;
    font-weight: 900;
}

.cockpit-info-section {
    padding-top: 34px;
}

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

.cockpit-feature {
    min-width: 0;
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.054), rgba(255, 255, 255, 0.022)),
        rgba(12, 20, 30, 0.82);
}

.cockpit-feature span {
    color: var(--teal);
    font-weight: 950;
    letter-spacing: 0.12em;
}

.cockpit-feature h3,
.cockpit-feature p {
    margin: 0;
}

.cockpit-feature p {
    color: var(--muted);
    line-height: 1.6;
}

.downloads-page {
    background:
        radial-gradient(circle at 20% 0%, rgba(53, 230, 214, 0.14), transparent 34rem),
        radial-gradient(circle at 88% 24%, rgba(239, 52, 52, 0.14), transparent 30rem),
        linear-gradient(180deg, #05080d 0%, #07101a 48%, #05080d 100%);
}

.downloads-hero h1 {
    max-width: 980px;
}

.download-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.download-summary strong {
    color: var(--teal);
}

.downloads-section {
    padding-top: 42px;
}

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

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

.download-card {
    min-width: 0;
    display: grid;
    gap: 16px;
    align-content: start;
    min-height: 100%;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.024)),
        rgba(12, 20, 30, 0.84);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.24);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: rgba(53, 230, 214, 0.36);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.download-card-featured {
    background:
        radial-gradient(circle at 88% 0%, rgba(53, 230, 214, 0.13), transparent 20rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.026)),
        rgba(12, 20, 30, 0.88);
}

.download-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.download-badge,
.download-state {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.download-badge {
    padding: 0 10px;
    color: var(--teal);
    border: 1px solid rgba(53, 230, 214, 0.28);
    background: rgba(53, 230, 214, 0.08);
}

.download-state {
    padding: 0 9px;
    color: #081015;
    background: var(--teal);
}

.download-state.is-soon {
    color: #f7d388;
    border: 1px solid rgba(247, 185, 75, 0.34);
    background: rgba(247, 185, 75, 0.1);
}

.download-card h3 {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.22;
}

.download-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.download-meta span {
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #dce5ee;
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.76rem;
    font-weight: 850;
}

.download-action {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    padding: 0 14px;
    border: 1px solid rgba(53, 230, 214, 0.38);
    border-radius: 8px;
    color: #071014;
    background: var(--teal);
    font-weight: 950;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease;
}

.download-action:hover {
    transform: translateY(-2px);
    background: #70fff2;
}

.download-action.is-disabled {
    color: #adb8c4;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.download-note {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    padding: 20px 22px;
    border: 1px solid rgba(247, 185, 75, 0.3);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(247, 185, 75, 0.1), rgba(255, 255, 255, 0.02)),
        rgba(12, 20, 30, 0.82);
}

.download-note strong {
    color: #f7d388;
    font-size: 1rem;
}

.download-note p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.resource-section {
    padding-top: 46px;
}

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

.resource-link {
    min-width: 0;
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(53, 230, 214, 0.08), rgba(255, 255, 255, 0.024)),
        rgba(12, 20, 30, 0.82);
    text-decoration: none;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.resource-link:hover {
    transform: translateY(-4px);
    border-color: rgba(53, 230, 214, 0.36);
    background:
        linear-gradient(135deg, rgba(53, 230, 214, 0.13), rgba(255, 255, 255, 0.035)),
        rgba(12, 20, 30, 0.9);
}

.resource-link span {
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 950;
    letter-spacing: 0.14em;
}

.resource-link strong {
    font-size: 1.26rem;
    line-height: 1.12;
}

.resource-link p {
    margin: 0;
    color: var(--muted);
    line-height: 1.58;
}

.reference-modal[hidden] {
    display: none;
}

.reference-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: start center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 22px;
}

.reference-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 5, 9, 0.78);
    backdrop-filter: blur(16px);
}

.reference-dialog {
    position: relative;
    z-index: 1;
    width: min(1040px, 100%);
    min-height: min(820px, calc(100vh - 44px));
    max-height: min(820px, calc(100vh - 44px));
    margin: auto 0;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background:
        radial-gradient(circle at 82% 0%, rgba(53, 230, 214, 0.13), transparent 26rem),
        linear-gradient(135deg, #111923 0%, #080d14 100%);
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.52);
}

.reference-dialog-media {
    position: relative;
    min-height: 0;
    min-height: min(820px, calc(100vh - 44px));
    background:
        radial-gradient(circle at 50% 50%, rgba(53, 230, 214, 0.08), transparent 34rem),
        #05080d;
}

.reference-dialog-media > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 16px;
}

.reference-gallery-thumbs {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(5, 8, 13, 0.72);
    backdrop-filter: blur(16px);
}

.reference-gallery-thumb {
    min-width: 0;
    height: 62px;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 7px;
    background: #080d14;
    cursor: pointer;
}

.reference-gallery-thumb[data-active="true"] {
    border-color: rgba(53, 230, 214, 0.85);
    box-shadow: 0 0 0 2px rgba(53, 230, 214, 0.14);
}

.reference-gallery-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.reference-dialog-content {
    min-width: 0;
    min-height: 0;
    padding: clamp(24px, 4vw, 42px);
    padding-right: clamp(30px, 4vw, 48px);
}

.reference-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #fff;
    background: rgba(5, 8, 13, 0.78);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.reference-dialog h2 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 3.2vw, 3rem);
}

.reference-dialog-car {
    margin-bottom: 18px;
    color: var(--teal);
    font-weight: 900;
}

.reference-dialog-summary {
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.7;
}

.reference-detail-list {
    display: grid;
    gap: 10px;
    margin: 24px 0;
}

.reference-detail-list div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #eaf0f7;
    background: rgba(255, 255, 255, 0.045);
    line-height: 1.45;
}

.reference-detail-list div::before {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-top: 6px;
    border-radius: 999px;
    background: var(--teal);
    box-shadow: 0 0 0 5px rgba(53, 230, 214, 0.1);
}

body.has-modal {
    overflow: hidden;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 10px rgba(53, 230, 214, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(53, 230, 214, 0);
    }
}

@media (max-width: 1100px) {
    .diagnostic-card {
        display: none;
    }
}

@media (max-width: 980px) {
    .brand-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-grid,
    .reference-grid,
    .downloads-grid,
    .retrofit-book-panel,
    .portal-panel,
    .timeline,
    .work-grid,
    .contact-section,
    .split-section,
    .review-panel {
        grid-template-columns: 1fr 1fr;
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }

    .references-hero {
        grid-template-columns: 1fr;
    }

    .cockpit-hero,
    .cockpit-layout,
    .cockpit-detail-grid {
        grid-template-columns: 1fr;
    }

    .cockpit-hero {
        min-height: auto;
        padding-top: 132px;
    }

    .cockpit-configurator {
        align-self: stretch;
    }

    .cockpit-feature-grid {
        grid-template-columns: 1fr;
    }

    .reference-dialog {
        grid-template-columns: 1fr;
        min-height: 0;
        max-height: calc(100vh - 44px);
    }

    .reference-dialog-media {
        min-height: 320px;
        height: 320px;
    }

    .proof-grid {
        grid-template-columns: 1fr;
    }

    .portal-copy {
        min-height: 0;
    }

    .retrofit-book-visual {
        min-height: 430px;
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(5, 8, 13, 0.98) 0%, rgba(5, 8, 13, 0.9) 62%, rgba(5, 8, 13, 0.42) 100%),
            linear-gradient(180deg, rgba(5, 8, 13, 0.08) 66%, var(--bg) 100%);
    }
}

@media (max-width: 720px) {
    .site-header {
        top: 10px;
        left: 10px;
        right: 10px;
    }

    .brand-logo {
        width: min(56vw, 190px);
        height: 42px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(10, 16, 24, 0.98);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        justify-content: center;
    }

    .reference-actions {
        grid-template-columns: 1fr;
    }

    .reference-share,
    .reference-facebook {
        width: 100%;
    }

    .hero {
        min-height: 900px;
        padding: 118px 16px 56px;
        align-items: start;
    }

    .hero-logo {
        width: min(100%, 420px);
        margin-bottom: 18px;
    }

    .hero-media img {
        object-position: 64% center;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(5, 8, 13, 0.98) 0%, rgba(5, 8, 13, 0.92) 58%, rgba(5, 8, 13, 0.48) 100%),
            linear-gradient(180deg, rgba(5, 8, 13, 0.08) 72%, var(--bg) 100%);
    }

    .hero-actions,
    .download-hero-actions,
    .site-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-metrics,
    .service-grid,
    .reference-grid,
    .downloads-grid,
    .retrofit-book-panel,
    .portal-panel,
    .timeline,
    .work-grid,
    .contact-section,
    .split-section,
    .review-panel,
    .review-stats {
        grid-template-columns: 1fr;
    }

    .references-hero {
        width: min(100% - 32px, 1180px);
        padding-top: 122px;
    }

    .cockpit-hero {
        width: min(100% - 32px, 1180px);
        padding-top: 122px;
        padding-bottom: 42px;
    }

    .cockpit-hero h1 {
        font-size: clamp(2.55rem, 14vw, 4.2rem);
    }

    .cockpit-configurator {
        padding: 20px;
    }

    .cockpit-tool {
        padding: 16px;
    }

    .cockpit-layout {
        grid-template-columns: 1fr;
    }

    .cockpit-preview-card img {
        aspect-ratio: 16 / 10;
    }

    .references-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .reference-filter {
        flex-wrap: nowrap;
        margin-right: -16px;
        padding: 0 16px 6px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .reference-filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .reference-dialog {
        min-height: 0;
    }

    .reference-modal {
        padding: 12px;
    }

    .reference-dialog-media {
        min-height: 240px;
        height: 240px;
    }

    .reference-gallery-thumbs {
        left: 12px;
        right: 12px;
        bottom: 12px;
        gap: 6px;
        padding: 6px;
    }

    .reference-gallery-thumb {
        height: 48px;
    }

    .brand-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .brand-card {
        min-height: 116px;
    }

    .brand-card img {
        height: 44px;
    }

    .carousel-controls {
        justify-content: flex-start;
    }

    .feature-service {
        flex-basis: min(84vw, 360px);
        min-height: 254px;
    }

    .feature-photo {
        min-height: 254px;
    }

    .retrofit-book-panel {
        min-height: auto;
        padding: 24px;
    }

    .portal-panel {
        padding: 24px;
    }

    .portal-card div {
        min-height: 0;
    }

    .portal-card {
        grid-template-columns: 1fr;
    }

    .retrofit-book-copy p {
        font-size: 1rem;
    }

    .retrofit-book-visual {
        min-height: 360px;
    }

    .book-card-main {
        width: 100%;
        transform: rotate(-4deg);
    }

    .brand-strip,
    .section {
        width: min(100% - 32px, 1180px);
    }

    .section,
    .process-inner {
        padding-block: 68px;
    }
}
