/* =====================================================
   LAYOUT TECNICO — Bilanciato, dinamico
   ===================================================== */

:root {
    --tec-bg: #0d0d0f;
    --tec-surface: #141417;
    --tec-surface-2: #1a1a1e;
    --tec-border: #26262b;
    --tec-border-strong: #333339;
    --tec-text: #ececec;
    --tec-text-dim: #909098;
    --tec-text-dimmer: #5e5e68;
    --tec-red: #e10600;
    --tec-yellow: #ffd60a;
    --tec-green: #00c853;
    --tec-mono: 'IBM Plex Mono', 'Courier New', monospace;
    --tec-sans: 'Inter', -apple-system, sans-serif;
}

body.layout-tec {
    background: var(--tec-bg);
    color: var(--tec-text);
    font-family: var(--tec-sans);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* =====================================================
   NAVBAR — Desktop + Mobile
   ===================================================== */

.layout-tec .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(13, 13, 15, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--tec-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 68px;
    gap: 1.5rem;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.logo:hover { opacity: 0.85; }

.logo-img {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Nav links desktop */
.nav-links {
    display: flex;
    list-style: none;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--tec-text-dim);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-links a.active { color: var(--tec-text); }

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--tec-red);
}

/* Burger — nascosto su desktop */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.burger:hover {
    background: rgba(255, 255, 255, 0.05);
}

.burger span {
    width: 22px;
    height: 2px;
    background: var(--tec-text);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Burger attivo — trasforma in X */
.burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.layout-tec .logo {
    font-family: var(--tec-mono);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--tec-text);
}

.layout-tec .logo span { color: var(--tec-red); }

.layout-tec .nav-links { gap: 1.75rem; }

.layout-tec .nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--tec-text-dim);
    text-transform: none;
    transition: color 0.15s;
}

.layout-tec .nav-links a:hover,
.layout-tec .nav-links a.active { color: var(--tec-text); }

.layout-tec .nav-links a.active::after {
    background: var(--tec-red);
    height: 2px;
    bottom: -6px;
}

.layout-tec .burger span { background: var(--tec-text); }

/* ===== BOTTONI ===== */
.layout-tec .btn {
    font-family: var(--tec-sans);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.7rem 1.4rem;
    border-radius: 4px;
    text-transform: none;
    letter-spacing: 0;
    clip-path: none;
    transition: all 0.15s;
}

.layout-tec .btn-primary {
    background: var(--tec-red);
    color: #fff;
    box-shadow: none;
}

.layout-tec .btn-primary:hover {
    background: #c00500;
    transform: none;
    box-shadow: none;
}

.layout-tec .btn-outline {
    background: transparent;
    border: 1px solid var(--tec-border-strong);
    color: var(--tec-text);
}

.layout-tec .btn-outline:hover {
    background: var(--tec-surface);
    border-color: var(--tec-text-dim);
}

/* ===== HERO ===== */
.tec-hero {
    padding: 5rem 5% 4rem;
    border-bottom: 1px solid var(--tec-border);
    background:
        radial-gradient(circle at 80% 20%, rgba(225, 6, 0, 0.08), transparent 45%),
        var(--tec-bg);
}

.tec-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tec-tag {
    display: inline-block;
    font-family: var(--tec-mono);
    font-size: 0.72rem;
    color: var(--tec-text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--tec-border-strong);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.tec-hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--tec-text);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.tec-hero-text p {
    color: var(--tec-text-dim);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2rem;
}

.tec-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* =====================================================
   DASH DINAMICO — live-dash
   ===================================================== */

.tec-hero-dash {
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

/* =====================================================
   DASH REALISTICA — replica immagine DSH
   ===================================================== */

.tec-hero-dash {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1400px;
    padding: 2rem 1rem;
}

.dash-realistic {
    position: relative;
    width: 100%;
    max-width: 520px;
    transform: rotateX(3deg) rotateY(-6deg);
    transition: transform 0.8s ease;
}

.dash-realistic:hover {
    transform: rotateX(0) rotateY(0);
}

/* Corpo dash */
.dash-body {
    position: relative;
    background: linear-gradient(160deg, #2a2a2c 0%, #1a1a1c 40%, #0f0f11 100%);
    border-radius: 24px;
    padding: 22px 26px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.6),
        0 30px 60px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(225, 6, 0, 0.08);
    border: 1px solid #0a0a0a;
    clip-path: polygon(
        20px 0, calc(100% - 30px) 0, calc(100% - 15px) 8px,
        calc(100% - 8px) 20px, 100% calc(100% - 20px),
        calc(100% - 8px) calc(100% - 8px), calc(100% - 20px) 100%,
        20px 100%, 8px calc(100% - 8px), 0 calc(100% - 20px),
        0 20px, 8px 8px
    );
}

/* LED laterali e superiori */
.dash-leds {
    position: absolute;
    display: flex;
    gap: 6px;
    z-index: 3;
}

.dash-leds-top {
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
}

.dash-leds-left {
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
}

.dash-leds-right {
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
}

.led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid #000;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
    transition: all 0.1s;
}

.led.green.on {
    background: #00e676;
    box-shadow: 0 0 8px #00e676, 0 0 14px rgba(0, 230, 118, 0.6);
}

.led.yellow.on {
    background: #ffd60a;
    box-shadow: 0 0 8px #ffd60a, 0 0 14px rgba(255, 214, 10, 0.6);
}

.led.red.on {
    background: #e10600;
    box-shadow: 0 0 8px #e10600, 0 0 16px rgba(225, 6, 0, 0.7);
}

.led.white.on {
    background: #ffffff;
    box-shadow: 0 0 10px #ffffff, 0 0 20px rgba(255, 255, 255, 0.7);
}

/* Schermo */
.dash-screen-real {
    background: #000;
    border-radius: 10px;
    padding: 14px 16px;
    font-family: var(--tec-mono);
    color: #e8e8e8;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
    min-height: 240px;
}

.dash-screen-real::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.02) 0%,
        transparent 30%,
        transparent 70%,
        rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

/* Barra marce */
.gear-bar {
    display: flex;
    gap: 2px;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 0.65rem;
    font-weight: 600;
}

.gear-bar span {
    flex: 1;
    max-width: 42px;
    padding: 4px 0;
    text-align: center;
    background: #0a1a2e;
    color: #4a90d9;
    border-radius: 2px;
    border: 1px solid #1a3a5e;
    transition: all 0.15s;
    font-family: var(--tec-mono);
}

.gear-bar span.active {
    background: #e10600;
    color: #fff;
    border-color: #e10600;
    box-shadow: 0 0 12px rgba(225, 6, 0, 0.7);
}

/* RPM centrale */
.rpm-display {
    text-align: center;
    margin-bottom: 14px;
    position: relative;
}

.rpm-label {
    display: block;
    font-size: 0.6rem;
    color: #5a5a68;
    letter-spacing: 3px;
    margin-bottom: 2px;
}

.rpm-number {
    font-family: var(--tec-mono);
    font-size: 1.8rem;
    font-weight: 600;
    color: #e8e8e8;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
    transition: color 0.15s;
}

.rpm-number.warn { color: #ffd60a; text-shadow: 0 0 20px rgba(255, 214, 10, 0.7); }
.rpm-number.alert { color: #e10600; text-shadow: 0 0 25px rgba(225, 6, 0, 0.9); }

/* Griglia dati */
.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
    font-size: 0.7rem;
}

.data-cell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.data-label {
    color: #5a5a68;
    font-size: 0.6rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.data-bar {
    height: 3px;
    background: #1a1a1c;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.data-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--bar-fill, 50%);
    background: #e10600;
    border-radius: 2px;
    transition: width 0.3s;
}

.data-value {
    color: #e8e8e8;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    text-align: right;
    min-width: 32px;
    transition: color 0.15s;
}

.data-value.warn { color: #ffd60a; }
.data-value.alert { color: #e10600; }

/* Riflesso */
.dash-reflection {
    margin-top: 4px;
    transform: scaleY(-1) translateY(4px);
    opacity: 0.25;
    mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 60%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 60%);
    filter: blur(1px);
    pointer-events: none;
    user-select: none;
}

.dash-reflection .reflection-inner {
    background: #000;
    border-radius: 10px;
    padding: 14px 16px;
    font-family: var(--tec-mono);
    color: #e8e8e8;
    min-height: 240px;
    opacity: 0.9;
}

.dash-reflection .gear-bar span {
    background: #0a1a2e;
    color: #4a90d9;
}

.dash-reflection .gear-bar span.active {
    background: #e10600;
    color: #fff;
}

/* Responsive */
@media (max-width: 600px) {
    .dash-realistic {
        transform: none;
        max-width: 100%;
    }

    .dash-body {
        padding: 18px 20px;
        border-radius: 18px;
    }

    .dash-screen-real,
    .dash-reflection .reflection-inner {
        min-height: 200px;
        padding: 10px 12px;
    }

    .rpm-number { font-size: 1.4rem; }
    .data-grid { font-size: 0.6rem; gap: 6px 8px; }
    .data-label { font-size: 0.55rem; }

    .led { width: 6px; height: 6px; }
}

.gauge-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-track {
    fill: none;
    stroke: var(--tec-border);
    stroke-width: 8;
}

.gauge-fill {
    fill: none;
    stroke: url(#gaugeGradient);
    stroke: var(--tec-red);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 515;
    stroke-dashoffset: 515;
    filter: drop-shadow(0 0 8px rgba(225, 6, 0, 0.6));
    animation: gaugeFill 4s ease-in-out infinite;
}

@keyframes gaugeFill {
    0%   { stroke-dashoffset: 515; }
    30%  { stroke-dashoffset: 140; }
    60%  { stroke-dashoffset: 200; }
    100% { stroke-dashoffset: 515; }
}

.live-dash-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.live-dash-value {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1;
    color: var(--tec-text);
    letter-spacing: -2px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
    animation: valueFlicker 4s ease-in-out infinite;
}

@keyframes valueFlicker {
    0%, 100% { opacity: 1; }
    45% { opacity: 1; }
    50% { opacity: 0.85; }
    55% { opacity: 1; }
}

.live-dash-unit {
    font-size: 0.7rem;
    color: var(--tec-text-dim);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 0.5rem;
}

.live-dash-gear {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--tec-yellow);
    border: 2px solid var(--tec-yellow);
    border-radius: 6px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tec-bg);
    box-shadow: 0 0 20px rgba(255, 214, 10, 0.3);
    animation: gearPulse 3s ease-in-out infinite;
}

@keyframes gearPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 214, 10, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 214, 10, 0.6); }
}

/* Barra shift lights */
.live-dash-shift {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 1.25rem;
}

.live-dash-shift span {
    width: 100%;
    max-width: 32px;
    height: 6px;
    border-radius: 3px;
    background: var(--tec-border);
    transition: all 0.3s;
}

.live-dash-shift span.on {
    background: var(--tec-green);
    box-shadow: 0 0 8px var(--tec-green);
    animation: shiftGlow 0.6s ease-in-out infinite alternate;
}

.live-dash-shift span.red {
    background: var(--tec-red);
    box-shadow: 0 0 10px var(--tec-red);
    animation: shiftGlow 0.4s ease-in-out infinite alternate;
}

@keyframes shiftGlow {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

/* Griglia dati */
.live-dash-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.live-dash-grid > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.75rem;
    background: var(--tec-bg);
    border: 1px solid var(--tec-border);
    border-radius: 4px;
    font-size: 0.75rem;
    transition: border-color 0.3s;
}

.live-dash-grid > div:hover {
    border-color: var(--tec-border-strong);
}

.live-dash-grid span {
    color: var(--tec-text-dimmer);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-dash-grid strong {
    color: var(--tec-text);
    font-weight: 500;
}

/* ===== PANORAMICA ===== */
.tec-overview {
    padding: 4rem 5%;
    max-width: 1280px;
    margin: 0 auto;
}

.tec-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--tec-border);
}

.tec-section-head h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--tec-text);
}

.tec-link {
    color: var(--tec-red);
    font-size: 0.875rem;
    text-decoration: none;
    font-weight: 500;
}

.tec-link:hover { color: #ff1a1a; }

.tec-link-sm {
    color: var(--tec-text-dim);
    font-size: 0.8rem;
    text-decoration: none;
    font-family: var(--tec-mono);
}

.tec-link-sm:hover { color: var(--tec-red); }

.tec-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--tec-border);
    border-radius: 6px;
    background: var(--tec-surface);
}

.tec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 720px;
}

.tec-table th {
    background: var(--tec-surface-2);
    text-align: left;
    padding: 0.9rem 1rem;
    font-weight: 500;
    font-size: 0.72rem;
    color: var(--tec-text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--tec-border);
}

.tec-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--tec-border);
    color: var(--tec-text-dim);
    font-family: var(--tec-mono);
    font-size: 0.8rem;
}

.tec-table td strong { color: var(--tec-text); font-weight: 600; }
.tec-table tbody tr:last-child td { border-bottom: none; }
.tec-table tbody tr:hover { background: var(--tec-bg); }

/* ===== SPECS ===== */
.tec-specs {
    padding: 4rem 5%;
    background: var(--tec-surface);
    border-top: 1px solid var(--tec-border);
    border-bottom: 1px solid var(--tec-border);
}

.tec-specs h2 {
    max-width: 1280px;
    margin: 0 auto 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--tec-text);
}

.tec-specs-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem 3rem;
}

.tec-spec {
    padding-top: 1.25rem;
    border-top: 1px solid var(--tec-border-strong);
}

.tec-spec-num {
    font-family: var(--tec-mono);
    font-size: 0.72rem;
    color: var(--tec-red);
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.75rem;
}

.tec-spec h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tec-text);
    margin-bottom: 0.5rem;
}

.tec-spec p {
    font-size: 0.85rem;
    color: var(--tec-text-dim);
    line-height: 1.65;
}

/* ===== SUPPORTO ===== */
.tec-support {
    padding: 4rem 5%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.tec-support-col h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--tec-text);
    margin-bottom: 0.75rem;
}

.tec-support-col p {
    font-size: 0.875rem;
    color: var(--tec-text-dim);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
.tec-footer {
    background: var(--tec-surface);
    border-top: 1px solid var(--tec-border);
    padding: 3rem 5% 2rem;
    margin-top: 4rem;
}

.tec-footer-inner {
    max-width: 1280px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.tec-footer-brand .logo {
    font-family: var(--tec-mono);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--tec-text);
}

.tec-footer-brand .logo span { color: var(--tec-red); }

.tec-footer-brand p {
    font-size: 0.85rem;
    color: var(--tec-text-dim);
    line-height: 1.7;
}

.tec-footer-col h4 {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--tec-text);
    margin-bottom: 1rem;
    font-family: var(--tec-mono);
}

.tec-footer-col ul { list-style: none; }

.tec-footer-col li {
    font-size: 0.85rem;
    color: var(--tec-text-dim);
    padding: 0.25rem 0;
}

.tec-footer-col a {
    color: var(--tec-text-dim);
    text-decoration: none;
    transition: color 0.15s;
}

.tec-footer-col a:hover { color: var(--tec-text); }

.tec-footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--tec-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: var(--tec-text-dimmer);
    font-family: var(--tec-mono);
}

.tec-footer-bottom div { display: flex; gap: 1.5rem; }

.tec-footer-bottom a {
    color: var(--tec-text-dimmer);
    text-decoration: none;
}

.tec-footer-bottom a:hover { color: var(--tec-text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .tec-hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .tec-support {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tec-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .tec-hero { padding: 3rem 5%; }
    .tec-hero h1 { font-size: 1.5rem; }

    .live-dash-gauge { width: 180px; height: 180px; }
    .live-dash-value { font-size: 2.75rem; }
    .live-dash-gear { width: 40px; height: 40px; font-size: 1.25rem; }

    .live-dash-grid { grid-template-columns: 1fr; }

    .tec-overview,
    .tec-specs,
    .tec-support { padding: 2.5rem 5%; }

    .tec-footer-inner { grid-template-columns: 1fr; }

    .tec-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== DASH DINAMICO — live-dash ===== */

.tec-hero-dash {
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.live-dash {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, var(--tec-surface-2), var(--tec-surface));
    border: 1px solid var(--tec-border-strong);
    border-radius: 12px;
    padding: 1.5rem;
    font-family: var(--tec-mono);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(225, 6, 0, 0.08);
    animation: dashFloat 6s ease-in-out infinite;
}

@keyframes dashFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.live-dash::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
        var(--tec-red) 0%, var(--tec-red) 33%,
        #fff 33%, #fff 66%,
        var(--tec-yellow) 66%, var(--tec-yellow) 100%);
    opacity: 0.9;
}

.live-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--tec-border);
    margin-bottom: 1.25rem;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.live-dash-brand {
    color: var(--tec-text);
    font-weight: 600;
}

.live-dash-tag {
    color: var(--tec-red);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--tec-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--tec-red);
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Gauge RPM */
.live-dash-gauge {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 1.25rem;
}

.gauge-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-track {
    fill: none;
    stroke: var(--tec-border);
    stroke-width: 8;
}

.gauge-fill {
    fill: none;
    stroke: url(#gaugeGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 515;
    stroke-dashoffset: 515;
    filter: drop-shadow(0 0 8px rgba(225, 6, 0, 0.5));
    transition: stroke-dashoffset 0.15s linear;
}

.live-dash-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.live-dash-value {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1;
    color: var(--tec-text);
    letter-spacing: -2px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
    font-variant-numeric: tabular-nums;
}

.live-dash-unit {
    font-size: 0.7rem;
    color: var(--tec-text-dim);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 0.5rem;
}

.live-dash-gear {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--tec-yellow);
    border: 2px solid var(--tec-yellow);
    border-radius: 6px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tec-bg);
    box-shadow: 0 0 20px rgba(255, 214, 10, 0.3);
    transition: all 0.15s;
}

.live-dash-gear.flash {
    background: var(--tec-yellow);
    color: var(--tec-bg);
    box-shadow: 0 0 30px rgba(255, 214, 10, 0.8);
}

/* Shift lights */
.live-dash-shift {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 1.25rem;
}

.live-dash-shift span {
    flex: 1;
    max-width: 36px;
    height: 6px;
    border-radius: 3px;
    background: var(--tec-border);
    transition: all 0.08s;
}

.live-dash-shift span.on {
    background: var(--tec-green);
    box-shadow: 0 0 10px var(--tec-green);
}

.live-dash-shift span.red {
    background: var(--tec-red);
    box-shadow: 0 0 14px var(--tec-red);
}

.live-dash-shift span.blue {
    background: #00b0ff;
    box-shadow: 0 0 16px #00b0ff;
    animation: shiftFlash 0.15s ease-in-out infinite alternate;
}

@keyframes shiftFlash {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

/* Griglia dati */
.live-dash-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.live-dash-grid > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.75rem;
    background: var(--tec-bg);
    border: 1px solid var(--tec-border);
    border-radius: 4px;
    font-size: 0.75rem;
    transition: border-color 0.3s;
}

.live-dash-grid > div:hover { border-color: var(--tec-border-strong); }

.live-dash-grid span {
    color: var(--tec-text-dimmer);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-dash-grid strong {
    color: var(--tec-text);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.live-dash-grid strong.warn { color: var(--tec-yellow); }
.live-dash-grid strong.alert { color: var(--tec-red); }

/* Barre throttle / brake */
.live-dash-pedals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--tec-border);
}

.pedal {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.68rem;
    color: var(--tec-text-dimmer);
    letter-spacing: 1px;
}

.pedal-bar {
    flex: 1;
    height: 4px;
    background: var(--tec-border);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.pedal-fill {
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 2px;
}

.pedal-fill.thr {
    background: var(--tec-green);
    box-shadow: 0 0 8px var(--tec-green);
}

.pedal-fill.brk {
    background: var(--tec-red);
    box-shadow: 0 0 8px var(--tec-red);
}

/* =====================================================
   DASH REALISTICA — replica foto reale DSH
   ===================================================== */

.tec-hero-dash {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    perspective: 1400px;
}

.dash-real-wrap {
    position: relative;
    width: 100%;
    max-width: 560px;
}

/* Corpo della dash */
.dash-real-body {
    position: relative;
    background: linear-gradient(160deg, #1a1a1c 0%, #0d0d0f 50%, #050505 100%);
    border-radius: 32px;
    padding: 26px 34px 30px;
    border: 2px solid #0a0a0a;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -2px 0 rgba(0, 0, 0, 0.8),
        0 40px 80px rgba(0, 0, 0, 0.8),
        0 0 100px rgba(225, 6, 0, 0.06);
    /* Forma sagomata agli angoli come nella foto */
    clip-path: polygon(
        24px 0, calc(100% - 24px) 0, calc(100% - 6px) 6px,
        calc(100% - 6px) 24px, 100% calc(100% - 30px),
        calc(100% - 20px) calc(100% - 8px), calc(100% - 40px) 100%,
        40px 100%, 20px calc(100% - 8px), 0 calc(100% - 30px),
        0 24px, 6px 6px
    );
    transform: rotateX(2deg);
}

/* ===== STRISCIA LED SUPERIORE ===== */
.led-strip-top {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
}

.strip-led {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid #000;
    transition: all 0.1s;
}

.strip-led.on-green {
    background: #00e676;
    box-shadow: 0 0 8px #00e676, 0 0 16px rgba(0, 230, 118, 0.5);
}

.strip-led.on-yellow {
    background: #ffd60a;
    box-shadow: 0 0 8px #ffd60a, 0 0 16px rgba(255, 214, 10, 0.6);
}

.strip-led.on-red {
    background: #e10600;
    box-shadow: 0 0 10px #e10600, 0 0 20px rgba(225, 6, 0, 0.8);
}

/* ===== LED LATERALI ===== */
.led-column {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 4px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.led-column.left { left: 8px; }
.led-column.right { right: 8px; }

.side-led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid #000;
    transition: all 0.15s;
}

.side-led.on {
    background: #ffd60a;
    box-shadow: 0 0 8px #ffd60a, 0 0 14px rgba(255, 214, 10, 0.6);
}

/* ===== DISPLAY LCD ===== */
.dash-lcd {
    background: linear-gradient(180deg, #0a0a12 0%, #050508 100%);
    border-radius: 12px;
    padding: 14px 18px 12px;
    font-family: var(--tec-mono);
    color: #fff;
    min-height: 260px;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, 0.95),
        0 0 40px rgba(225, 6, 0, 0.05);
    border: 1px solid #101018;
}

.dash-lcd::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
        rgba(255, 255, 255, 0.03) 0%,
        transparent 70%);
    pointer-events: none;
}

/* ===== GRAFICO RPM ===== */
.rpm-graph {
    position: relative;
    height: 80px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rpm-graph svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.rpm-curve {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: opacity 0.3s;
}

.rpm-curve.outer {
    stroke: #ff6b35;
    filter: drop-shadow(0 0 4px rgba(255, 107, 53, 0.7));
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    animation: drawCurve 3s ease-out forwards;
}

.rpm-curve.inner {
    stroke: #ff8c42;
    filter: drop-shadow(0 0 4px rgba(255, 140, 66, 0.6));
    opacity: 0.85;
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    animation: drawCurve 3s ease-out 0.3s forwards;
}

@keyframes drawCurve {
    to { stroke-dashoffset: 0; }
}

/* Box valore RPM in alto a destra */
.rpm-value-box {
    position: absolute;
    top: 6px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    padding: 6px 12px;
    background: rgba(30, 30, 40, 0.8);
    border: 1px solid rgba(120, 120, 140, 0.3);
    border-radius: 4px;
    min-width: 70px;
}

.rpm-value-box span:first-child {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.rpm-small-label {
    font-size: 0.55rem;
    color: #6a6a78;
    letter-spacing: 2px;
}

/* ===== RIGHE DATI ===== */
.dash-row {
    display: grid;
    gap: 8px;
    padding: 6px 0;
}

.dash-row-top {
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.dash-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}

.cell-label {
    font-size: 0.6rem;
    color: #8a8a98;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.cell-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    transition: color 0.15s;
}

.cell-unit {
    font-size: 0.55rem;
    color: #6a6a78;
    letter-spacing: 1px;
}

/* ===== RIGA INFERIORE ===== */
.dash-row-bottom {
    grid-template-columns: 1.2fr 1fr 1.3fr;
    align-items: end;
    gap: 16px;
    padding-top: 4px;
}

/* Marcia grande N */
.gear-big {
    font-family: var(--tec-mono);
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-shadow:
        0 0 25px rgba(255, 255, 255, 0.4),
        0 0 50px rgba(255, 255, 255, 0.15);
    transition: all 0.15s;
    text-align: center;
}

.gear-big.flash {
    color: #e10600;
    text-shadow: 0 0 35px rgba(225, 6, 0, 0.9);
}

.dash-cell-large {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.cell-value-large {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

/* Barra OIL P */
.oil-bar-wrap {
    position: relative;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg,
        #0a0a12 0%,
        rgba(30, 30, 40, 0.5) 50%,
        #0a0a12 100%);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.oil-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,
        rgba(225, 6, 0, 0.5),
        rgba(225, 6, 0, 0.15));
    transition: width 0.2s;
}

.oil-value {
    position: relative;
    z-index: 2;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

/* Footer LCD */
.dash-footer {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    color: #4a4a58;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Ombra sotto */
.dash-real-shadow {
    height: 30px;
    margin: -8px auto 0;
    width: 80%;
    background: radial-gradient(ellipse,
        rgba(225, 6, 0, 0.15),
        transparent 70%);
    filter: blur(15px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .dash-real-body {
        padding: 20px 24px 24px;
        border-radius: 24px;
    }

    .dash-lcd {
        min-height: 220px;
        padding: 10px 12px;
    }

    .rpm-graph { height: 60px; }
    .gear-big { font-size: 3.2rem; }
    .cell-value { font-size: 0.95rem; }
    .cell-value-large { font-size: 1.2rem; }

    .led-column { gap: 7px; }
    .strip-led { width: 7px; height: 7px; }
}

/* =====================================================
   PAGINE INTERNE — Stili condivisi layout-tec
   ===================================================== */

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 4rem 5% 3rem;
    max-width: 1280px;
    margin: 0 auto;
    border-bottom: 1px solid var(--tec-border);
}

.page-header h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    color: var(--tec-text);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--tec-text-dim);
    font-size: 1rem;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 1.25rem 5%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 0.6rem;
    font-size: 0.78rem;
    font-family: var(--tec-mono);
    color: var(--tec-text-dimmer);
}

.breadcrumb a {
    color: var(--tec-text-dim);
    text-decoration: none;
    transition: color 0.15s;
}

.breadcrumb a:hover { color: var(--tec-red); }

.breadcrumb span:last-child { color: var(--tec-text); }

/* ===== FILTER BAR ===== */
.filter-bar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 5%;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--tec-border);
}

/* ===== PROD LIST ===== */
.prod-list {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 5%;
}

.prod-category {
    margin-bottom: 4rem;
}

.prod-category:last-child { margin-bottom: 0; }

.prod-category-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--tec-border);
}

.prod-category-head h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--tec-text);
    letter-spacing: -0.01em;
}

.prod-count {
    font-size: 0.75rem;
    color: var(--tec-text-dimmer);
    font-family: var(--tec-mono);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

/* =====================================================
   PROD CARD — con thumbnail
   ===================================================== */

.prod-card {
    background: var(--tec-surface);
    border: 1px solid var(--tec-border);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.25s ease;
}

.prod-card:hover {
    border-color: var(--tec-border-strong);
    background: var(--tec-surface-2);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.prod-card.featured {
    border-color: var(--tec-red);
    box-shadow: 0 0 30px rgba(161, 28, 28, 0.08);
}

/* ===== THUMBNAIL ===== */
.prod-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1e, #0a0a0c);
    border-bottom: 1px solid var(--tec-border);
}

.prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.prod-card:hover .prod-thumb img {
    transform: scale(1.06);
}

/* Overlay leggero sul thumb che si intensifica all'hover */
.prod-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        transparent 50%,
        rgba(0, 0, 0, 0.35) 100%);
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.prod-card:hover .prod-thumb::after {
    background: linear-gradient(180deg,
        transparent 40%,
        rgba(161, 28, 28, 0.25) 100%);
}

/* ===== CORPO DELLA CARD ===== */
.prod-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}

.prod-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.prod-model {
    font-family: var(--tec-mono);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--tec-text);
    letter-spacing: -0.5px;
}

.prod-tag {
    font-size: 0.65rem;
    color: var(--tec-text-dimmer);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-family: var(--tec-mono);
    padding: 0.2rem 0.55rem;
    border: 1px solid var(--tec-border-strong);
    border-radius: 3px;
    white-space: nowrap;
}

.prod-desc {
    color: var(--tec-text-dim);
    font-size: 0.85rem;
    line-height: 1.6;
    flex: 1;
}

.prod-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--tec-border);
    padding-top: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.prod-specs li {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    font-family: var(--tec-mono);
}

.prod-specs li span {
    color: var(--tec-text-dimmer);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prod-specs li strong {
    color: var(--tec-text);
    font-weight: 500;
}

.prod-link {
    color: var(--tec-red);
    font-size: 0.78rem;
    font-weight: 500;
    font-family: var(--tec-mono);
    letter-spacing: 0.5px;
    margin-top: auto;
    padding-top: 0.5rem;
    transition: color 0.15s;
}

.prod-card:hover .prod-link {
    color: var(--tec-yellow);
}

/* ===== BADGE ===== */
.prod-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: var(--tec-yellow);
    color: #0d0d0f;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    letter-spacing: 1px;
    font-family: var(--tec-mono);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.prod-card.featured .prod-badge {
    background: var(--tec-red);
    color: #fff;
}

.prod-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--tec-red);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    letter-spacing: 1px;
    font-family: var(--tec-mono);
}

.prod-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.prod-model {
    font-family: var(--tec-mono);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--tec-text);
    letter-spacing: -0.5px;
}

.prod-tag {
    font-size: 0.68rem;
    color: var(--tec-text-dimmer);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-family: var(--tec-mono);
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--tec-border-strong);
    border-radius: 3px;
}

.prod-desc {
    color: var(--tec-text-dim);
    font-size: 0.875rem;
    line-height: 1.6;
    flex: 1;
}

.prod-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--tec-border);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prod-specs li {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-family: var(--tec-mono);
}

.prod-specs li span {
    color: var(--tec-text-dimmer);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prod-specs li strong {
    color: var(--tec-text);
    font-weight: 500;
}

.prod-link {
    color: var(--tec-red);
    font-size: 0.8rem;
    font-weight: 500;
    font-family: var(--tec-mono);
    letter-spacing: 0.5px;
}

/* ===== PROD HERO (pagina prodotto) ===== */
.prod-hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.prod-tag-lg {
    display: inline-block;
    font-family: var(--tec-mono);
    font-size: 0.72rem;
    color: var(--tec-text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--tec-border-strong);
    border-radius: 3px;
    margin-bottom: 1rem;
}

.prod-hero-info h1 {
    font-family: var(--tec-mono);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -1px;
    color: var(--tec-text);
    margin-bottom: 0.75rem;
}

.prod-tagline {
    color: var(--tec-text-dim);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 520px;
}

.prod-quick-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--tec-border);
    border-bottom: 1px solid var(--tec-border);
    margin-bottom: 1.75rem;
}

.prod-quick-specs > div {
    text-align: center;
}

.prod-quick-specs span {
    display: block;
    font-family: var(--tec-mono);
    font-size: 0.65rem;
    color: var(--tec-text-dimmer);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.35rem;
}

.prod-quick-specs strong {
    color: var(--tec-text);
    font-family: var(--tec-mono);
    font-size: 0.9rem;
    font-weight: 600;
}

.prod-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ===== PROD TABS ===== */
.prod-tabs {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 5%;
}

.tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--tec-border);
    margin-bottom: 2rem;
    overflow-x: auto;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--tec-text-dim);
    padding: 1rem 1.25rem;
    font-family: var(--tec-sans);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.15s;
    white-space: nowrap;
}

.tab-btn:hover { color: var(--tec-text); }

.tab-btn.active {
    color: var(--tec-text);
    border-bottom-color: var(--tec-red);
}

.tab-content {
    display: none;
    animation: tabFade 0.3s ease;
}

.tab-content.active { display: block; }

@keyframes tabFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content p {
    color: var(--tec-text-dim);
    line-height: 1.75;
    margin-bottom: 1rem;
    max-width: 780px;
}

.tab-content strong { color: var(--tec-text); }

/* Prod features grid */
.prod-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.prod-feature {
    padding: 1.25rem;
    background: var(--tec-surface);
    border: 1px solid var(--tec-border);
    border-left: 3px solid var(--tec-red);
    border-radius: 4px;
}

.prod-feature h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tec-text);
    margin-bottom: 0.4rem;
}

.prod-feature p {
    font-size: 0.85rem;
    color: var(--tec-text-dim);
    line-height: 1.6;
    margin: 0;
}

/* Prod specs table */
.prod-specs-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--tec-border);
    border-radius: 6px;
    overflow: hidden;
    background: var(--tec-surface);
}

.prod-specs-table tr {
    border-bottom: 1px solid var(--tec-border);
}

.prod-specs-table tr:last-child { border-bottom: none; }

.prod-specs-table td {
    padding: 0.9rem 1.25rem;
    font-size: 0.85rem;
}

.prod-specs-table td:first-child {
    color: var(--tec-text-dim);
    text-transform: uppercase;
    font-family: var(--tec-mono);
    font-size: 0.75rem;
    letter-spacing: 1px;
    width: 40%;
}

.prod-specs-table td:last-child {
    color: var(--tec-text);
    font-family: var(--tec-mono);
    font-weight: 500;
}

/* Compat grid */
.compat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.compat-item {
    padding: 0.85rem 1rem;
    background: var(--tec-surface);
    border: 1px solid var(--tec-border);
    border-radius: 4px;
    font-family: var(--tec-mono);
    font-size: 0.8rem;
    color: var(--tec-text);
    text-align: center;
    transition: border-color 0.15s;
}

.compat-item:hover { border-color: var(--tec-red); }

/* ===== PROD CTA ===== */
.prod-cta {
    max-width: 1280px;
    margin: 3rem auto 0;
    padding: 3rem 5%;
    background: var(--tec-surface);
    border-top: 1px solid var(--tec-border);
    border-bottom: 1px solid var(--tec-border);
    text-align: center;
}

.prod-cta h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--tec-text);
    margin-bottom: 0.75rem;
}

.prod-cta p {
    color: var(--tec-text-dim);
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
}

/* ===== DOWNLOAD PAGE ===== */
.dl-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 5%;
}

.dl-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--tec-border);
}

.dl-search input {
    width: 100%;
    max-width: 480px;
    padding: 0.75rem 1rem;
    background: var(--tec-surface);
    border: 1px solid var(--tec-border);
    border-radius: 4px;
    color: var(--tec-text);
    font-family: var(--tec-sans);
    font-size: 0.9rem;
    transition: border-color 0.15s;
}

.dl-search input:focus {
    outline: none;
    border-color: var(--tec-red);
}

.dl-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.chip {
    background: transparent;
    border: 1px solid var(--tec-border-strong);
    color: var(--tec-text-dim);
    padding: 0.4rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: var(--tec-sans);
}

.chip:hover { color: var(--tec-text); border-color: var(--tec-text-dim); }

.chip.active {
    background: var(--tec-red);
    color: #fff;
    border-color: var(--tec-red);
}

.dl-count {
    font-family: var(--tec-mono);
    font-size: 0.78rem;
    color: var(--tec-text-dimmer);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.dl-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dl-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem;
    background: var(--tec-surface);
    border: 1px solid var(--tec-border);
    border-radius: 6px;
    transition: border-color 0.15s;
}

.dl-item:hover { border-color: var(--tec-border-strong); }

.dl-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tec-mono);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 1px;
}

.dl-icon.pdf {
    background: rgba(225, 6, 0, 0.12);
    color: var(--tec-red);
    border: 1px solid rgba(225, 6, 0, 0.3);
}

.dl-icon.exe {
    background: rgba(255, 214, 10, 0.1);
    color: var(--tec-yellow);
    border: 1px solid rgba(255, 214, 10, 0.3);
}

.dl-info {
    min-width: 0;
}

.dl-cat {
    font-family: var(--tec-mono);
    font-size: 0.65rem;
    color: var(--tec-text-dimmer);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: block;
    margin-bottom: 0.35rem;
}

.dl-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tec-text);
    margin-bottom: 0.35rem;
}

.dl-info p {
    color: var(--tec-text-dim);
    font-size: 0.82rem;
    margin-bottom: 0.6rem;
}

.dl-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: var(--tec-mono);
    font-size: 0.7rem;
    color: var(--tec-text-dimmer);
}

.btn-dl {
    padding: 0.6rem 1.1rem;
    background: transparent;
    border: 1px solid var(--tec-border-strong);
    color: var(--tec-text);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
    font-family: var(--tec-sans);
}

.btn-dl:hover {
    border-color: var(--tec-red);
    color: var(--tec-red);
}

.dl-empty {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--tec-text-dim);
}

.dl-empty h3 {
    color: var(--tec-text);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* ===== WIKI ===== */
.wiki-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 5%;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 4rem;
    align-items: start;
}

.wiki-sidebar {
    position: sticky;
    top: 100px;
}

.wiki-sidebar h3 {
    font-family: var(--tec-mono);
    font-size: 0.7rem;
    color: var(--tec-text-dimmer);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.wiki-sidebar ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.wiki-sidebar a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--tec-text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    border-left: 2px solid transparent;
    transition: all 0.15s;
    border-radius: 0 4px 4px 0;
}

.wiki-sidebar a:hover { color: var(--tec-text); }

.wiki-sidebar a.active {
    color: var(--tec-text);
    border-left-color: var(--tec-red);
    background: var(--tec-surface);
}

.wiki-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.wiki-article h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--tec-text);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.wiki-article p {
    color: var(--tec-text-dim);
    line-height: 1.75;
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
}

.wiki-article strong { color: var(--tec-text); }

.wiki-article ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wiki-article ul li {
    padding-left: 1.25rem;
    position: relative;
    color: var(--tec-text-dim);
    font-size: 0.9rem;
}

.wiki-article ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--tec-red);
    font-family: var(--tec-mono);
}

.params-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.params-mini span {
    padding: 0.4rem 0.8rem;
    background: var(--tec-surface);
    border: 1px solid var(--tec-border);
    border-radius: 4px;
    font-family: var(--tec-mono);
    font-size: 0.75rem;
    color: var(--tec-text);
}

/* ===== CONTACT ===== */
.contact-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 5%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2,
.contact-form h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--tec-text);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--tec-border);
}

.contact-block {
    padding: 1rem 0;
    border-bottom: 1px solid var(--tec-border);
}

.contact-block:last-child { border-bottom: none; }

.contact-label {
    font-family: var(--tec-mono);
    font-size: 0.68rem;
    color: var(--tec-text-dimmer);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-block p {
    color: var(--tec-text);
    font-size: 0.9rem;
    line-height: 1.7;
}

.contact-form {
    background: var(--tec-surface);
    padding: 2rem;
    border: 1px solid var(--tec-border);
    border-radius: 8px;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    display: block;
    font-family: var(--tec-mono);
    font-size: 0.7rem;
    color: var(--tec-text-dimmer);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--tec-bg);
    border: 1px solid var(--tec-border);
    border-radius: 4px;
    color: var(--tec-text);
    font-family: var(--tec-sans);
    font-size: 0.9rem;
    transition: border-color 0.15s;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--tec-red);
}

.contact-form .btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 0.9rem;
}

.form-message {
    margin-top: 1rem;
    font-size: 0.85rem;
}

.form-message.success { color: var(--tec-green); }
.form-message.error { color: var(--tec-red); }

/* ===== RESPONSIVE INTERNE ===== */
@media (max-width: 900px) {
    .prod-hero,
    .contact-layout,
    .wiki-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .wiki-sidebar {
        position: static;
    }

    .prod-quick-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .dl-item {
        grid-template-columns: 48px 1fr;
    }

    .dl-item .btn-dl {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .page-header { padding: 3rem 5% 2rem; }
    .prod-list,
    .dl-section,
    .wiki-layout,
    .contact-layout,
    .prod-tabs { padding: 2rem 5%; }

    .prod-grid { grid-template-columns: 1fr; }

    .dl-icon { width: 44px; height: 44px; font-size: 0.62rem; }

    .prod-actions .btn { width: 100%; text-align: center; }
}

/* =====================================================
   METER GAUGE — Simulazione circolare
   ===================================================== */

.meter-gauge {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}

.meter-gauge svg {
    width: 100%;
    height: 100%;
    transform: rotate(135deg);
    overflow: visible;
}

.meter-track {
    fill: none;
    stroke: var(--tec-border);
    stroke-width: 10;
    stroke-linecap: round;
}

.meter-arc-fill {
    fill: none;
    stroke: var(--tec-red);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 553;
    stroke-dashoffset: 553;
    filter: drop-shadow(0 0 6px rgba(225, 6, 0, 0.6));
    transition: stroke 0.2s;
}

/* Warning e danger cambiano colore all'arco */
.meter-gauge.warning .meter-arc-fill {
    stroke: var(--tec-yellow);
    filter: drop-shadow(0 0 8px rgba(255, 214, 10, 0.7));
}

.meter-gauge.danger .meter-arc-fill {
    stroke: var(--tec-red);
    filter: drop-shadow(0 0 12px rgba(225, 6, 0, 0.9));
}

/* Lancetta */
.meter-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 100px;
    background: linear-gradient(180deg,
        var(--tec-red) 0%,
        var(--tec-red) 60%,
        #fff 60%,
        #fff 100%);
    border-radius: 2px;
    transform-origin: 50% 100%;
    transform: translate(-50%, -100%) rotate(0deg);
    box-shadow: 0 0 12px rgba(225, 6, 0, 0.6);
    pointer-events: none;
    transition: transform 0.05s linear;
}

.meter-needle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background: #1a1a1c;
    border: 2px solid var(--tec-border-strong);
    border-radius: 50%;
}

/* Valore centrale */
.meter-value-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -10%);
    text-align: center;
    pointer-events: none;
}

.meter-value {
    font-family: var(--tec-mono);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--tec-text);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
    transition: color 0.2s;
}

.meter-gauge.warning .meter-value { color: var(--tec-yellow); }
.meter-gauge.danger .meter-value { color: var(--tec-red); }

.meter-unit {
    display: block;
    font-family: var(--tec-mono);
    font-size: 0.7rem;
    color: var(--tec-text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* Label in basso */
.meter-label {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--tec-mono);
    font-size: 0.7rem;
    color: var(--tec-text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Status badge in alto */
.meter-status {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--tec-mono);
    font-size: 0.65rem;
    color: var(--tec-green);
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(0, 200, 83, 0.3);
    border-radius: 3px;
    background: rgba(0, 200, 83, 0.05);
}

.meter-gauge.warning .meter-status {
    color: var(--tec-yellow);
    border-color: rgba(255, 214, 10, 0.3);
    background: rgba(255, 214, 10, 0.05);
}

.meter-gauge.danger .meter-status {
    color: var(--tec-red);
    border-color: rgba(225, 6, 0, 0.4);
    background: rgba(225, 6, 0, 0.08);
}

/* Corpo del meter (cornice metallica) */
.meter-body {
    position: relative;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, #1a1a1c 0%, #0a0a0a 80%);
    border-radius: 50%;
    border: 3px solid #0a0a0a;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.05),
        inset 0 -3px 0 rgba(0, 0, 0, 0.8),
        0 25px 50px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(225, 6, 0, 0.06);
}

/* Piccole tacche attorno al bordo (opzionale) */
.meter-ticks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.meter-ticks span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 8px;
    background: var(--tec-border-strong);
    transform-origin: 50% 0;
    transform: translate(-50%, 0) rotate(var(--tick-rot)) translateY(-118px);
    border-radius: 1px;
}

.meter-ticks span.major {
    height: 12px;
    background: var(--tec-text-dim);
    width: 3px;
}

/* ===== CONTENITORE GAUGE NELLA PAGINA PRODOTTO ===== */
.prod-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.gauge-real-wrap {
    position: relative;
}

/* ===== VARIANTI MULTIPLE (3 gauge in griglia) ===== */
.meter-cluster {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem 1.5rem;
    padding: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .meter-gauge {
        width: 240px;
        height: 240px;
    }

    .meter-needle {
        height: 85px;
    }

    .meter-value {
        font-size: 2rem;
    }

    .meter-ticks span {
        transform: translate(-50%, 0) rotate(var(--tick-rot)) translateY(-100px);
    }
}

@media (max-width: 600px) {
    .meter-gauge {
        width: 200px;
        height: 200px;
    }

    .meter-needle {
        height: 70px;
        width: 3px;
    }

    .meter-value {
        font-size: 1.75rem;
    }

    .meter-unit {
        font-size: 0.6rem;
    }

    .meter-ticks span {
        transform: translate(-50%, 0) rotate(var(--tick-rot)) translateY(-83px);
        height: 6px;
    }

    .meter-ticks span.major {
        height: 9px;
    }
}

/* =====================================================
   METER OLED — Replica immagine DSH-RX
   Gauge circolare con doppia scala + barra EGT
   ===================================================== */

.meter-oled {
    position: relative;
    width: 340px;
    height: 340px;
    margin: 0 auto;
}

.meter-ring {
    position: relative;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 45%, #0d0d12 0%, #050508 70%, #000 100%);
    border-radius: 50%;
    border: 4px solid #0a0a0a;
    box-shadow:
        inset 0 3px 0 rgba(255, 255, 255, 0.04),
        inset 0 -4px 0 rgba(0, 0, 0, 0.9),
        0 30px 70px rgba(0, 0, 0, 0.85),
        0 0 80px rgba(0, 170, 255, 0.05),
        inset 0 0 100px rgba(0, 0, 0, 0.9);
}

/* Anello esterno metallico */
.meter-ring::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2a2a2e 0%, #0a0a0a 50%, #1a1a1e 100%);
    z-index: -1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 30px rgba(0, 0, 0, 0.9);
}

/* SVG con archi */
.meter-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(135deg);
    overflow: visible;
}

.meter-track-outer {
    fill: none;
    stroke: rgba(60, 60, 70, 0.4);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 800 1068;   /* 3/4 di circonferenza (r=170 → C≈1068) */
}

.meter-track-inner {
    fill: none;
    stroke: rgba(60, 60, 70, 0.35);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 700 930;    /* r=148 → C≈930, mostra ~75% */
}

/* Barra EGT azzurra progressiva */
.meter-egt-bar {
    fill: none;
    stroke: #00d4ff;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 800 1068;
    stroke-dashoffset: 800;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.7));
    transition: stroke-dashoffset 0.15s linear;
}

.meter-egt-bar.warning {
    stroke: #ffd60a;
    filter: drop-shadow(0 0 10px rgba(255, 214, 10, 0.8));
}

.meter-egt-bar.danger {
    stroke: #e10600;
    filter: drop-shadow(0 0 12px rgba(225, 6, 0, 0.9));
}

/* Arco OIL P (sottile, giallo) */
.meter-oilp-arc {
    fill: none;
    stroke: rgba(255, 214, 10, 0.15);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 700 930;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.15s linear, stroke 0.2s;
}

.meter-oilp-arc.active {
    stroke: rgba(255, 214, 10, 0.5);
    filter: drop-shadow(0 0 4px rgba(255, 214, 10, 0.5));
}

/* ===== TACCHE SCALA ESTERNA (OIL P) ===== */
.meter-ticks-outer {
    position: absolute;
    inset: 0;
}

.meter-ticks-outer span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 6px;
    background: rgba(180, 180, 190, 0.5);
    transform-origin: 50% 0;
    transform: translate(-50%, 0) rotate(var(--rot)) translateY(-160px);
    border-radius: 1px;
}

.meter-ticks-outer span.major,
.meter-ticks-outer span:not(:empty) {
    height: 8px;
    background: #e8e8e8;
    width: 2px;
    font-family: var(--tec-mono);
    font-size: 0.65rem;
    font-weight: 600;
    color: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    width: auto;
    height: auto;
    padding: 2px 4px;
    transform: translate(-50%, -50%) rotate(var(--rot)) translateY(-178px) rotate(calc(-1 * var(--rot)));
}

/* ===== TACCHE SCALA INTERNA (EGT) ===== */
.meter-ticks-inner {
    position: absolute;
    inset: 0;
}

.meter-ticks-inner span {
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: var(--tec-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: #e8e8e8;
    transform: translate(-50%, -50%) rotate(var(--rot)) translateY(-115px) rotate(calc(-1 * var(--rot)));
    white-space: nowrap;
}

/* ===== LANCETTA OIL P (gialla) ===== */
.meter-needle-oilp {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 140px;
    transform-origin: 50% 100%;
    transform: translate(-50%, -100%) rotate(45deg);
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 3;
}

.needle-tip {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg,
        #ffd60a 0%,
        #ffd60a 65%,
        rgba(255, 214, 10, 0.3) 100%);
    border-radius: 2px;
    box-shadow:
        0 0 8px rgba(255, 214, 10, 0.9),
        0 0 16px rgba(255, 214, 10, 0.5);
}

.needle-hub {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, #1a1a1c 0%, #0a0a0a 100%);
    border: 2px solid #2a2a2e;
    border-radius: 50%;
    box-shadow:
        0 0 12px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ===== LED VERDE fondo scala ===== */
.meter-led-green {
    position: absolute;
    bottom: 60px;
    right: 60px;
    width: 18px;
    height: 6px;
    background: #00e676;
    border-radius: 3px;
    box-shadow:
        0 0 10px #00e676,
        0 0 20px rgba(0, 230, 118, 0.6);
    animation: ledPulse 2s ease-in-out infinite;
}

@keyframes ledPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.meter-led-green.off {
    background: #1a1a1c;
    box-shadow: none;
    animation: none;
}

.meter-led-green.red {
    background: #e10600;
    box-shadow: 0 0 10px #e10600, 0 0 20px rgba(225, 6, 0, 0.8);
}

/* ===== LABEL OIL P (in alto) ===== */
.meter-label-oilp {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    z-index: 4;
}

.label-oilp-text {
    font-family: var(--tec-mono);
    font-size: 0.95rem;
    font-weight: 700;
    color: #00e676;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(0, 230, 118, 0.6);
}

.label-oilp-value {
    font-family: var(--tec-mono);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* ===== LABEL EGT2 (in basso) ===== */
.meter-label-egt {
    position: absolute;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.label-egt-text {
    font-family: var(--tec-mono);
    font-size: 1rem;
    font-weight: 700;
    color: #00d4ff;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
}

/* ===== VALORE EGT grande ===== */
.meter-value-egt {
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--tec-mono);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -1px;
    text-shadow:
        0 0 15px rgba(255, 255, 255, 0.25),
        0 0 30px rgba(0, 212, 255, 0.15);
    z-index: 4;
    transition: color 0.2s;
}

.meter-value-egt.warning {
    color: #ffd60a;
    text-shadow: 0 0 15px rgba(255, 214, 10, 0.7);
}

.meter-value-egt.danger {
    color: #e10600;
    text-shadow: 0 0 20px rgba(225, 6, 0, 0.9);
}

/* ===== INFO DIAGNOSTICA CENTRALE ===== */
.meter-diag {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
    z-index: 4;
    pointer-events: none;
}

.meter-diag span {
    font-family: var(--tec-mono);
    font-size: 0.7rem;
    color: #5a5a68;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .meter-oled {
        width: 280px;
        height: 280px;
    }

    .meter-needle-oilp {
        height: 115px;
    }

    .meter-ticks-outer span:not(:empty) {
        transform: translate(-50%, -50%) rotate(var(--rot)) translateY(-146px) rotate(calc(-1 * var(--rot)));
        font-size: 0.55rem;
    }

    .meter-ticks-inner span {
        transform: translate(-50%, -50%) rotate(var(--rot)) translateY(-95px) rotate(calc(-1 * var(--rot)));
        font-size: 0.65rem;
    }

    .meter-value-egt {
        font-size: 1.8rem;
        bottom: 35px;
    }

    .label-oilp-text { font-size: 0.8rem; }
    .label-oilp-value { font-size: 1.1rem; }
    .label-egt-text { font-size: 0.85rem; }
}

@media (max-width: 600px) {
    .meter-oled {
        width: 240px;
        height: 240px;
    }

    .meter-needle-oilp { height: 98px; }

    .meter-ticks-outer span:not(:empty) {
        transform: translate(-50%, -50%) rotate(var(--rot)) translateY(-126px) rotate(calc(-1 * var(--rot)));
        font-size: 0.5rem;
    }

    .meter-ticks-inner span {
        transform: translate(-50%, -50%) rotate(var(--rot)) translateY(-82px) rotate(calc(-1 * var(--rot)));
        font-size: 0.55rem;
    }

    .meter-value-egt {
        font-size: 1.5rem;
        bottom: 28px;
    }

    .meter-diag span { font-size: 0.6rem; }
    .meter-led-green {
        bottom: 45px;
        right: 45px;
        width: 14px;
        height: 5px;
    }
}

/* =====================================================
   METER SINGOLO (DSH-R) — scala singola con lancetta
   ===================================================== */

.meter-single {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.meter-single-body {
    position: relative;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 35%, #0e0e14 0%, #06060a 70%, #000 100%);
    border-radius: 50%;
    border: 4px solid #0a0a0a;
    box-shadow:
        inset 0 3px 0 rgba(255, 255, 255, 0.04),
        inset 0 -4px 0 rgba(0, 0, 0, 0.9),
        0 25px 60px rgba(0, 0, 0, 0.85),
        0 0 60px rgba(225, 6, 0, 0.06);
}

.meter-single-body::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2a2a2e 0%, #0a0a0a 50%, #1a1a1e 100%);
    z-index: -1;
}

.meter-single-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(135deg);
    overflow: visible;
}

.meter-single-track {
    fill: none;
    stroke: rgba(60, 60, 70, 0.4);
    stroke-width: 7;
    stroke-linecap: round;
    stroke-dasharray: 565 753;   /* 3/4 circonferenza (r=120 → C≈753) */
}

.meter-single-arc {
    fill: none;
    stroke: var(--tec-red);
    stroke-width: 7;
    stroke-linecap: round;
    stroke-dasharray: 565 753;
    stroke-dashoffset: 565;
    filter: drop-shadow(0 0 6px rgba(225, 6, 0, 0.6));
    transition: stroke-dashoffset 0.15s linear, stroke 0.2s;
}

.meter-single.warning .meter-single-arc {
    stroke: var(--tec-yellow);
    filter: drop-shadow(0 0 8px rgba(255, 214, 10, 0.7));
}

.meter-single.danger .meter-single-arc {
    stroke: var(--tec-red);
    filter: drop-shadow(0 0 12px rgba(225, 6, 0, 0.9));
}

/* Tacche */
.meter-single-ticks {
    position: absolute;
    inset: 0;
}

.meter-single-ticks span {
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: var(--tec-mono);
    font-size: 0.7rem;
    color: #a0a0a8;
    transform: translate(-50%, -50%) rotate(var(--rot)) translateY(-95px) rotate(calc(-1 * var(--rot)));
    white-space: nowrap;
}

.meter-single-ticks span:not(:empty) {
    color: #e8e8e8;
    font-weight: 600;
    font-size: 0.75rem;
}

/* Lancetta */
.meter-single-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 105px;
    transform-origin: 50% 100%;
    transform: translate(-50%, -100%) rotate(0deg);
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 3;
}

.ms-needle-bar {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg,
        #e10600 0%,
        #e10600 60%,
        rgba(225, 6, 0, 0.3) 100%);
    border-radius: 2px;
    box-shadow:
        0 0 8px rgba(225, 6, 0, 0.9),
        0 0 16px rgba(225, 6, 0, 0.5);
}

.ms-needle-hub {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, #1a1a1c 0%, #0a0a0a 100%);
    border: 2px solid #2a2a2e;
    border-radius: 50%;
    box-shadow:
        0 0 12px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Valore centrale */
.meter-single-value-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 15%);
    text-align: center;
    z-index: 4;
}

.meter-single-value {
    font-family: var(--tec-mono);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-shadow:
        0 0 15px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(225, 6, 0, 0.15);
    transition: color 0.2s;
}

.meter-single.warning .meter-single-value {
    color: var(--tec-yellow);
    text-shadow: 0 0 15px rgba(255, 214, 10, 0.7);
}

.meter-single.danger .meter-single-value {
    color: var(--tec-red);
    text-shadow: 0 0 20px rgba(225, 6, 0, 0.9);
}

.meter-single-unit {
    display: block;
    font-family: var(--tec-mono);
    font-size: 0.7rem;
    color: #6a6a78;
    letter-spacing: 2px;
    margin-top: 0.3rem;
}

/* Label + status */
.meter-single-label {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--tec-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: #a0a0a8;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.meter-single-status {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--tec-mono);
    font-size: 0.6rem;
    color: var(--tec-green);
    letter-spacing: 2px;
    padding: 0.15rem 0.5rem;
    border: 1px solid rgba(0, 200, 83, 0.3);
    border-radius: 3px;
    background: rgba(0, 200, 83, 0.05);
}

.meter-single.warning .meter-single-status {
    color: var(--tec-yellow);
    border-color: rgba(255, 214, 10, 0.3);
    background: rgba(255, 214, 10, 0.05);
}

.meter-single.danger .meter-single-status {
    color: var(--tec-red);
    border-color: rgba(225, 6, 0, 0.4);
    background: rgba(225, 6, 0, 0.08);
}

/* =====================================================
   METER LED (DSH-G) — barra a segmenti
   ===================================================== */

.meter-led {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto;
}

.meter-led-body {
    position: relative;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 40%, #0d0d12 0%, #06060a 70%, #000 100%);
    border-radius: 50%;
    border: 4px solid #0a0a0a;
    box-shadow:
        inset 0 3px 0 rgba(255, 255, 255, 0.04),
        inset 0 -4px 0 rgba(0, 0, 0, 0.9),
        0 25px 60px rgba(0, 0, 0, 0.85),
        0 0 60px rgba(0, 200, 83, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.meter-led-body::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2a2a2e 0%, #0a0a0a 50%, #1a1a1e 100%);
    z-index: -1;
}

/* Barra LED verticale */
.meter-led-bar {
    position: absolute;
    left: 30px;
    top: 30px;
    bottom: 30px;
    width: 12px;
    display: flex;
    flex-direction: column-reverse;
    gap: 3px;
}

.led-seg {
    flex: 1;
    background: #15151a;
    border: 1px solid #0a0a0a;
    border-radius: 2px;
    transition: all 0.1s;
}

.led-seg.on-green {
    background: #00e676;
    box-shadow: 0 0 6px #00e676, 0 0 12px rgba(0, 230, 118, 0.5);
    border-color: #00e676;
}

.led-seg.on-yellow {
    background: #ffd60a;
    box-shadow: 0 0 6px #ffd60a, 0 0 12px rgba(255, 214, 10, 0.6);
    border-color: #ffd60a;
}

.led-seg.on-red {
    background: #e10600;
    box-shadow: 0 0 8px #e10600, 0 0 16px rgba(225, 6, 0, 0.7);
    border-color: #e10600;
}

.led-seg.blink {
    animation: ledBlink 0.4s ease-in-out infinite alternate;
}

@keyframes ledBlink {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Valore */
.meter-led-value-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    text-align: center;
    z-index: 3;
}

.meter-led-value {
    font-family: var(--tec-mono);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-shadow:
        0 0 15px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(0, 200, 83, 0.15);
    transition: color 0.2s;
}

.meter-led.warning .meter-led-value {
    color: var(--tec-yellow);
    text-shadow: 0 0 15px rgba(255, 214, 10, 0.7);
}

.meter-led.danger .meter-led-value {
    color: var(--tec-red);
    text-shadow: 0 0 20px rgba(225, 6, 0, 0.9);
}

.meter-led-unit {
    display: block;
    font-family: var(--tec-mono);
    font-size: 0.7rem;
    color: #6a6a78;
    letter-spacing: 2px;
    margin-top: 0.3rem;
}

/* Label + status */
.meter-led-label {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--tec-mono);
    font-size: 0.65rem;
    font-weight: 600;
    color: #a0a0a8;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.meter-led-status {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--tec-mono);
    font-size: 0.55rem;
    color: var(--tec-green);
    letter-spacing: 2px;
    padding: 0.15rem 0.5rem;
    border: 1px solid rgba(0, 200, 83, 0.3);
    border-radius: 3px;
    background: rgba(0, 200, 83, 0.05);
}

.meter-led.warning .meter-led-status {
    color: var(--tec-yellow);
    border-color: rgba(255, 214, 10, 0.3);
    background: rgba(255, 214, 10, 0.05);
}

.meter-led.danger .meter-led-status {
    color: var(--tec-red);
    border-color: rgba(225, 6, 0, 0.4);
    background: rgba(225, 6, 0, 0.08);
}

/* ===== RESPONSIVE METER ===== */
@media (max-width: 900px) {
    .meter-single { width: 260px; height: 260px; }
    .meter-single-needle { height: 90px; }
    .meter-single-ticks span:not(:empty) {
        transform: translate(-50%, -50%) rotate(var(--rot)) translateY(-82px) rotate(calc(-1 * var(--rot)));
        font-size: 0.65rem;
    }
    .meter-single-value { font-size: 1.75rem; }
    .meter-led { width: 220px; height: 220px; }
}

@media (max-width: 600px) {
    .meter-single { width: 220px; height: 220px; }
    .meter-single-needle { height: 76px; }
    .meter-single-ticks span:not(:empty) {
        transform: translate(-50%, -50%) rotate(var(--rot)) translateY(-68px) rotate(calc(-1 * var(--rot)));
        font-size: 0.58rem;
    }
    .meter-single-value { font-size: 1.5rem; }
    .meter-single-label { font-size: 0.62rem; bottom: 25px; }
    .meter-led { width: 200px; height: 200px; }
    .meter-led-value { font-size: 1.75rem; }
    .led-seg { gap: 2px; }
    .meter-led-bar { left: 22px; top: 22px; bottom: 22px; width: 10px; }
}

/* =====================================================
   DASH-L — Racing Dash entry-level
   ===================================================== */

.dash-l-wrap {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
}

.dash-l-body {
    background: linear-gradient(160deg, #1a1a1c 0%, #0a0a0c 100%);
    border-radius: 20px;
    padding: 18px 22px 22px;
    border: 2px solid #0a0a0a;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 30px 60px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(225, 6, 0, 0.06);
    clip-path: polygon(
        18px 0, calc(100% - 22px) 0, calc(100% - 4px) 5px,
        calc(100% - 4px) 18px, 100% calc(100% - 22px),
        calc(100% - 15px) calc(100% - 5px), calc(100% - 30px) 100%,
        30px 100%, 15px calc(100% - 5px), 0 calc(100% - 22px),
        0 18px, 4px 5px
    );
}

.dash-l-leds {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--tec-border);
}

.dash-l-leds .led {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid #000;
}

.dash-l-leds .led.g.on { background: #00e676; box-shadow: 0 0 8px #00e676; }
.dash-l-leds .led.y.on { background: #ffd60a; box-shadow: 0 0 8px #ffd60a; }
.dash-l-leds .led.r.on { background: #e10600; box-shadow: 0 0 10px #e10600; }
.dash-l-leds .led.w.on { background: #fff; box-shadow: 0 0 10px #fff; }

.dash-l-screen {
    background: #050508;
    border-radius: 10px;
    padding: 14px 16px;
    font-family: var(--tec-mono);
    border: 1px solid #101018;
}

.dash-l-gear-bar {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 0.6rem;
}

.dash-l-gear-bar span {
    flex: 1;
    max-width: 40px;
    padding: 3px 0;
    text-align: center;
    background: #0a1a2e;
    color: #4a90d9;
    border-radius: 2px;
    border: 1px solid #1a3a5e;
    font-weight: 600;
}

.dash-l-gear-bar span.active {
    background: #e10600;
    color: #fff;
    border-color: #e10600;
    box-shadow: 0 0 10px rgba(225, 6, 0, 0.7);
}

.dash-l-rpm {
    text-align: center;
    margin-bottom: 10px;
}

.dash-l-rpm-label {
    display: block;
    font-size: 0.6rem;
    color: #5a5a68;
    letter-spacing: 3px;
    margin-bottom: 2px;
}

.dash-l-rpm-value {
    font-family: var(--tec-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transition: color 0.15s;
}

.dash-l-rpm-value.warn { color: #ffd60a; }
.dash-l-rpm-value.alert { color: #e10600; }

.dash-l-speed-row {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 1rem;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    position: relative;
}

.dash-l-speed {
    text-align: center;
    flex: 1;
}

.dash-l-speed-value {
    font-family: var(--tec-mono);
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: -2px;
    line-height: 1;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.dash-l-speed-unit {
    display: block;
    font-size: 0.6rem;
    color: #5a5a68;
    letter-spacing: 2px;
    margin-top: 3px;
}

.dash-l-gear {
    font-family: var(--tec-mono);
    font-size: 2rem;
    font-weight: 700;
    color: #ffd60a;
    border: 2px solid #ffd60a;
    border-radius: 6px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 214, 10, 0.4);
    transition: all 0.15s;
}

.dash-l-gear.flash {
    background: #ffd60a;
    color: #000;
    box-shadow: 0 0 25px rgba(255, 214, 10, 0.9);
}

.dash-l-secondary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    font-size: 0.65rem;
}

.dash-l-secondary > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 5px 6px;
    background: #0a0a12;
    border: 1px solid #151520;
    border-radius: 3px;
    text-align: center;
}

.dash-l-secondary span {
    color: #5a5a68;
    font-size: 0.55rem;
    letter-spacing: 1px;
}

.dash-l-secondary strong {
    color: #fff;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* =====================================================
   DASH-LX — Racing Dash premium
   ===================================================== */

.dash-lx-wrap {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.dash-lx-body {
    position: relative;
    background: linear-gradient(160deg, #1c1c1e 0%, #0a0a0c 100%);
    border-radius: 24px;
    padding: 24px 28px 26px;
    border: 2px solid #0a0a0a;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 35px 70px rgba(0, 0, 0, 0.85),
        0 0 80px rgba(225, 6, 0, 0.08);
    clip-path: polygon(
        20px 0, calc(100% - 26px) 0, calc(100% - 5px) 6px,
        calc(100% - 5px) 20px, 100% calc(100% - 26px),
        calc(100% - 18px) calc(100% - 6px), calc(100% - 36px) 100%,
        36px 100%, 18px calc(100% - 6px), 0 calc(100% - 26px),
        0 20px, 5px 6px
    );
}

.dash-lx-leds-top {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 14px;
}

.dash-lx-leds-left,
.dash-lx-leds-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dash-lx-leds-left { left: 6px; }
.dash-lx-leds-right { right: 6px; }

.lx-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid #000;
    transition: all 0.1s;
}

.lx-led.g.on { background: #00e676; box-shadow: 0 0 8px #00e676; }
.lx-led.y.on { background: #ffd60a; box-shadow: 0 0 8px #ffd60a; }
.lx-led.r.on { background: #e10600; box-shadow: 0 0 10px #e10600; }
.lx-led.w.on { background: #fff; box-shadow: 0 0 10px #fff; }

.dash-lx-screen {
    background: #050508;
    border-radius: 12px;
    padding: 16px 18px;
    font-family: var(--tec-mono);
    border: 1px solid #101018;
    min-height: 260px;
    position: relative;
}

.dash-lx-gear-bar {
    display: flex;
    gap: 2px;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 0.6rem;
}

.dash-lx-gear-bar span {
    flex: 1;
    max-width: 38px;
    padding: 3px 0;
    text-align: center;
    background: #0a1a2e;
    color: #4a90d9;
    border-radius: 2px;
    border: 1px solid #1a3a5e;
    font-weight: 600;
}

.dash-lx-gear-bar span.active {
    background: #e10600;
    color: #fff;
    border-color: #e10600;
    box-shadow: 0 0 10px rgba(225, 6, 0, 0.7);
}

.dash-lx-rpm-graph {
    position: relative;
    height: 60px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-lx-rpm-graph svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.lx-curve {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.lx-curve.outer {
    stroke: #ff6b35;
    filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.7));
}

.lx-curve.inner {
    stroke: #ff8c42;
    filter: drop-shadow(0 0 4px rgba(255, 140, 66, 0.6));
    opacity: 0.85;
}

.dash-lx-rpm-box {
    position: absolute;
    top: 4px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    padding: 4px 10px;
    background: rgba(30, 30, 40, 0.8);
    border: 1px solid rgba(120, 120, 140, 0.3);
    border-radius: 3px;
    min-width: 65px;
}

.dash-lx-rpm-box span:first-child {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.lx-rpm-label {
    font-size: 0.5rem;
    color: #6a6a78;
    letter-spacing: 2px;
}

.dash-lx-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 8px 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    position: relative;
}

.dash-lx-speed {
    text-align: center;
}

.dash-lx-speed-value {
    font-family: var(--tec-mono);
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: -3px;
    line-height: 1;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.dash-lx-speed-unit {
    display: block;
    font-size: 0.6rem;
    color: #5a5a68;
    letter-spacing: 3px;
    margin-top: 4px;
}

.dash-lx-gear {
    font-family: var(--tec-mono);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffd60a;
    border: 3px solid #ffd60a;
    border-radius: 8px;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 214, 10, 0.4);
    transition: all 0.15s;
}

.dash-lx-gear.flash {
    background: #ffd60a;
    color: #000;
    box-shadow: 0 0 30px rgba(255, 214, 10, 0.9);
}

.dash-lx-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    font-size: 0.68rem;
}

.dash-lx-grid > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 8px;
    background: #0a0a12;
    border: 1px solid #151520;
    border-radius: 3px;
}

.dash-lx-grid span {
    color: #5a5a68;
    font-size: 0.58rem;
    letter-spacing: 1px;
}

.dash-lx-grid strong {
    color: #fff;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    font-size: 0.7rem;
}

.dash-lx-grid strong.warn { color: #ffd60a; }
.dash-lx-grid strong.alert { color: #e10600; }

/* =====================================================
   CANBUS MODULE — DSH-CX e DSH-REV
   ===================================================== */

.canbus-module {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.canbus-body {
    position: relative;
    background: linear-gradient(160deg, #2a2a2e 0%, #14141a 50%, #050505 100%);
    border-radius: 14px;
    padding: 26px 34px;
    border: 2px solid #0a0a0a;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -2px 0 rgba(0, 0, 0, 0.8),
        0 30px 60px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(225, 6, 0, 0.05);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.canbus-module.rev-module .canbus-body {
    min-height: 260px;
}

/* LED di stato */
.canbus-leds {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.canbus-led-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.cb-led {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid #000;
    transition: all 0.15s;
}

.cb-led.power.on {
    background: #00e676;
    box-shadow: 0 0 10px #00e676, 0 0 20px rgba(0, 230, 118, 0.5);
}

.cb-led.can.on {
    background: #00d4ff;
    box-shadow: 0 0 10px #00d4ff, 0 0 20px rgba(0, 212, 255, 0.5);
    animation: cbPulse 1.2s ease-in-out infinite;
}

.cb-led.tx {
    background: #ffd60a;
    box-shadow: 0 0 8px rgba(255, 214, 10, 0.5);
    animation: cbBlink 0.4s ease-in-out infinite alternate;
}

.cb-led.rx.on {
    background: #e10600;
    box-shadow: 0 0 8px #e10600;
    animation: cbBlink 0.3s ease-in-out infinite alternate;
}

@keyframes cbPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes cbBlink {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

.cb-led-label {
    font-family: var(--tec-mono);
    font-size: 0.55rem;
    color: #6a6a78;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Connettori laterali */
.canbus-connector {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px 4px;
    background: #0a0a0a;
    border-radius: 4px;
    border: 1px solid #000;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.canbus-connector-left { left: -8px; }
.canbus-connector-right { right: -8px; }

.canbus-connector span {
    width: 14px;
    height: 3px;
    background: linear-gradient(90deg, #3a3a3e 0%, #1a1a1e 100%);
    border-radius: 1px;
}

.canbus-connector-right span {
    background: linear-gradient(90deg, #1a1a1e 0%, #3a3a3e 100%);
}

/* Etichetta */
.canbus-label {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.canbus-label-top {
    font-family: var(--tec-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.canbus-label-sub {
    font-family: var(--tec-mono);
    font-size: 0.62rem;
    color: #8a8a98;
    letter-spacing: 1.5px;
    margin-top: 3px;
    text-transform: uppercase;
}

.canbus-label-serial {
    font-family: var(--tec-mono);
    font-size: 0.55rem;
    color: #4a4a58;
    letter-spacing: 1.2px;
    margin-top: 6px;
}

/* Monitor CAN per DSH-REV */
.rev-monitor {
    background: #050508;
    border-radius: 6px;
    padding: 10px 12px;
    border: 1px solid #101018;
    font-family: var(--tec-mono);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rev-monitor-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    padding: 3px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.rev-monitor-row:last-child { border-bottom: none; }

.rev-id {
    color: #00d4ff;
    font-weight: 600;
    letter-spacing: 1px;
}

.rev-data {
    color: #a0a0a8;
    letter-spacing: 1px;
}

/* Ombra sotto il modulo */
.canbus-shadow {
    height: 20px;
    margin: 6px auto 0;
    width: 70%;
    background: radial-gradient(ellipse, rgba(225, 6, 0, 0.15), transparent 70%);
    filter: blur(15px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .dash-l-wrap,
    .dash-lx-wrap { max-width: 100%; }

    .dash-l-speed-value { font-size: 2.4rem; }
    .dash-lx-speed-value { font-size: 2.8rem; }

    .canbus-module { max-width: 340px; }
}

@media (max-width: 600px) {
    .dash-l-body,
    .dash-lx-body { padding: 16px 18px 20px; border-radius: 16px; }

    .dash-l-speed-value { font-size: 2rem; }
    .dash-l-rpm-value { font-size: 1.2rem; }
    .dash-l-gear { width: 42px; height: 42px; font-size: 1.6rem; }

    .dash-lx-speed-value { font-size: 2.2rem; }
    .dash-lx-gear { width: 50px; height: 50px; font-size: 1.8rem; }
    .dash-lx-gear-bar span { max-width: 30px; font-size: 0.55rem; }

    .dash-l-secondary { grid-template-columns: repeat(2, 1fr); }

    .canbus-module { max-width: 280px; }
    .canbus-body { padding: 20px 26px; }
    .canbus-leds { gap: 12px; }
    .rev-monitor-row { font-size: 0.6rem; }
}

/* ===== LOGO ===== */
.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.logo:hover {
    opacity: 0.85;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Logo nel footer più grande */
.logo-footer .logo-img {
    height: 44px;
}

/* Adatta il logo alle dimensioni della navbar sticky */
.navbar .logo {
    height: 100%;
}

/* Responsive — logo più piccolo su mobile */
@media (max-width: 900px) {
    .logo-img {
        height: 32px;
    }
    .logo-footer .logo-img {
        height: 38px;
    }
}

@media (max-width: 600px) {
    .logo-img {
        height: 28px;
    }
    .logo-footer .logo-img {
        height: 34px;
    }
}

/* =====================================================
   GALLERY — Pagina prodotti
   ===================================================== */

.prod-gallery {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 5%;
    border-top: 1px solid var(--tec-border);
}

.prod-gallery-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--tec-border);
}

.prod-gallery-head h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--tec-text);
    letter-spacing: -0.01em;
}

.prod-gallery-count {
    font-size: 0.75rem;
    color: var(--tec-text-dimmer);
    font-family: var(--tec-mono);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.prod-gallery-desc {
    color: var(--tec-text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 640px;
}

.prod-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

/* Item base */
.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    background: var(--tec-surface);
    border: 1px solid var(--tec-border);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    border-color: var(--tec-red);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* Overlay con caption */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        transparent 40%,
        rgba(0, 0, 0, 0.75) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    font-family: var(--tec-mono);
    font-size: 0.72rem;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.gallery-zoom {
    font-size: 1rem;
    color: var(--tec-yellow);
    font-weight: 700;
    line-height: 1;
    align-self: flex-end;
    text-shadow: 0 0 10px rgba(245, 168, 0, 0.6);
}

/* Item in evidenza (opzionale — primo elemento più grande) */
.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1 / 1;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 2rem;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: lbZoom 0.3s ease;
}

@keyframes lbZoom {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
    color: #d0d0d0;
    font-family: var(--tec-mono);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0;
    max-width: 800px;
}

.lightbox-counter {
    font-family: var(--tec-mono);
    font-size: 0.7rem;
    color: #8a8a92;
    letter-spacing: 2px;
}

/* Pulsanti lightbox */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tec-sans);
    padding: 0;
}

.lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    padding-bottom: 3px;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--tec-red);
    border-color: var(--tec-red);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-close:hover {
    transform: scale(1.05);
}

/* Tema chiaro */
body.light .gallery-item {
    background: #fff;
    border-color: var(--tec-border);
}

body.light .gallery-item:hover {
    border-color: var(--tec-red);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

body.light .lightbox {
    background: rgba(20, 20, 22, 0.96);
}

body.light .prod-gallery {
    border-top-color: var(--tec-border);
}

body.light .prod-gallery-head {
    border-bottom-color: var(--tec-border);
}

body.light .prod-gallery-head h2 {
    color: var(--tec-text);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .prod-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-item.featured {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 700px) {
    .prod-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.featured {
        grid-column: span 2;
        aspect-ratio: 16 / 9;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 42px;
        height: 42px;
        font-size: 1.5rem;
    }

    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }

    .lightbox-close {
        top: 0.8rem;
        right: 0.8rem;
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .prod-gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.featured {
        grid-column: span 1;
    }

    .prod-gallery {
        padding: 3rem 5%;
    }
}

/* =====================================================
   FORM CONTATTI — Contatore + hCaptcha
   ===================================================== */

.form-counter {
    display: block;
    text-align: right;
    font-family: var(--tec-mono);
    font-size: 0.7rem;
    color: var(--tec-text-dimmer);
    margin-top: 0.35rem;
    letter-spacing: 0.5px;
}

.h-captcha {
    margin: 1.25rem 0;
    display: flex;
    justify-content: center;
    min-height: 78px;
}

.contact-form .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.form-message.success {
    color: var(--tec-green);
}

.form-message.error {
    color: var(--tec-red);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.85rem;
    line-height: 1.5;
    min-height: 1.2em;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 5%;
}

.legal-content h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--tec-text);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
    color: var(--tec-text-dim);
    line-height: 1.75;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* =====================================================
   NAVBAR — MOBILE (max 900px)
   ===================================================== */

@media (max-width: 900px) {

    .layout-tec .navbar {
        padding: 0.75rem 4%;
        min-height: 58px;
        gap: 0;
        position: sticky;
    }

    /* Logo più piccolo su mobile */
    .logo-img {
        height: 26px;
    }

    /* Burger visibile */
    .burger {
        display: flex;
    }

    /* Menu a tendina che appare sotto la navbar */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(13, 13, 15, 0.98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--tec-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

        /* Nascosto di default */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        padding: 0 5%;

        /* Reset */
        margin: 0;
        list-style: none;
    }

    /* Menu aperto */
    .nav-links.open {
        max-height: 400px;
        padding: 0.5rem 5% 1rem;
    }

    .nav-links li {
        border-bottom: 1px solid var(--tec-border);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
        font-weight: 500;
    }

    .nav-links a.active::after {
        display: none;
    }

    .nav-links a.active {
        color: var(--tec-red);
    }
}

/* Extra small (max 480px) */
@media (max-width: 480px) {
    .logo-img {
        height: 24px;
    }

    .layout-tec .navbar {
        padding: 0.65rem 4%;
    }

    .burger {
        padding: 6px;
    }

    .burger span {
        width: 20px;
    }
}