/* ============================================================
   VELOPRE.COM — MODERN LUXURY · MAIN STYLESHEET
   ============================================================ */

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

:root {
    --c-bg:        #0a0a0a;
    --c-bg-soft:   #111111;
    --c-bg-card:   #161616;
    --c-line:      #1f1f1f;
    --c-line-soft: #2a2a2a;
    --c-white:     #ffffff;
    --c-cream:     #f5f3ef;
    --c-cream-2:   #ecebe5;
    --c-text:      #1a1a1a;
    --c-text-soft: #4a4a4a;
    --c-muted:     #8a8a8a;
    --c-muted-2:   #b4b4b4;
    --c-red:       #e30613;
    --c-red-2:     #b8050f;
    --c-red-glow:  rgba(227,6,19,0.22);

    --f-display:   'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --f-body:      'Manrope', 'Helvetica Neue', Arial, sans-serif;

    --nav-h:       72px;
    --content-w:   1320px;
    --content-pad: clamp(20px, 4vw, 56px);

    --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft:   cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

html, body {
    background: var(--c-bg);
    color: var(--c-white);
    font-family: var(--f-body);
    font-weight: 400;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; }

/* ===== Selection / focus ===== */
::selection { background: var(--c-red); color: #fff; }
:focus-visible { outline: 2px solid var(--c-red); outline-offset: 4px; }

/* ===== Scrollbar (webkit) ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-red); }

/* ===== Bilingue: show one lang at a time ===== */
:root[lang="it"] [data-en], :root[lang="it"] .en-only { display: none !important; }
:root[lang="en"] [data-it], :root[lang="en"] .it-only { display: none !important; }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
    position: fixed; inset: 0;
    background: var(--c-bg);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .9s var(--ease-out), visibility .9s var(--ease-out);
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-mark {
    width: 92px; height: 92px;
    animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 24px var(--c-red-glow)); }
    50%      { transform: scale(1.08); filter: drop-shadow(0 0 56px var(--c-red-glow)); }
}

/* ============================================================
   TOP MARQUEE — removed per request
   ============================================================ */
.topbar { display: none !important; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,10,0.72);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    height: var(--nav-h);
    display: flex; align-items: center;
    transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(10,10,10,0.92); }

.nav-inner {
    width: 100%;
    max-width: var(--content-w);
    margin: 0 auto;
    padding: 0 var(--content-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--f-display);
    font-weight: 900;
    font-style: italic;
    font-size: 22px;
    letter-spacing: 0.08em;
    color: #fff;
    transform: skewX(-6deg);
}
.brand svg,
.brand .brand-mark {
    width: 28px; height: 28px;
    flex-shrink: 0;
    transform: skewX(6deg);
    display: block;
}
.footer-brand .brand .brand-mark { width: 32px; height: 32px; }
.brand .reg { display: none !important; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.nav-links a {
    position: relative;
    padding: 10px 14px;
    color: rgba(255,255,255,0.78);
    transition: color .25s;
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 4px; left: 14px; right: 14px;
    height: 1px;
    background: var(--c-red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .35s var(--ease-out);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: #fff; }

.nav-right {
    display: flex; align-items: center; gap: 18px;
}
.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.18em;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
}
.lang-switch button {
    color: rgba(255,255,255,0.5);
    padding: 2px 6px;
    transition: color .25s;
}
.lang-switch button.is-active { color: #fff; }
.lang-switch .sep { color: rgba(255,255,255,0.25); }

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--c-red);
    color: #fff;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 12px 22px;
    border-radius: 999px;
    transition: transform .25s var(--ease-out), background .25s, box-shadow .3s;
}
.cta-link::after {
    content: "→";
    transition: transform .25s var(--ease-out);
}
.cta-link:hover {
    background: var(--c-red-2);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -10px var(--c-red-glow);
}
.cta-link:hover::after { transform: translateX(4px); }

.menu-toggle {
    display: none;
    width: 36px; height: 36px;
    flex-direction: column; gap: 5px;
    align-items: center; justify-content: center;
}
.menu-toggle span {
    width: 22px; height: 1.5px; background: #fff;
    transition: transform .3s, opacity .3s;
}
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   COMMON LAYOUT
   ============================================================ */
section { position: relative; }
.wrap {
    width: 100%;
    max-width: var(--content-w);
    margin: 0 auto;
    padding: 0 var(--content-pad);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--c-red);
}
.eyebrow::before {
    content: "";
    width: 32px; height: 1px;
    background: var(--c-red);
}

.h-display {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(40px, 7vw, 96px);
    line-height: 0.96;
    letter-spacing: -0.02em;
}
.h-display .red { color: var(--c-red); }
.h-display .ital { font-style: italic; font-weight: 700; }
.h-display .thin { font-weight: 300; color: rgba(255,255,255,0.6); }
.h-display.dark, .light .h-display { color: var(--c-text); }

.h-section {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(32px, 4.6vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.015em;
}
.h-section .red { color: var(--c-red); }

.lead {
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.65;
    color: rgba(255,255,255,0.72);
    max-width: 640px;
}
.light .lead { color: var(--c-text-soft); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 16px 28px;
    border-radius: 999px;
    transition: transform .25s var(--ease-out), background .25s, color .25s, box-shadow .3s;
}
.btn::after { content: "→"; transition: transform .25s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(4px); }

.btn-red {
    background: var(--c-red);
    color: #fff;
}
.btn-red:hover { background: var(--c-red-2); box-shadow: 0 18px 50px -12px var(--c-red-glow); }
.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: #fff; color: var(--c-bg); border-color: #fff; }
.btn-dark {
    background: var(--c-bg);
    color: #fff;
}
.btn-dark:hover { background: #000; box-shadow: 0 16px 40px -12px rgba(0,0,0,0.4); }

/* ============================================================
   HERO (Home)
   ============================================================ */
.hero {
    position: relative;
    min-height: calc(100vh - var(--nav-h) - 32px);
    background: var(--c-bg);
    overflow: hidden;
    isolation: isolate;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.04);
    animation: heroZoom 14s var(--ease-soft) infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.12); } }

.hero-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 80% 20%, var(--c-red-glow) 0%, transparent 50%),
        linear-gradient(120deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.25) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--content-w);
    margin: 0 auto;
    padding: clamp(60px, 12vh, 140px) var(--content-pad) clamp(40px, 8vh, 80px);
    min-height: calc(100vh - var(--nav-h) - 32px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 60px;
}

.hero-title {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(48px, 9vw, 132px);
    line-height: 0.92;
    letter-spacing: -0.025em;
    color: #fff;
    max-width: 1100px;
}
.hero-title .accent { color: var(--c-red); display: block; }
.hero-title .ital { font-style: italic; font-weight: 700; }

.hero-sub {
    font-size: clamp(15px, 1.3vw, 19px);
    color: rgba(255,255,255,0.75);
    max-width: 540px;
    line-height: 1.6;
    margin-top: 24px;
}

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

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 56px;
    align-items: flex-end;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 28px;
    font-family: var(--f-display);
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}
.hero-meta strong { color: var(--c-red); font-weight: 700; }

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 2vw, 40px);
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 1080px) { .hero-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .hero-features { grid-template-columns: 1fr; } }
.hf-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: clamp(8px, 1.5vw, 24px);
    border-right: 1px solid rgba(255,255,255,0.07);
}
.hf-item:last-child { border-right: 0; }
@media (max-width: 1080px) {
    .hf-item:nth-child(2n) { border-right: 0; }
}
@media (max-width: 540px) {
    .hf-item { border-right: 0; padding-right: 0; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.07); }
    .hf-item:last-child { border-bottom: 0; padding-bottom: 0; }
}
.hf-num {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 11px;
    color: var(--c-red);
    letter-spacing: 0.22em;
}
.hf-title {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(13px, 1vw, 15px);
    letter-spacing: 0.05em;
    color: #fff;
    text-transform: uppercase;
}
.hf-item p {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255,255,255,0.65);
    font-family: var(--f-body);
    letter-spacing: 0;
    text-transform: none;
}
.hf-item p strong { color: #fff; font-weight: 600; }

.scroll-cue {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,0.5);
    font-family: var(--f-display);
    font-size: 10px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue::after {
    content: "";
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--c-red), transparent);
    animation: scrollDown 2.2s var(--ease-soft) infinite;
}
@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header {
    position: relative;
    background: var(--c-bg);
    padding: clamp(80px, 14vh, 160px) 0 clamp(60px, 10vh, 120px);
    overflow: hidden;
    isolation: isolate;
}
.page-header::before {
    content: "";
    position: absolute;
    top: -10%; right: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, var(--c-red-glow) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}
.page-header .wrap { position: relative; z-index: 1; }
.page-crumbs {
    font-family: var(--f-display);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 24px;
}
.page-crumbs a { color: rgba(255,255,255,0.45); transition: color .25s; }
.page-crumbs a:hover { color: var(--c-red); }
.page-crumbs .sep { margin: 0 12px; color: rgba(255,255,255,0.2); }

/* ============================================================
   SECTION BASES
   ============================================================ */
.section {
    padding: clamp(80px, 12vh, 160px) 0;
    position: relative;
}
.section.tight { padding: clamp(60px, 8vh, 100px) 0; }
.section.dark { background: var(--c-bg); color: #fff; }
.section.darker { background: #050505; color: #fff; }
.section.light { background: var(--c-cream); color: var(--c-text); }
.section.white { background: #fff; color: var(--c-text); }

.section-head {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: end;
    margin-bottom: clamp(40px, 6vh, 80px);
}
.section-head .lead { margin-top: 16px; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; align-items: start; } }

/* ============================================================
   MANIFESTO (philosophy strip on home)
   ============================================================ */
.manifesto {
    background: var(--c-bg);
    padding: clamp(80px, 14vh, 180px) 0;
    position: relative;
    overflow: hidden;
}
.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 80px);
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.manifesto-text {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 56px);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: #fff;
}
.manifesto-text em {
    color: var(--c-red);
    font-style: italic;
    font-weight: 700;
}
.manifesto-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 60px;
    justify-content: center;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-family: var(--f-display);
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}
.manifesto-meta strong { color: var(--c-red); }

/* ============================================================
   PILLARS — 4 cards
   ============================================================ */
.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
}
.pillar {
    background: var(--c-bg);
    padding: clamp(28px, 3.4vw, 44px);
    display: flex; flex-direction: column; gap: 16px;
    min-height: 320px;
    position: relative;
    transition: background .35s;
}
.pillar:hover { background: var(--c-bg-card); }
.pillar-num {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--c-red);
}
.pillar h3 {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(20px, 1.8vw, 26px);
    line-height: 1.15;
    color: #fff;
    margin-top: 8px;
}
.pillar p {
    color: rgba(255,255,255,0.65);
    font-size: 14.5px;
    line-height: 1.6;
    flex: 1;
}
.pillar-fact {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-red);
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 1024px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ============================================================
   GAMMA — 3 product cards on home
   ============================================================ */
.gamma-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 1.6vw, 28px);
}
@media (max-width: 980px) { .gamma-grid { grid-template-columns: 1fr; } }

.gamma-card {
    position: relative;
    background: var(--c-bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s;
    min-height: 600px;
}
.gamma-card:hover {
    transform: translateY(-6px);
    border-color: rgba(227,6,19,0.35);
    box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6),
                0 0 0 1px rgba(227,6,19,0.15);
}
.gamma-card.flagship {
    background: linear-gradient(180deg, #1a0a0c 0%, var(--c-bg-card) 100%);
    border-color: rgba(227,6,19,0.25);
}
.gamma-img {
    aspect-ratio: 5/3.4;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
}
.gamma-img::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(22,22,22,0.7) 100%);
}
.gamma-card .badge {
    position: absolute;
    top: 20px; left: 20px;
    z-index: 2;
    background: var(--c-red);
    color: #fff;
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 9.5px;
    letter-spacing: 0.32em;
    padding: 7px 14px;
}
.gamma-body {
    padding: clamp(24px, 2.6vw, 36px);
    display: flex; flex-direction: column;
    gap: 16px; flex: 1;
}
.gamma-body h3 {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(34px, 3.6vw, 52px);
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
}
.gamma-body h3 .pro {
    color: var(--c-red);
    margin-left: 6px;
}
.gamma-body .tagline {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.gamma-specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 6px 0;
}
.gamma-specs li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 13.5px;
    color: rgba(255,255,255,0.7);
}
.gamma-specs li:last-child { border-bottom: 0; }
.gamma-specs li .v { color: #fff; font-weight: 600; font-family: var(--f-display); letter-spacing: 0.02em; }
.gamma-specs li .v.hl { color: var(--c-red); }
.gamma-foot { margin-top: auto; padding-top: 12px; }
.gamma-foot .link {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    padding: 14px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    width: 100%;
    transition: color .25s;
}
.gamma-foot .link::after {
    content: "→";
    margin-left: auto;
    transition: transform .3s var(--ease-out);
}
.gamma-card:hover .gamma-foot .link { color: var(--c-red); }
.gamma-card:hover .gamma-foot .link::after { transform: translateX(8px); }

/* ============================================================
   SOFTWARE TEASER on home
   ============================================================ */
.soft-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 980px) { .soft-grid { grid-template-columns: 1fr; } }

.soft-card {
    background: #fff;
    border: 1px solid var(--c-cream-2);
    padding: clamp(28px, 3vw, 44px);
    transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
    display: flex; flex-direction: column; gap: 20px;
    min-height: 360px;
}
.soft-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px -30px rgba(0,0,0,0.15);
    border-color: var(--c-red);
}
.soft-card .num {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 16px;
    color: var(--c-red);
    letter-spacing: 0.15em;
}
.soft-card h3 {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(26px, 2.4vw, 36px);
    line-height: 1.05;
    color: var(--c-text);
}
.soft-card p {
    color: var(--c-text-soft);
    font-size: 15px;
    line-height: 1.65;
    flex: 1;
}
.soft-card .more {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--c-red);
    padding-top: 16px;
    border-top: 1px solid var(--c-cream-2);
    display: inline-flex; align-items: center; gap: 10px;
}
.soft-card .more::after { content: "→"; transition: transform .3s var(--ease-out); }
.soft-card:hover .more::after { transform: translateX(6px); }

/* ============================================================
   LAVORAZIONI — split feature on home
   ============================================================ */
.lavori-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 900px) { .lavori-split { grid-template-columns: 1fr; } }
.lavoro-card {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background-color: #1a1a1a;
    isolation: isolate;
}
.lavoro-card .img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.1s var(--ease-out);
    z-index: 0;
}
.lavoro-card:hover .img { transform: scale(1.05); }
.lavoro-card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0) 90%);
    z-index: 1;
}
.lavoro-card .body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: clamp(28px, 3vw, 50px);
    color: #fff;
}
.lavoro-card h3 {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(34px, 4.2vw, 64px);
    line-height: 0.96;
    letter-spacing: -0.02em;
}
.lavoro-card p {
    margin-top: 14px;
    max-width: 460px;
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    line-height: 1.6;
}
.lavoro-card .arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
}
.lavoro-card .arrow::after {
    content: "→";
    transition: transform .35s var(--ease-out);
}
.lavoro-card:hover .arrow::after { transform: translateX(8px); }

/* ============================================================
   STORIA TEASER
   ============================================================ */
.storia-teaser {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}
@media (max-width: 900px) { .storia-teaser { grid-template-columns: 1fr; } }
.storia-img {
    position: relative;
    aspect-ratio: 5/4;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.storia-img::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 50%, var(--c-red-glow) 100%);
    mix-blend-mode: screen;
}
.storia-text h2 { margin-bottom: 28px; }
.storia-text p {
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    font-size: 16px;
    margin-bottom: 18px;
    max-width: 560px;
}
.light .storia-text p { color: var(--c-text-soft); }
.storia-text strong { color: #fff; font-weight: 600; }
.light .storia-text strong { color: var(--c-text); }
.storia-sign {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.light .storia-sign { border-color: rgba(0,0,0,0.1); }
.storia-sign .who {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.02em;
}
.storia-sign .role {
    font-family: var(--f-display);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}
.light .storia-sign .role { color: var(--c-muted); }

/* ============================================================
   FINAL CTA strip
   ============================================================ */
.cta-strip {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0c 50%, var(--c-red-2) 130%);
    padding: clamp(80px, 12vh, 140px) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: "VELOPRE";
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(120px, 22vw, 360px);
    color: rgba(255,255,255,0.025);
    letter-spacing: -0.05em;
    pointer-events: none;
    z-index: 0;
}
.cta-strip-inner { position: relative; z-index: 1; }
.cta-strip h2 {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(38px, 6vw, 88px);
    line-height: 1;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 28px;
    max-width: 900px;
    margin-left: auto; margin-right: auto;
}
.cta-strip h2 .red { color: var(--c-red); }
.cta-strip p {
    color: rgba(255,255,255,0.75);
    font-size: 17px;
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.cta-strip-actions { display: inline-flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #050505;
    color: rgba(255,255,255,0.7);
    padding: 80px 0 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand { font-size: 26px; }
.footer-brand p {
    margin-top: 16px;
    color: rgba(255,255,255,0.55);
    max-width: 340px;
    font-size: 14px;
    line-height: 1.7;
}
.footer-col h5 {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--c-red);
    margin-bottom: 18px;
}
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { color: rgba(255,255,255,0.7); transition: color .25s; }
.footer-col a:hover { color: var(--c-red); }
.footer-col address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 28px;
    font-family: var(--f-display);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

/* ============================================================
   PRODUCT PAGE: hero
   ============================================================ */
.product-hero {
    position: relative;
    background: var(--c-bg);
    overflow: hidden;
    isolation: isolate;
    padding: clamp(60px, 10vh, 120px) 0 0;
}
.product-hero::before {
    content: "";
    position: absolute;
    top: -10%; right: -10%;
    width: 70vw; height: 70vw;
    background: radial-gradient(circle, var(--c-red-glow) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}
.product-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: clamp(30px, 4vw, 60px);
    align-items: stretch;
    padding-bottom: clamp(40px, 8vh, 100px);
}
.product-hero-name { min-width: 0; }
@media (max-width: 900px) { .product-hero-grid { grid-template-columns: 1fr; } }

.product-hero-name {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(72px, 14vw, 200px);
    line-height: 0.86;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 24px;
}
.product-hero-name .pro {
    color: var(--c-red);
    font-style: italic;
}
.product-hero-tag {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(15px, 1.4vw, 19px);
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.65);
    max-width: 480px;
    line-height: 1.4;
    margin-bottom: 36px;
}
.product-hero-tag .red { color: var(--c-red); }
.product-hero-img {
    position: relative;
    aspect-ratio: 4/3;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.6));
}
.product-hero-img.cover {
    background-size: cover;
}
.product-hero-pic {
    width: 100%;
    height: 100%;
    min-height: 380px;
    max-height: 80vh;
    object-fit: contain;
    object-position: center;
    align-self: stretch;
    display: block;
    filter: drop-shadow(0 50px 80px rgba(0,0,0,0.55));
}
.product-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Specs strip */
.spec-strip {
    background: var(--c-bg-soft);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 36px 0;
}
.spec-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 900px) { .spec-strip-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .spec-strip-grid { grid-template-columns: 1fr; } }

.spec-cell {
    display: flex; flex-direction: column; gap: 6px;
    padding: 0 24px;
    border-left: 1px solid rgba(255,255,255,0.08);
}
.spec-cell:first-child { border-left: 0; padding-left: 0; }
.spec-cell .lbl {
    font-family: var(--f-display);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}
.spec-cell .val {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(18px, 1.7vw, 24px);
    color: #fff;
    letter-spacing: -0.01em;
}

/* Intro + features for product pages */
.intro-block {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(30px, 6vw, 90px);
    align-items: start;
}
@media (max-width: 900px) { .intro-block { grid-template-columns: 1fr; } }
.intro-block .eyebrow { margin-bottom: 24px; }
.intro-block h2 { margin-bottom: 0; }
.intro-block .body p {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255,255,255,0.78);
    margin-bottom: 18px;
}
.light .intro-block .body p { color: var(--c-text-soft); }
.intro-block .body strong {
    color: #fff;
    font-weight: 600;
}
.light .intro-block .body strong { color: var(--c-text); font-weight: 700; }

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    margin-top: clamp(40px, 6vh, 70px);
}
.light .features-grid {
    background: var(--c-cream-2);
    border: 1px solid var(--c-cream-2);
}
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

.feature {
    background: var(--c-bg);
    padding: clamp(24px, 2.8vw, 36px);
    display: flex; flex-direction: column; gap: 12px;
    min-height: 200px;
    position: relative;
    transition: background .3s;
}
.light .feature { background: #fff; }
.feature:hover { background: var(--c-bg-card); }
.light .feature:hover { background: var(--c-cream); }
.feature .badge {
    display: inline-block;
    background: var(--c-red);
    color: #fff;
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 9.5px;
    letter-spacing: 0.28em;
    padding: 4px 9px;
    align-self: flex-start;
    margin-bottom: 4px;
}
.feature h4 {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 17px;
    line-height: 1.25;
    color: #fff;
}
.light .feature h4 { color: var(--c-text); }
.feature p {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
    flex: 1;
}
.light .feature p { color: var(--c-text-soft); }

/* Optional cards */
.optional-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: clamp(30px, 5vh, 50px);
}
@media (max-width: 800px) { .optional-grid { grid-template-columns: 1fr; } }
.optional-card {
    background: var(--c-bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    padding: clamp(24px, 3vw, 36px);
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 24px;
    align-items: start;
    position: relative;
}
.light .optional-card { background: #fff; border-color: var(--c-cream-2); }
.optional-card .opt-badge {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--c-red);
    color: #fff;
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 9.5px;
    letter-spacing: 0.28em;
    padding: 4px 9px;
}
.optional-card .icon {
    width: 110px; height: 110px;
    background-size: cover; background-position: center;
    background-color: #0a0a0a;
}
.light .optional-card .icon { background-color: var(--c-cream); }
.optional-card .icon.svg {
    display: flex; align-items: center; justify-content: center;
    padding: 14px;
}
.optional-card h4 {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 19px;
    color: #fff;
    margin-bottom: 10px;
}
.light .optional-card h4 { color: var(--c-text); }
.optional-card p {
    color: rgba(255,255,255,0.7);
    font-size: 14.5px;
    line-height: 1.6;
}
.light .optional-card p { color: var(--c-text-soft); }
.optional-card strong { color: var(--c-red); }

/* Split showcase (image left/right + text) */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
    margin-top: clamp(40px, 6vh, 80px);
}
.showcase.reverse > div:first-child { order: 2; }
@media (max-width: 900px) {
    .showcase { grid-template-columns: 1fr; }
    .showcase.reverse > div:first-child { order: 0; }
}
.showcase-img {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
}
.showcase h3 {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin-bottom: 18px;
}
.showcase h3 .red { color: var(--c-red); }
.showcase p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 14px;
}
.dark .showcase p { color: rgba(255,255,255,0.72); }
.light .showcase p { color: var(--c-text-soft); }
.showcase strong { color: var(--c-red); }

/* Big cinematic image bar */
.big-image {
    aspect-ratio: 16/8;
    background-size: cover;
    background-position: center;
    width: 100%;
}

/* Gallery 3-col */
.tri-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: clamp(30px, 5vh, 50px);
}
@media (max-width: 800px) { .tri-gallery { grid-template-columns: 1fr; } }
.tri-gallery .item {
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
}

/* Quality blocks: photo + content */
.q-blocks { display: grid; gap: clamp(40px, 6vh, 70px); margin-top: clamp(30px, 5vh, 50px); }
.q-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 60px);
    align-items: center;
}
.q-block.reverse > div:first-child { order: 2; }
@media (max-width: 800px) {
    .q-block { grid-template-columns: 1fr; }
    .q-block.reverse > div:first-child { order: 0; }
}
.q-block .photo {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
}
.q-block .photo.duo {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    background: transparent;
}
.q-block .photo.duo > div { background-size: cover; background-position: center; background-color: #1a1a1a; }
.q-block h3 {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(24px, 2.6vw, 36px);
    line-height: 1.1;
    margin-bottom: 18px;
}
.q-block .feature-list { margin-top: 14px; }
.q-block .feature-list li {
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 15px;
    line-height: 1.55;
}
.light .q-block .feature-list li { border-color: rgba(0,0,0,0.08); }
.q-block .feature-list li::before {
    content: "—";
    color: var(--c-red);
    margin-right: 12px;
    font-weight: 700;
}
.q-block strong { color: #fff; font-weight: 600; }
.light .q-block strong { color: var(--c-text); }

/* Stats strip */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    margin-top: clamp(40px, 6vh, 60px);
}
.light .stats-strip { background: var(--c-cream-2); border-color: var(--c-cream-2); }
@media (max-width: 800px) { .stats-strip { grid-template-columns: 1fr 1fr; } }
.stat {
    background: var(--c-bg);
    padding: clamp(28px, 3vw, 40px) clamp(20px, 2vw, 30px);
    text-align: left;
}
.light .stat { background: #fff; }
.stat .num {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(32px, 3.8vw, 56px);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--c-red);
    margin-bottom: 8px;
}
.stat .lbl {
    font-family: var(--f-display);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.light .stat .lbl { color: var(--c-muted); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
    background: var(--c-bg-card);
    padding: clamp(32px, 4vw, 56px);
    border: 1px solid rgba(255,255,255,0.08);
}
.contact-card h4 {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--c-red);
    margin-bottom: 16px;
}
.contact-card p, .contact-card address {
    font-style: normal;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
}
.contact-card a { color: #fff; border-bottom: 1px solid rgba(227,6,19,0.4); transition: border-color .2s; }
.contact-card a:hover { border-color: var(--c-red); }

.form {
    background: var(--c-bg-card);
    padding: clamp(32px, 4vw, 56px);
    border: 1px solid rgba(255,255,255,0.08);
}
.form h3 {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.1;
    margin-bottom: 28px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field {
    display: flex; flex-direction: column;
    margin-bottom: 18px;
    position: relative;
}
.field label {
    font-family: var(--f-display);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 12px 0;
    font-family: var(--f-body);
    font-size: 15px;
    color: #fff;
    transition: border-color .25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-bottom-color: var(--c-red);
}
.field select option { background: var(--c-bg-card); color: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.form-actions { margin-top: 18px; }
.form-actions .btn { width: 100%; justify-content: center; padding: 18px; }

.contact-meta {
    margin-top: 28px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.form-status {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    display: none;
}
.form-status.is-loading,
.form-status.is-success,
.form-status.is-error { display: block; }
.form-status.is-loading {
    background: rgba(255,255,255,0.05);
    border-left: 3px solid rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.8);
}
.form-status.is-success {
    background: rgba(20, 160, 80, 0.12);
    border-left: 3px solid #14a050;
    color: #6fe199;
}
.form-status.is-error {
    background: rgba(227,6,19,0.12);
    border-left: 3px solid var(--c-red);
    color: #ff7a82;
}

/* ============================================================
   ANIMATIONS — IntersectionObserver triggered
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
    transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal-left.in { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal-right.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.96); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal-scale.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1; transform: none; transition: none;
    }
    .hero-bg { animation: none; }
    .preloader-mark { animation: none; }
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 980px) {
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--nav-h); left: 0; right: 0;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 24px var(--content-pad) 40px;
        gap: 0;
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
        transform: translateY(-110%);
        transition: transform .4s var(--ease-out);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    body.menu-open .nav-links { transform: translateY(0); }
    .nav-links a {
        padding: 18px 0;
        font-size: 18px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav-links a::after { display: none; }
    .cta-link span.full { display: none; }
}
@media (max-width: 540px) {
    .cta-link { padding: 10px 16px; font-size: 11px; }
    .lang-switch { padding: 6px 10px; }
}

/* ============================================================
   MOBILE — comprehensive tuning
   ============================================================ */

/* Bring breakpoint up so the hamburger appears earlier on tablets too */
@media (max-width: 1100px) {
    :root { --content-pad: 22px; --nav-h: 64px; }
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--nav-h); left: 0; right: 0;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 22px 32px;
        gap: 0;
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
        transform: translateY(-110%);
        transition: transform .4s var(--ease-out);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    body.menu-open .nav-links { transform: translateY(0); }
    .nav-links a {
        padding: 16px 0;
        font-size: 17px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav-links a::after { display: none; }
}

@media (max-width: 760px) {
    :root { --nav-h: 60px; }

    /* Nav: compact brand + lang + hamburger only (no CTA in bar, the menu has its own) */
    .brand { font-size: 17px; gap: 8px; }
    .brand .brand-mark { width: 24px; height: 24px; }
    .cta-link { display: none; }
    .lang-switch { padding: 5px 8px; font-size: 10px; letter-spacing: 0.14em; gap: 2px; border-color: rgba(255,255,255,0.18); }
    .lang-switch button { padding: 1px 3px; }

    /* CTA inside the slide-down menu instead */
    .nav-links::after {
        content: "";
        display: block;
        height: 8px;
    }

    /* ===== Hero ===== */
    .hero { min-height: auto; }
    .hero-content {
        padding-top: 50px;
        padding-bottom: 56px;
        gap: 36px;
        min-height: 0;
    }
    .hero-bg {
        /* Don't crop too aggressively on portrait phones */
        background-position: center 25%;
        background-size: cover;
        animation: none;
        transform: none;
        opacity: 0.55;
    }
    .hero-overlay {
        background:
            radial-gradient(circle at 70% 25%, var(--c-red-glow) 0%, transparent 55%),
            linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 60%, rgba(0,0,0,0.9) 100%);
    }
    .hero-title { font-size: clamp(38px, 11vw, 64px); line-height: 1; }
    .hero-sub { font-size: 14.5px; margin-top: 18px; }
    .hero-actions { gap: 10px; margin-top: 22px; }
    .hero-actions .btn { padding: 13px 20px; font-size: 11px; }
    .scroll-cue { display: none; }

    /* Hero feature cards single column */
    .hero-features {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 22px;
    }
    .hf-item {
        border-right: 0;
        padding-right: 0;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .hf-item:last-child { border-bottom: 0; padding-bottom: 0; }
    .hf-title { font-size: 13px; }
    .hf-item p { font-size: 13px; }

    /* ===== Section padding ===== */
    .section { padding: 60px 0; }
    .section.tight { padding: 44px 0; }
    .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }

    /* Headlines ===== */
    .h-display { font-size: clamp(34px, 9vw, 52px); }
    .h-section { font-size: clamp(28px, 7vw, 42px); }
    .manifesto-text { font-size: clamp(22px, 5.4vw, 30px); line-height: 1.2; }
    .manifesto { padding: 60px 0; }

    /* ===== Pillars ===== */
    .pillars { grid-template-columns: 1fr; }
    .pillar { min-height: 0; padding: 24px; }

    /* ===== Gamma cards ===== */
    .gamma-grid { gap: 14px; }
    .gamma-card { min-height: 0; }
    .gamma-img { aspect-ratio: 5/3; }
    .gamma-body { padding: 22px; gap: 12px; }
    .gamma-body h3 { font-size: 30px; }

    /* ===== Software / soft-card ===== */
    .soft-grid { gap: 14px; }
    .soft-card { min-height: 0; padding: 26px 22px; }
    .soft-card h3 { font-size: 24px; }

    /* ===== Lavori cards — keep landscape ratio so image isn't zoomed ===== */
    .lavori-split { gap: 14px; }
    .lavoro-card { aspect-ratio: 16/11; }
    .lavoro-card .body { padding: 22px; }
    .lavoro-card h3 { font-size: clamp(26px, 6.5vw, 34px); }
    .lavoro-card p { font-size: 14px; max-width: none; }

    /* ===== Product hero ===== */
    .product-hero { padding-top: 32px; }
    .product-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 44px;
    }
    .product-hero-name { font-size: clamp(56px, 18vw, 100px); margin-bottom: 16px; }
    .product-hero-tag { font-size: 15px; margin-bottom: 22px; }
    .product-hero-pic {
        height: auto;
        min-height: 0;
        max-height: 60vh;
        width: 100%;
    }
    .product-hero-cta { gap: 10px; }
    .product-hero-cta .btn { padding: 13px 18px; font-size: 11px; }

    /* ===== Spec strip ===== */
    .spec-strip { padding: 22px 0; }
    .spec-strip-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .spec-cell {
        padding: 0;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,0.08);
        padding-top: 12px;
    }
    .spec-cell:first-child, .spec-cell:nth-child(2) { border-top: 0; padding-top: 0; }

    /* ===== Intro block, features grid ===== */
    .intro-block { grid-template-columns: 1fr; gap: 22px; }
    .intro-block .body p { font-size: 15px; line-height: 1.65; }
    .features-grid { grid-template-columns: 1fr; }
    .feature { min-height: 0; padding: 22px; }

    /* ===== Showcases ===== */
    .showcase, .showcase.reverse { grid-template-columns: 1fr; gap: 20px; }
    .showcase.reverse > div:first-child { order: 0; }
    .showcase h3 { font-size: clamp(24px, 6.5vw, 32px); }
    .showcase p { font-size: 15px; }

    /* ===== Optional cards: stack icon + text ===== */
    .optional-grid { grid-template-columns: 1fr; gap: 14px; }
    .optional-card { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
    .optional-card .icon { width: 84px; height: 84px; }

    /* ===== Quality blocks (image + text) ===== */
    .q-block, .q-block.reverse { grid-template-columns: 1fr; gap: 20px; }
    .q-block.reverse > div:first-child { order: 0; }
    .q-block h3 { font-size: clamp(22px, 6vw, 30px); }

    /* ===== Storia teaser ===== */
    .storia-teaser { grid-template-columns: 1fr; gap: 24px; }
    .storia-img { aspect-ratio: 5/4; }
    .storia-text p { font-size: 15px; }

    /* ===== Stats strip ===== */
    .stats-strip { grid-template-columns: 1fr 1fr; }
    .stat { padding: 22px 18px; }
    .stat .num { font-size: clamp(26px, 7vw, 38px); }

    /* ===== Tri-gallery ===== */
    .tri-gallery { grid-template-columns: 1fr; gap: 12px; }

    /* ===== Big image bars — keep landscape, don't crop ===== */
    .big-image { aspect-ratio: 16/10 !important; background-size: cover; background-position: center; }

    /* Storia teaser image: less vertical */
    .storia-img { aspect-ratio: 16/11; }

    /* Gamma card image: less zoom on mobile */
    .gamma-img { aspect-ratio: 16/10; background-size: cover; }
    .gamma-card.flagship .gamma-img,
    .gamma-card .gamma-img[style*="contain"] { background-size: contain !important; }

    /* Tri-gallery items: keep landscape, not square crop */
    .tri-gallery .item { aspect-ratio: 16/10; }

    /* Quality block duo: two-photo strip stays wide */
    .q-block .photo { aspect-ratio: 16/10; }
    .q-block .photo.duo { aspect-ratio: 16/8; grid-template-columns: 1fr 1fr; gap: 6px; }

    /* ===== CTA strip ===== */
    .cta-strip { padding: 60px 0; }
    .cta-strip h2 { font-size: clamp(30px, 8vw, 44px); margin-bottom: 18px; }
    .cta-strip p { font-size: 15px; margin-bottom: 24px; }
    .cta-strip::before { font-size: 26vw; }

    /* ===== Page header ===== */
    .page-header { padding: 50px 0 36px; }
    .page-crumbs { margin-bottom: 16px; font-size: 10px; letter-spacing: 0.22em; }

    /* ===== Contact ===== */
    .contact-grid { grid-template-columns: 1fr; gap: 24px; }
    .contact-card, .form { padding: 28px 22px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form h3 { font-size: 24px; margin-bottom: 22px; }

    /* ===== Footer ===== */
    .footer { padding: 50px 0 22px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; padding-bottom: 36px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { font-size: 10px; letter-spacing: 0.14em; flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 420px) {
    .gamma-body h3 { font-size: 26px; }
    .product-hero-name { font-size: clamp(48px, 17vw, 80px); }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COLLAGE GRIDS — produzione + titania (4 foto asimmetriche)
   Layout: 1 grande sinistra (alta), 1 larga in alto a destra,
           2 piccole affiancate in basso a destra
   ============================================================ */
.prod-collage,
.titania-collage {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    margin-top: 30px;
    aspect-ratio: 16/10;
}
.prod-collage > div,
.titania-collage > div {
    background-size: cover;
    background-position: center;
    background-color: #161616;
    overflow: hidden;
}
.prod-collage .pc-a,
.titania-collage .tc-a { grid-column: 1 / 2; grid-row: 1 / 3; }   /* big tall left */
.prod-collage .pc-b,
.titania-collage .tc-b { grid-column: 2 / 4; grid-row: 1 / 2; }   /* wide top-right */
.prod-collage .pc-c,
.titania-collage .tc-c { grid-column: 2 / 3; grid-row: 2 / 3; }   /* bottom-right left */
.prod-collage .pc-d,
.titania-collage .tc-d { grid-column: 3 / 4; grid-row: 2 / 3; }   /* bottom-right right */

@media (max-width: 760px) {
    .prod-collage,
    .titania-collage {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, 1fr);
        aspect-ratio: 16/12;
        gap: 10px;
    }
    .prod-collage .pc-a,
    .titania-collage .tc-a { grid-column: 1 / 2; grid-row: 1 / 2; }
    .prod-collage .pc-b,
    .titania-collage .tc-b { grid-column: 2 / 3; grid-row: 1 / 2; }
    .prod-collage .pc-c,
    .titania-collage .tc-c { grid-column: 1 / 2; grid-row: 2 / 3; }
    .prod-collage .pc-d,
    .titania-collage .tc-d { grid-column: 2 / 3; grid-row: 2 / 3; }
}

/* ============================================================
   MOBILE — immagini SEMPRE INTERE: contain + sfondo scuro
   ============================================================ */
@media (max-width: 760px) {
    /* Bande cinematografiche: mostrano l'intera foto, no crop */
    .big-image {
        background-size: contain !important;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #0f0f10;
    }
    /* Galleria 3-col: foto intera */
    .tri-gallery .item {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        background-color: #0f0f10;
    }
    /* Card lavorazioni: foto intera con sfondo scuro dietro */
    .lavoro-card .img {
        background-size: contain;
        background-position: center top;
        background-repeat: no-repeat;
        background-color: #0a0a0a;
    }
    /* Quality block photos */
    .q-block .photo {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        background-color: #0f0f10;
    }
    .q-block .photo.duo > div {
        background-size: contain !important;
        background-repeat: no-repeat;
        background-color: #0f0f10;
    }
    /* Showcase split image */
    .showcase-img {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        background-color: #0f0f10;
    }
    /* Storia teaser image */
    .storia-img {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        background-color: #0f0f10;
    }
    /* Production / Titania collage tiles */
    .prod-collage > div,
    .titania-collage > div {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        background-color: #0f0f10;
    }
    /* Gamma card images */
    .gamma-img {
        background-size: contain !important;
        background-position: center;
        background-repeat: no-repeat;
        background-color: #1a1a1a;
    }
    /* Hero bg fine come cover (è decorativo) */
}
