/* ============================================
   GENERALPIEMONTEDIL S.r.l. — Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #2C3E50;
    --primary-dark: #1a252f;
    --primary-rgb: 44, 62, 80;
    --accent: #E67E22;
    --accent-rgb: 230, 126, 34;
    --light: #ECF0F1;
    --light-rgb: 236, 240, 241;
    --white: #FFFFFF;
    --black: #0a0a0a;

    --font-heading: 'Clash Display', sans-serif;
    --font-body: 'Inter', sans-serif;

    --nav-height: 80px;
    --container: 1320px;
    --gap: 24px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --radius: 12px;
    --radius-lg: 20px;
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--primary);
    background: var(--white);
    overflow-x: hidden;
    cursor: none;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

button, select, input, textarea {
    cursor: none;
    font-family: var(--font-body);
}

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

::selection {
    background: var(--accent);
    color: var(--white);
}

/* --- Container --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* --- Custom Cursor --- */
.cursor {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
    top: -4px;
    left: -4px;
    transition: transform 0.15s var(--ease-out), opacity 0.15s;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    position: absolute;
    top: -20px;
    left: -20px;
    transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.cursor.hovering .cursor-dot {
    transform: scale(0);
}

.cursor.hovering .cursor-ring {
    transform: scale(1.8);
    border-color: var(--accent);
}

.cursor.clicking .cursor-ring {
    transform: scale(0.8);
}

@media (pointer: coarse) {
    .cursor { display: none !important; }
    body { cursor: auto; }
    a, button, select, input, textarea { cursor: auto; }
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}

.preloader-inner {
    text-align: center;
}

.preloader-line {
    width: 120px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    margin: 0 auto 24px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.preloader-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: preloaderSlide 1.2s var(--ease-in-out) infinite;
}

@keyframes preloaderSlide {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 6px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 clamp(20px, 4vw, 60px);
    height: var(--nav-height);
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.navbar.scrolled {
    background: rgba(26, 37, 47, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white);
    display: flex;
    gap: 0;
}

.logo-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
    overflow: hidden;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out);
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.toggle-line {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: transform 0.4s var(--ease-out), opacity 0.3s;
    transform-origin: center;
}

.nav-toggle.active .toggle-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .toggle-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: clamp(32px, 8vw, 56px);
    font-weight: 700;
    color: var(--white);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-link:hover {
    color: var(--accent);
}

.mobile-cta {
    margin-top: 20px;
    background: var(--accent);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 100px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s var(--ease-out) 0.35s, transform 0.5s var(--ease-out) 0.35s;
}

.mobile-menu.active .mobile-cta {
    opacity: 1;
    transform: translateY(0);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-blueprint {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.2;
}

.blueprint-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.25) 35%,
        rgba(0, 0, 0, 0.0) 60%,
        rgba(0, 0, 0, 0.0) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 clamp(20px, 4vw, 60px);
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    padding-top: calc(var(--nav-height) + 40px);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    opacity: 0;
}

.tag-line {
    width: 48px;
    height: 1px;
    background: var(--accent);
}

.tag-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 700;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 0 2px 40px rgba(0,0,0,0.7), 0 0 80px rgba(0,0,0,0.3);
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    transform: translateY(120%);
}

.title-word.accent {
    color: var(--accent);
}

.hero-sub {
    font-size: clamp(14px, 1.5vw, 17px);
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    max-width: 550px;
    line-height: 1.6;
    margin-bottom: 24px;
    text-shadow: 0 1px 20px rgba(0,0,0,0.6);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 100px;
    border: none;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    backdrop-filter: blur(8px);
}

.btn-primary:hover {
    box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.4);
}

.btn-outline {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.15);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    right: clamp(20px, 4vw, 60px);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--accent);
    animation: scrollDown 2s var(--ease-in-out) infinite;
}

@keyframes scrollDown {
    0% { top: -50%; }
    100% { top: 100%; }
}

.scroll-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

/* --- NUMBERS / BENTO BOX --- */
.numbers {
    padding: clamp(80px, 10vw, 140px) 0;
    background: var(--light);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.label-line {
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.section-label span:last-child {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--label-color, var(--primary));
    opacity: 0.7;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--gap);
}

.bento-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(32px, 4vw, 48px);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.08);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-large {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-accent {
    background: var(--primary);
    color: var(--white);
}

.bento-accent .bento-label,
.bento-accent .bento-desc {
    color: rgba(255,255,255,0.7);
}

.bento-wide {
    grid-column: span 2;
}

.bento-number {
    font-family: var(--font-heading);
    font-size: clamp(56px, 8vw, 96px);
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 12px;
    color: var(--primary);
}

.bento-accent .bento-number {
    color: var(--accent);
}

.bento-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    opacity: 0.5;
    display: block;
    margin-bottom: 16px;
}

.bento-desc {
    font-size: 15px;
    color: var(--primary);
    opacity: 0.6;
    line-height: 1.7;
}

/* --- ABOUT / CHI SIAMO --- */
.about {
    padding: clamp(80px, 10vw, 160px) 0;
}

.about-intro {
    max-width: 900px;
    margin-bottom: 56px;
}

.about-columns {
    columns: 2;
    column-gap: 40px;
}

.about-columns p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(var(--primary-rgb), 0.7);
    margin-bottom: 20px;
    break-inside: avoid;
}

.about-columns strong {
    color: var(--primary);
    font-weight: 600;
}

/* Garanzie — 4 card orizzontali */
.about-guarantees {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 56px;
}

.guarantee-item {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.guarantee-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.06);
}

.guarantee-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--accent);
    box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.1);
}

.guarantee-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.guarantee-desc {
    display: block;
    font-size: 13px;
    color: rgba(var(--primary-rgb), 0.5);
    line-height: 1.5;
}

/* ===== AWARD BANNER — Premium ===== */
.award-banner {
    position: relative;
    background: var(--primary-dark);
    border-radius: var(--radius-lg);
    padding: clamp(40px, 5vw, 64px);
    overflow: hidden;
    color: var(--white);
}

.award-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.award-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #F39C12, var(--accent));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.award-content {
    display: flex;
    gap: clamp(32px, 4vw, 56px);
    align-items: flex-start;
    margin-bottom: 40px;
}

.award-badge-wrap {
    flex-shrink: 0;
}

.award-badge {
    width: 130px;
    height: 150px;
    border: 2px solid rgba(var(--accent-rgb), 0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(var(--accent-rgb), 0.06);
    color: var(--accent);
    text-align: center;
    position: relative;
}

.award-badge::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), transparent, rgba(var(--accent-rgb), 0.1));
    z-index: -1;
}

.award-badge-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
    color: var(--accent);
}

.award-text {
    flex: 1;
}

.award-eyebrow {
    margin-bottom: 16px;
}

.award-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: var(--accent);
    padding: 6px 16px;
    border-radius: 100px;
}

.award-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.award-accent {
    color: var(--accent);
}

.award-desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
}

.award-desc strong {
    color: var(--white);
    font-weight: 600;
}

.award-quote {
    font-size: 15px;
    font-style: italic;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin: 0;
}

.award-quote cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    color: var(--accent);
    margin-top: 10px;
}

/* Pilastri del premio */
.award-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 32px;
}

.award-pillar {
    text-align: center;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.pillar-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.pillar-desc {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    line-height: 1.5;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 28px;
}

.accent {
    color: var(--accent);
}

/* Old about styles removed — replaced by new premium layout */

/* --- SERVICES --- */
.services {
    padding: clamp(80px, 10vw, 140px) 0;
    background: var(--primary-dark);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.section-header .section-title {
    color: inherit;
}

.section-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.55);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.services .section-label span:last-child {
    color: rgba(255,255,255,0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: var(--gap);
}

.service-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.service-tall {
    grid-row: span 2;
    aspect-ratio: auto;
}

.service-img-wrap {
    position: absolute;
    inset: 0;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.08);
}

/* Card Linea Vita — foto panoramica visibile interamente (contain, no crop) */
.service-linea-vita .service-img-wrap {
    background: #0a1420;
}
.service-linea-vita .service-img-wrap img {
    object-fit: contain;
    object-position: center;
}
.service-linea-vita:hover .service-img-wrap img {
    transform: scale(1.04);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(var(--primary-rgb), 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(24px, 3vw, 40px);
    transition: background 0.5s;
}

.service-card:hover .service-overlay {
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.3) 0%, rgba(var(--primary-rgb), 0.95) 80%);
}

.service-icon {
    margin-bottom: 16px;
    color: var(--accent);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.service-card:hover .service-icon {
    opacity: 1;
    transform: translateY(0);
}

.service-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.2;
}

.service-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s var(--ease-out), opacity 0.4s;
}

.service-card:hover .service-desc {
    max-height: 200px;
    opacity: 1;
}

.service-cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s 0.1s, transform 0.4s 0.1s var(--ease-out);
}

.service-card:hover .service-cta {
    opacity: 1;
    transform: translateY(0);
}

/* --- PORTFOLIO / CANTIERI --- */
.portfolio {
    padding: clamp(80px, 10vw, 160px) 0;
}

.section-title-xl {
    font-family: var(--font-heading);
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
}

.portfolio .section-desc {
    color: rgba(var(--primary-rgb), 0.55);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.portfolio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
    border: 1px solid rgba(var(--primary-rgb), 0.06);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(var(--primary-rgb), 0.1);
}

.portfolio-img-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.portfolio-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.portfolio-card:hover .portfolio-img-wrap img {
    transform: scale(1.06);
}

.portfolio-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
}

.portfolio-info {
    padding: clamp(24px, 3vw, 36px);
}

.portfolio-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 12px;
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.portfolio-desc {
    font-size: 14px;
    color: rgba(var(--primary-rgb), 0.6);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.meta-item {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: var(--light);
    padding: 6px 14px;
    border-radius: 100px;
    color: rgba(var(--primary-rgb), 0.6);
}

/* --- BEFORE & AFTER --- */
.before-after {
    padding: clamp(60px, 7vw, 100px) 0;
    background: var(--light);
}

.before-after .section-desc {
    color: rgba(var(--primary-rgb), 0.55);
}

.comparisons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: clamp(20px, 2vw, 28px);
}

.comparisons-reordered {
    grid-template-columns: 1fr 1fr;
}

.comparison-full {
    grid-column: 1 / -1;
}

.comparison-full .comparison-container {
    aspect-ratio: 4/3;
    max-width: 800px;
    margin: 0 auto;
}

.comparison-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 20px;
}

.comparison-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.comparison-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
}

.comparison-after {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comparison-before-clip {
    position: absolute;
    inset: 0;
    overflow: hidden;
    width: 50%;
}

.comparison-before {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
    position: absolute;
    top: 0;
    left: 0;
}

.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.handle-line {
    flex: 1;
    width: 2px;
    background: var(--white);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.handle-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    pointer-events: all;
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.handle-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0,0,0,0.3);
}

.handle-circle svg {
    width: 16px;
    height: 16px;
}

.comparison-label {
    position: absolute;
    top: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 100px;
    z-index: 5;
}

.label-before {
    left: 16px;
}

.label-after {
    right: 16px;
}

/* --- ACROBATIC SECTION --- */
.acrobatic {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.acrobatic-bg {
    position: absolute;
    inset: 0;
}

.acrobatic-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right 65%;
}

.acrobatic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.92) 0%, rgba(var(--primary-rgb), 0.6) 100%);
}

.acrobatic-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 80px;
    max-width: 700px;
}

.acrobatic-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.acrobatic-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 40px;
}

.acrobatic-gallery {
    display: flex;
    gap: 16px;
}

.acrobatic-thumb {
    width: 160px;
    height: 120px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.2);
    transition: border-color 0.3s;
}

.acrobatic-thumb:hover {
    border-color: var(--accent);
}

.acrobatic-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- FLEET / MEZZI --- */
.fleet {
    padding: clamp(80px, 10vw, 140px) 0;
}

.fleet-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.fleet-desc {
    font-size: 16px;
    color: rgba(var(--primary-rgb), 0.65);
    line-height: 1.8;
}

.fleet-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.fleet-img {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
}

.fleet-img:first-child,
.fleet-img:last-child {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.fleet-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.fleet-img:last-child img {
    object-position: center 70%;
}

.fleet-img:hover img {
    transform: scale(1.05);
}

/* --- CONTACTS --- */
.contact {
    padding: clamp(80px, 10vw, 140px) 0;
    background: var(--light);
}

.contact .section-desc {
    color: rgba(var(--primary-rgb), 0.55);
}

/* Contact Channels — Premium Cards */
.contact-channels {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.ch-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 32px 20px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid rgba(var(--primary-rgb), 0.06);
    text-decoration: none;
    color: var(--primary);
    overflow: hidden;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.4s;
    cursor: pointer;
}

.ch-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.ch-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.ch-card:hover .ch-glow {
    opacity: 0.2;
}

.ch-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.ch-card:hover .ch-icon {
    transform: scale(1.12) translateY(-2px);
}

.ch-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.ch-detail {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.45;
    line-height: 1.4;
}

/* ---- Colori brand per card ---- */

/* Chiamata — Arancione brand */
.ch-call .ch-glow { background: var(--accent); }
.ch-call .ch-icon { background: rgba(var(--accent-rgb), 0.1); color: var(--accent); }
.ch-call:hover { border-color: rgba(var(--accent-rgb), 0.3); }
.ch-call:hover .ch-icon { box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.25); }

/* WhatsApp — Verde #25D366 */
.ch-whatsapp .ch-glow { background: #25D366; }
.ch-whatsapp .ch-icon { background: rgba(37, 211, 102, 0.1); color: #25D366; }
.ch-whatsapp:hover { border-color: rgba(37, 211, 102, 0.3); }
.ch-whatsapp:hover .ch-icon { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25); }

/* Facebook — Blu #1877F2 */
.ch-facebook .ch-glow { background: #1877F2; }
.ch-facebook .ch-icon { background: rgba(24, 119, 242, 0.1); color: #1877F2; }
.ch-facebook:hover { border-color: rgba(24, 119, 242, 0.3); }
.ch-facebook:hover .ch-icon { box-shadow: 0 8px 24px rgba(24, 119, 242, 0.25); }

/* Gmail — Rosso #EA4335 */
.ch-gmail .ch-glow { background: #EA4335; }
.ch-gmail .ch-icon { background: rgba(234, 67, 53, 0.1); color: #EA4335; }
.ch-gmail:hover { border-color: rgba(234, 67, 53, 0.3); }
.ch-gmail:hover .ch-icon { box-shadow: 0 8px 24px rgba(234, 67, 53, 0.2); }

/* PEC — Blu istituzionale #1565C0 */
.ch-pec .ch-glow { background: #1565C0; }
.ch-pec .ch-icon { background: rgba(21, 101, 192, 0.1); color: #1565C0; }
.ch-pec:hover { border-color: rgba(21, 101, 192, 0.3); }
.ch-pec:hover .ch-icon { box-shadow: 0 8px 24px rgba(21, 101, 192, 0.2); }

/* Info strip sotto le card */
.contact-info-strip {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    padding: 20px 28px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid rgba(var(--primary-rgb), 0.06);
}

.info-strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(var(--primary-rgb), 0.55);
}

/* Form ora full width */
.contact-grid-single {
    grid-template-columns: 1fr !important;
    max-width: 800px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 4vw, 60px);
    align-items: start;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 48px);
    box-shadow: 0 4px 30px rgba(var(--primary-rgb), 0.04);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-full {
    margin-bottom: 20px;
}

label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--primary);
}

input, select, textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--primary);
    background: var(--white);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.1);
}

input::placeholder, textarea::placeholder {
    color: rgba(var(--primary-rgb), 0.3);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232C3E50' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(var(--primary-rgb), 0.6);
    line-height: 1.6;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    accent-color: var(--accent);
}

.form-policy-link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.form-policy-link:hover {
    color: var(--primary);
}

/* ============ SKIP LINK (a11y) ============ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #0a0a0a;
    color: #fff;
    padding: 12px 18px;
    z-index: 99999;
    text-decoration: none;
    font: 600 14px/1 'Inter', sans-serif;
    border-radius: 0 0 8px 0;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


.btn-submit {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 18px;
    margin-top: 8px;
    position: relative;
}

.btn-submit:disabled,
.btn-submit.is-loading {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.btn-submit.is-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    margin-left: 4px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: btn-spin 0.7s linear infinite;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* Form feedback (success/error) */
.form-feedback {
    grid-column: 1 / -1;
    margin-top: 4px;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 8px;
    transition: all 0.25s ease;
    min-height: 0;
    overflow: hidden;
}

.form-feedback.is-success,
.form-feedback.is-error {
    padding: 14px 18px;
    margin-top: 8px;
    min-height: auto;
    border: 1px solid;
}

.form-feedback.is-success {
    background: #ecfdf5;
    border-color: #10b981;
    color: #065f46;
}

.form-feedback.is-error {
    background: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
}

/* Contact Cards — Redesigned */
.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ccard {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    border: 1.5px solid rgba(var(--primary-rgb), 0.06);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s;
    text-decoration: none;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.ccard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.3s;
}

.ccard:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.08);
}

.ccard:hover::before {
    opacity: 1;
}

/* Colori per tipo */
.ccard-whatsapp::before { background: #25D366; }
.ccard-whatsapp:hover { border-color: rgba(37,211,102,0.3); }
.ccard-whatsapp .ccard-icon { background: rgba(37,211,102,0.1); color: #25D366; }

.ccard-messenger::before { background: #0084FF; }
.ccard-messenger:hover { border-color: rgba(0,132,255,0.3); }
.ccard-messenger .ccard-icon { background: rgba(0,132,255,0.1); color: #0084FF; }

.ccard-email::before { background: var(--accent); }
.ccard-email:hover { border-color: rgba(var(--accent-rgb),0.3); }
.ccard-email .ccard-icon { background: rgba(var(--accent-rgb),0.1); color: var(--accent); }

.ccard-pec::before { background: var(--primary); }
.ccard-pec .ccard-icon { background: rgba(var(--primary-rgb),0.08); color: var(--primary); }

.ccard-sede::before { background: #E74C3C; }
.ccard-sede .ccard-icon { background: rgba(231,76,60,0.1); color: #E74C3C; }

.ccard-orari::before { background: #9B59B6; }
.ccard-orari .ccard-icon { background: rgba(155,89,182,0.1); color: #9B59B6; }

.ccard-fiscal::before { background: var(--primary); }
.ccard-fiscal .ccard-icon { background: rgba(var(--primary-rgb),0.08); color: var(--primary); }

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

.ccard-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-out);
}

.ccard:hover .ccard-icon {
    transform: scale(1.08);
}

.ccard-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.ccard-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.4;
}

.ccard-value {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary);
    word-break: break-word;
}

a.ccard .ccard-value {
    color: var(--primary);
}

.ccard-sub {
    font-size: 12px;
    color: rgba(var(--primary-rgb), 0.45);
    font-weight: 500;
    margin-top: 2px;
}

.ccard-arrow {
    font-size: 18px;
    color: rgba(var(--primary-rgb), 0.2);
    flex-shrink: 0;
    transition: color 0.3s, transform 0.3s var(--ease-out);
}

.ccard:hover .ccard-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

/* --- FOOTER --- */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding-top: clamp(60px, 8vw, 100px);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: clamp(32px, 4vw, 60px);
    padding-bottom: clamp(40px, 6vw, 80px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-badges {
    display: flex;
    gap: 20px;
}

.footer-badge {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 16px 20px;
    text-align: center;
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.badge-txt {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.8);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-link {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 12px;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-link:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-text {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-compliance {
    margin-top: 8px;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
    font-size: 12px;
    letter-spacing: 0.5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal p {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    line-height: 1.6;
}

.footer-policy {
    display: flex;
    gap: 24px;
}

.footer-link-small {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    transition: color 0.3s;
}

.footer-link-small:hover {
    color: var(--accent);
}

.footer-credit {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-credit p {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

.footer-credit-link {
    color: var(--accent);
    font-weight: 600;
    transition: color 0.3s;
}

.footer-credit-link:hover {
    color: #fff;
}

/* --- REVEAL ANIMATIONS (Base States) --- */
.reveal-up {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    will-change: opacity, transform;
    /* Fallback: se per qualche motivo le animazioni JS non scattano (errore JS, cache, GSAP non caricato),
       dopo 3 secondi mostra comunque il contenuto. Garantisce che il sito non resti mai "vuoto". */
    animation: reveal-up-fallback 0.01s linear 3s forwards;
}

.reveal-up.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    animation: none;
}

@keyframes reveal-up-fallback {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* GPU acceleration for animated elements */
.service-card,
.portfolio-card,
.bento-card,
.hero-video,
.acrobatic-bg img {
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .reveal-up {
        opacity: 1;
        transform: none;
    }
    .title-word {
        transform: none !important;
    }
    .hero-tag, .hero-sub, .hero-actions {
        opacity: 1 !important;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .contact-channels {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .bento-large {
        grid-row: span 1;
    }

    .bento-wide {
        grid-column: span 2;
    }

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

    .service-tall {
        grid-row: span 1;
        aspect-ratio: 3/4;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .fleet-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-guarantees {
        grid-template-columns: 1fr 1fr;
    }

    .award-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .award-quote {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--accent);
        padding-top: 16px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
        --gap: 16px;
    }

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

    .bento-wide {
        grid-column: span 1;
    }

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

    .service-card {
        aspect-ratio: 3/2;
    }

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

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

    .contact-channels {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-columns {
        columns: 1;
    }

    .about-guarantees {
        grid-template-columns: 1fr;
    }

    .award-pillars {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .award-badge {
        width: 100px;
        height: 120px;
    }

    .contact-channels .ch-card:last-child {
        grid-column: 1 / -1;
    }

    .contact-info-strip {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    /* FIX: Hero mobile — altezza ridotta, video visibile */
    .hero {
        min-height: 50vh;
        align-items: flex-end;
    }

    .hero-content {
        padding-top: 0;
        padding-bottom: 24px;
    }

    .hero-tag {
        margin-bottom: 12px;
    }

    .tag-text {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: clamp(28px, 7vw, 40px);
        margin-bottom: 12px;
    }

    .hero-sub {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 18px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.1) 0%,
            rgba(0,0,0,0.0) 25%,
            rgba(0,0,0,0.0) 50%,
            rgba(0,0,0,0.5) 75%,
            rgba(0,0,0,0.8) 100%
        );
    }

    .hero-actions {
        flex-direction: row;
    }

    .hero-actions .btn {
        width: auto;
        flex: 1;
        justify-content: center;
        padding: 12px 16px;
        font-size: 12px;
    }

    .hero-blueprint {
        display: none;
    }

    /* FIX 2: Prima e Dopo — tetti impilati verticalmente con aspect ratio alto */
    .comparisons-reordered {
        grid-template-columns: 1fr;
    }

    .comparison-container {
        aspect-ratio: 3/4;
    }

    .comparison-full .comparison-container {
        aspect-ratio: 3/4;
        max-width: 100%;
    }

    /* FIX 3: Acrobatic thumbs — centrare operaio */
    .acrobatic-gallery {
        flex-direction: column;
    }

    .acrobatic-thumb {
        width: 100%;
        height: 280px;
    }

    .acrobatic-thumb img {
        object-position: center 25%;
    }

    .fleet-images {
        grid-template-columns: 1fr;
    }

    .fleet-img:first-child,
    .fleet-img:last-child {
        grid-column: span 1;
        aspect-ratio: 16/9;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .section-title-xl {
        font-size: 42px;
    }

    .bento-number {
        font-size: 48px;
    }

    .acrobatic-title {
        font-size: 36px;
    }

    .contact-channels {
        grid-template-columns: 1fr;
    }

    .contact-channels .ch-card:last-child {
        grid-column: span 1;
    }

    .ch-card {
        flex-direction: row;
        text-align: left;
        padding: 20px;
    }

    .ch-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .award-title {
        font-size: 22px;
    }

    .award-badge {
        width: 90px;
        height: 110px;
    }

    .award-badge svg {
        width: 36px;
        height: 36px;
    }

    /* Prima/dopo tetti ancora più visibili su piccoli schermi */
    .comparison-container {
        aspect-ratio: 1/1;
    }

    .comparison-full .comparison-container {
        aspect-ratio: 3/4;
    }

    .comparison-wrapper {
        padding: 14px;
    }

    .hero {
        min-height: 45vh;
    }

    .hero-sub {
        -webkit-line-clamp: 2;
        font-size: 12px;
    }

    .hero-actions .btn {
        padding: 11px 12px;
        font-size: 11px;
        gap: 6px;
    }

    .hero-actions .btn svg {
        display: none;
    }
}

/* --- Floating Loft Button --- */
.floating-loft {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px 14px 16px;
    background: var(--accent);
    color: var(--white);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    box-shadow:
        0 14px 40px rgba(var(--accent-rgb), 0.4),
        0 4px 12px rgba(var(--primary-rgb), 0.2);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s, background 0.3s;
    animation: floatingLoftIn 0.5s var(--ease-out) 0.4s backwards,
               floatingLoftPulse 2.8s ease-in-out 1.2s infinite;
    cursor: none;
}

.floating-loft::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 100px;
    border: 2px solid var(--accent);
    opacity: 0;
    animation: floatingLoftRing 2.8s ease-out 1.2s infinite;
    pointer-events: none;
}

.floating-loft:hover {
    transform: translateY(-4px) scale(1.03);
    background: #d96b0f;
    box-shadow:
        0 20px 50px rgba(var(--accent-rgb), 0.55),
        0 6px 16px rgba(var(--primary-rgb), 0.25);
    animation-play-state: paused;
}

.floating-loft:hover::before {
    animation-play-state: paused;
}

.floating-loft:active {
    transform: translateY(-2px) scale(0.98);
}

.floating-loft-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.floating-loft-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s var(--ease-out);
}

.floating-loft:hover .floating-loft-arrow {
    transform: translateX(4px);
}

@keyframes floatingLoftIn {
    0%   { opacity: 0; transform: translateY(40px) scale(0.8); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatingLoftPulse {
    0%, 100% { box-shadow: 0 14px 40px rgba(var(--accent-rgb), 0.4), 0 4px 12px rgba(var(--primary-rgb), 0.2); }
    50%      { box-shadow: 0 14px 40px rgba(var(--accent-rgb), 0.65), 0 4px 12px rgba(var(--primary-rgb), 0.25); }
}

@keyframes floatingLoftRing {
    0%   { opacity: 0.7; transform: scale(1); }
    100% { opacity: 0;   transform: scale(1.25); }
}

@media (max-width: 768px) {
    .floating-loft {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px 12px 14px;
        font-size: 13px;
        gap: 10px;
    }
    .floating-loft-icon {
        width: 30px;
        height: 30px;
    }
    .floating-loft-icon svg { width: 18px; height: 18px; }
    .floating-loft-arrow svg { width: 14px; height: 14px; }
}

@media (max-width: 420px) {
    .floating-loft-text {
        display: none;
    }
    .floating-loft {
        padding: 14px;
        border-radius: 50%;
    }
    .floating-loft-arrow {
        display: none;
    }
    .floating-loft-icon {
        background: transparent;
        width: auto;
        height: auto;
    }
    .floating-loft-icon svg { width: 22px; height: 22px; }
}

/* --- Floating Cantieri Button (specchio del Loft, lato sinistro) --- */
.floating-cantieri {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px 14px 16px;
    background: var(--primary);
    color: var(--white);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    box-shadow:
        0 14px 40px rgba(var(--primary-rgb), 0.35),
        0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s, background 0.3s;
    animation: floatingCantieriIn 0.5s var(--ease-out) 0.6s backwards,
               floatingCantieriPulse 3.2s ease-in-out 1.4s infinite;
    cursor: none;
}

.floating-cantieri::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 100px;
    border: 2px solid var(--accent);
    opacity: 0;
    animation: floatingCantieriRing 3.2s ease-out 1.4s infinite;
    pointer-events: none;
}

.floating-cantieri:hover {
    transform: translateY(-4px) scale(1.03);
    background: var(--primary-dark);
    box-shadow:
        0 20px 50px rgba(var(--primary-rgb), 0.5),
        0 6px 16px rgba(0, 0, 0, 0.2);
    animation-play-state: paused;
}

.floating-cantieri:hover::before {
    animation-play-state: paused;
}

.floating-cantieri:active {
    transform: translateY(-2px) scale(0.98);
}

.floating-cantieri-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(var(--accent-rgb), 0.25);
    color: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.floating-cantieri-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    transition: transform 0.3s var(--ease-out);
}

.floating-cantieri:hover .floating-cantieri-arrow {
    transform: translateX(4px);
}

@keyframes floatingCantieriIn {
    0%   { opacity: 0; transform: translateY(40px) scale(0.8); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatingCantieriPulse {
    0%, 100% { box-shadow: 0 14px 40px rgba(var(--primary-rgb), 0.35), 0 4px 12px rgba(0, 0, 0, 0.15); }
    50%      { box-shadow: 0 14px 40px rgba(var(--accent-rgb), 0.5), 0 4px 12px rgba(0, 0, 0, 0.2); }
}

@keyframes floatingCantieriRing {
    0%   { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0;   transform: scale(1.25); }
}

@media (max-width: 768px) {
    .floating-cantieri {
        bottom: 20px;
        left: 20px;
        padding: 12px 18px 12px 14px;
        font-size: 13px;
        gap: 10px;
    }
    .floating-cantieri-icon { width: 30px; height: 30px; }
    .floating-cantieri-icon svg { width: 18px; height: 18px; }
    .floating-cantieri-arrow svg { width: 14px; height: 14px; }
}

@media (max-width: 420px) {
    .floating-cantieri-text { display: none; }
    .floating-cantieri {
        padding: 14px;
        border-radius: 50%;
    }
    .floating-cantieri-arrow { display: none; }
    .floating-cantieri-icon {
        background: transparent;
        width: auto;
        height: auto;
    }
    .floating-cantieri-icon svg { width: 22px; height: 22px; }
}

/* --- Portfolio CTA Row (homepage "Vedi tutti i cantieri") --- */
.portfolio-cta-row {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}

.portfolio-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.4px;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.3);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s;
}

.portfolio-cta-btn:hover {
    transform: translateY(-3px);
    background: #d96b0f;
    box-shadow: 0 16px 40px rgba(var(--accent-rgb), 0.45);
}

.portfolio-cta-btn svg {
    transition: transform 0.3s var(--ease-out);
}

.portfolio-cta-btn:hover svg {
    transform: translateX(4px);
}

/* ============================================================
   HERO TECH / BLUEPRINT (homepage finale)
   Tutte scoped con .hero-tech per non rompere altre sezioni.
   ============================================================ */
.hero-tech {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: block;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-tech .hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-tech .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-tech .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.1) 65%, rgba(0,0,0,0.65) 100%);
    pointer-events: none;
}

/* Griglia blueprint */
.hero-tech .hero-grid {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(230,126,34,0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230,126,34,0.35) 1px, transparent 1px);
    background-size: 80px 80px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

/* Scanline animata */
.hero-tech .hero-scanline {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.5);
    z-index: 4;
    pointer-events: none;
    top: 0;
    opacity: 0.7;
    animation: heroTechScanline 7s linear infinite;
}

/* Crosshair centrale */
.hero-tech .hero-crosshair {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 320px; height: 320px;
    pointer-events: none;
    opacity: 0;
    animation: heroTechFadeIn 1s 0.5s forwards;
}
.hero-tech .hero-crosshair::before,
.hero-tech .hero-crosshair::after {
    content: '';
    position: absolute;
    background: rgba(230,126,34,0.5);
}
.hero-tech .hero-crosshair::before {
    top: 50%; left: 0; right: 0; height: 1px;
    transform: translateY(-50%);
}
.hero-tech .hero-crosshair::after {
    top: 0; bottom: 0; left: 50%; width: 1px;
    transform: translateX(-50%);
}
.hero-tech .crosshair-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90px; height: 90px;
    border: 1px solid rgba(var(--accent-rgb), 0.5);
    border-radius: 50%;
    animation: heroTechPulse 3s infinite;
}
.hero-tech .crosshair-corner {
    position: absolute;
    width: 18px; height: 18px;
    border: 1.5px solid var(--accent);
}
.hero-tech .crosshair-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero-tech .crosshair-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.hero-tech .crosshair-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.hero-tech .crosshair-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }

/* Coordinate angolari */
.hero-tech .coord {
    position: absolute;
    z-index: 5;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(var(--accent-rgb), 0.75);
    text-transform: uppercase;
    opacity: 0;
    animation: heroTechFadeIn 0.8s 1s forwards;
    line-height: 1.7;
}
.hero-tech .coord.tl {
    top: calc(var(--nav-height) + 28px);
    left: clamp(20px, 4vw, 60px);
}
.hero-tech .coord.br {
    bottom: clamp(80px, 9vh, 110px);
    right: clamp(20px, 4vw, 60px);
    text-align: right;
}
.hero-tech .coord-label {
    color: rgba(255, 255, 255, 0.4);
    margin-right: 6px;
}

/* Contenuto centrale (override hero-content) */
.hero-tech .hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: calc(var(--nav-height) + 60px) clamp(20px, 4vw, 60px) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-tech .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    border: 1px solid rgba(var(--accent-rgb), 0.4);
    background: rgba(var(--accent-rgb), 0.08);
    margin-bottom: 32px;
    opacity: 0;
    animation: heroTechFadeUp 0.7s 0.7s forwards;
}
.hero-tech .hero-tag .pulse {
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
    animation: heroTechPulseDot 2s infinite;
    flex-shrink: 0;
}
.hero-tech .hero-tag .tag-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
}

.hero-tech .hero-title {
    font-family: var(--font-heading);
    font-size: clamp(38px, 6.5vw, 96px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.55);
}
.hero-tech .title-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.05em;
}
.hero-tech .title-word {
    display: inline-block;
    transform: translateY(110%);
}
.hero-tech .title-word.accent {
    color: var(--accent);
}

.hero-tech .hero-sub {
    font-size: clamp(15px, 1.4vw, 17px);
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    max-width: 640px;
    margin: 0 auto 40px;
    text-shadow: 0 2px 14px rgba(0,0,0,0.6);
}
.hero-tech .hero-sub strong { color: #fff; font-weight: 600; }

.hero-tech .hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Statbar in basso */
.hero-tech .hero-statbar {
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    z-index: 8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px clamp(20px, 4vw, 60px);
    border-top: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    animation: heroTechFadeUp 0.7s 1.9s forwards;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-tech .sb-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hero-tech .sb-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}
.hero-tech .sb-val {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.hero-tech .sb-val .ac { color: var(--accent); }

/* Keyframes specifici hero-tech (per evitare conflitti con altre animazioni) */
@keyframes heroTechFadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroTechFadeUp  { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroTechScanline {
    0%   { top: -2px; opacity: 0; }
    8%   { opacity: 0.7; }
    92%  { opacity: 0.7; }
    100% { top: 100%; opacity: 0; }
}
@keyframes heroTechPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.6; }
    50%      { transform: translate(-50%, -50%) scale(1.15); opacity: 0.3; }
}
@keyframes heroTechPulseDot {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%      { transform: scale(1.4); opacity: 0.6; }
}

/* Reveal animazioni del titolo (compatibili con il sistema GSAP del sito).
   Sostituiscono la translate iniziale appena GSAP non interviene. */
.hero-tech .title-word.reveal-text { transform: translateY(110%); animation: heroTechRevealUp 1s cubic-bezier(0.25,1,0.3,1) forwards; }
.hero-tech .title-line:nth-child(1) .title-word { animation-delay: 0.9s; }
.hero-tech .title-line:nth-child(2) .title-word { animation-delay: 1.05s; }

@keyframes heroTechRevealUp { from { transform: translateY(110%); } to { transform: translateY(0); } }

/* Responsive */
@media (max-width: 900px) {
    .hero-tech .hero-crosshair { width: 220px; height: 220px; }
    .hero-tech .crosshair-circle { width: 70px; height: 70px; }
    .hero-tech .coord.tl { top: calc(var(--nav-height) + 18px); }
    .hero-tech .coord.br { display: none; }
    .hero-tech .hero-content { padding-top: calc(var(--nav-height) + 30px); padding-bottom: 110px; }
    .hero-tech .hero-statbar {
        padding: 10px 18px;
        gap: 14px 18px;
        justify-content: center;
    }
    .hero-tech .sb-val { font-size: 15px; }
    .hero-tech .sb-lbl { font-size: 8.5px; letter-spacing: 1.5px; }
}

@media (max-width: 600px) {
    .hero-tech .hero-crosshair { display: none; }
    .hero-tech .coord.tl { display: none; }
    .hero-tech .hero-grid { background-size: 50px 50px; }
    .hero-tech .hero-actions { flex-direction: column; width: 100%; align-items: stretch; max-width: 320px; margin: 0 auto; }
    .hero-tech .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-tech .hero-statbar { padding: 10px 14px; }
    .hero-tech .sb-item { min-width: 70px; }
}

