/* cosmic.css — concatenato per ridurre richieste HTTP. */
/* === cosmic-tokens.css === */
/* ════════════════════════════════════════════════════════════════════════════
   FINHANCE — COSMIC FINANCE TOKENS (all-dark editorial)
   Layer di design tokens applicato sopra style.css.
   Tipografia editoriale dominante: Instrument Serif (italic + roman).
   DM Sans/Inter restano per CTA e label tecnici.
════════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');

:root {
    /* ── Brand palette FinHance (preservata per accenti) ─────────────────── */
    --navy: #1E2761;
    --navy-light: #2A3575;
    --green: #07F968;
    --green-dark: #05C854;
    --green-glow: rgba(7, 249, 104, 0.55);
    --black: #000000;
    --white: #FFFFFF;
    --cream: #FAFAF8;
    --gray-100: #F5F5F4;
    --gray-200: #E8E8E6;
    --gray-400: #9CA3AF;
    --gray-600: #4B5563;
    --gray-800: #1F2937;

    /* ── White-on-black hierarchy (editoriale) ───────────────────────────── */
    --w-100: rgba(255, 255, 255, 1);
    --w-90:  rgba(255, 255, 255, 0.9);
    --w-80:  rgba(255, 255, 255, 0.8);
    --w-70:  rgba(255, 255, 255, 0.7);
    --w-60:  rgba(255, 255, 255, 0.6);
    --w-50:  rgba(255, 255, 255, 0.5);
    --w-40:  rgba(255, 255, 255, 0.4);
    --w-20:  rgba(255, 255, 255, 0.2);
    --w-10:  rgba(255, 255, 255, 0.1);
    --w-05:  rgba(255, 255, 255, 0.05);

    /* ── Typography families ─────────────────────────────────────────────── */
    --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-ui: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;

    /* ── Typography scale (fluida con clamp) ─────────────────────────────── */
    --fs-hero: clamp(72px, 11vw, 180px);
    --fs-h1: clamp(48px, 7vw, 112px);
    --fs-h2: clamp(40px, 5.5vw, 96px);
    --fs-h3: clamp(28px, 3.4vw, 56px);
    --fs-h4: clamp(20px, 1.8vw, 28px);
    --fs-lead: clamp(16px, 1.2vw, 18px);
    --fs-body: 16px;
    --fs-small: 14px;
    --fs-eyebrow: 12px;

    /* ── Spacing extension ──────────────────────────────────────────────── */
    --space-5xl: 96px;
    --space-6xl: 128px;
    --space-7xl: 176px;

    /* ── Radii ──────────────────────────────────────────────────────────── */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 40px;
    --radius-pill: 999px;

    /* ── Transizioni / easing ───────────────────────────────────────────── */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);

    /* ── Layout ─────────────────────────────────────────────────────────── */
    --container-cosmic: 1280px;
    --container-wide: 1440px;
}

/* ── Base globale dark ─────────────────────────────────────────────────── */
html { scroll-behavior: smooth; background: var(--black); }
body.cosmic-scope {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    background: var(--black);
    color: var(--w-80);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
@media (max-width: 480px) {
    body.cosmic-scope { font-size: 15px; }
}

/* Utility background extension */
.bg-black { background: var(--black); color: var(--w-90); }

/* ── prefers-reduced-motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* === cosmic-glass.css === */
/* ════════════════════════════════════════════════════════════════════════════
   FINHANCE — COSMIC FINANCE / LIQUID GLASS (formula esatta)
   Una sola classe principale .liquid-glass usata su tutti gli elementi vetro
   (navbar, card, riquadri sopra video, pillole).
   Prefissi -webkit per Safari iOS.
════════════════════════════════════════════════════════════════════════════ */

.liquid-glass {
    background: rgba(255, 255, 255, 0.01);
    background-blend-mode: luminosity;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: none;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}
.liquid-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.45) 0%,
        rgba(255, 255, 255, 0.15) 20%,
        rgba(255, 255, 255, 0.00) 40%,
        rgba(255, 255, 255, 0.00) 60%,
        rgba(255, 255, 255, 0.15) 80%,
        rgba(255, 255, 255, 0.45) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

/* Hover: leggero alone + bordo più visibile */
.liquid-glass.is-hoverable { transition: background 280ms var(--ease-soft); }
.liquid-glass.is-hoverable:hover { background: rgba(255, 255, 255, 0.05); }

/* Fallback browser senza backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .liquid-glass { background: rgba(20, 22, 40, 0.55); }
}

/* === cosmic-theme.css === */
/* ════════════════════════════════════════════════════════════════════════════
   FINHANCE — COSMIC FINANCE / THEME (all-dark editorial)
   Tutto bg-black, Instrument Serif italic come display dominante,
   pattern: hero video, featured-video, two-col video, services cards video.
   Caricato per ultimo. Tutto scopato sotto body.cosmic-scope.
════════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   GLOBAL RESET DARK — tutte le sezioni vanno su nero
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope { background: var(--black); color: var(--w-80); }
body.cosmic-scope .container { max-width: var(--container-wide); padding: 0 24px; }

body.cosmic-scope section,
body.cosmic-scope .bg-white,
body.cosmic-scope .bg-cream,
body.cosmic-scope .bg-black { background: var(--black) !important; }

body.cosmic-scope h1,
body.cosmic-scope h2,
body.cosmic-scope h3,
body.cosmic-scope h4,
body.cosmic-scope h5,
body.cosmic-scope h6 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--w-100);
    letter-spacing: -0.02em;
    line-height: 1.02;
}
body.cosmic-scope p {
    color: var(--w-60);
    font-family: var(--font-body);
    line-height: 1.7;
}
body.cosmic-scope strong { color: var(--w-90); font-weight: 600; }
body.cosmic-scope a { color: inherit; }

/* ═══════════════════════════════════════════════════════════════════════════
   ITALIC ACCENT — il cuore del linguaggio editoriale
   .highlight viene reso in Instrument Serif italic in white/40 nelle headline
   (sui blocchi dark) per replicare il pattern "Pioneering ideas for minds…"
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .highlight {
    font-family: var(--font-display) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    background: transparent !important;
    background-image: none !important;
    background-color: transparent !important;
    color: var(--w-40) !important;
    padding: 0 !important;
}

/* Hero highlight: bianco italic con micro sottolineatura verde glow */
body.cosmic-scope .hero h1 .highlight {
    color: var(--w-100) !important;
    position: relative;
    display: inline-block;
}
body.cosmic-scope .hero h1 .highlight::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0.06em;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    box-shadow: 0 0 18px rgba(7,249,104,0.6);
}

/* CGO/ebook: italic in verde brand */
body.cosmic-scope .cgo-hero .highlight,
body.cosmic-scope .ebook-section .highlight {
    color: var(--green) !important;
    text-shadow: 0 0 24px rgba(7,249,104,0.35);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVBAR — pillola liquid-glass centrata in cima al hero
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .header {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding: 24px 24px !important;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
}
body.cosmic-scope .header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 22px !important;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.01);
    background-blend-mode: luminosity;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
body.cosmic-scope .header-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.45) 0%,
        rgba(255, 255, 255, 0.15) 20%,
        rgba(255, 255, 255, 0.00) 40%,
        rgba(255, 255, 255, 0.00) 60%,
        rgba(255, 255, 255, 0.15) 80%,
        rgba(255, 255, 255, 0.45) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
body.cosmic-scope .header.scrolled .header-container {
    background: rgba(255, 255, 255, 0.04);
}
body.cosmic-scope .nav-link,
body.cosmic-scope .logo-link {
    color: var(--w-80) !important;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
}
body.cosmic-scope .nav-link:hover { color: var(--w-100) !important; }
body.cosmic-scope .logo { filter: brightness(0) invert(1); max-height: 26px; width: auto; }

body.cosmic-scope .header-cta {
    background: var(--green) !important;
    color: var(--black) !important;
    border-radius: var(--radius-pill);
    padding: 10px 20px !important;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 13px !important;
    box-shadow: 0 6px 22px rgba(7,249,104,0.28);
    transition: transform 200ms var(--ease-soft), box-shadow 200ms ease;
}
body.cosmic-scope .header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(7,249,104,0.4);
}

body.cosmic-scope .mobile-toggle span { background: var(--white) !important; }

/* Dropdown menu */
body.cosmic-scope .dropdown-menu {
    background: rgba(0,0,0,0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
}
body.cosmic-scope .dropdown-menu a { color: var(--w-70); }
body.cosmic-scope .dropdown-menu a:hover { color: var(--w-100); background: rgba(255,255,255,0.05); }

body.cosmic-scope .mobile-menu {
    background: rgba(0,0,0,0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}
body.cosmic-scope .mobile-menu-link { color: var(--w-80) !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO — video full-screen, headline gigante con accent italic, glass CTA
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .hero {
    min-height: 100vh;
    background: var(--black) !important;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    isolation: isolate;
}

.cosmic-hero-stage {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--black);
}
.cosmic-hero-stage video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    opacity: 0;
}
.cosmic-hero-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.0) 18%, rgba(0,0,0,0.0) 55%, rgba(0,0,0,0.55) 88%, var(--black) 100%);
    pointer-events: none;
    z-index: 1;
}

body.cosmic-scope .hero .container,
body.cosmic-scope .hero .hero-container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 24px 24px !important;
    width: 100%;
    max-width: 100%;
    margin: 0;
}
body.cosmic-scope .hero .hero-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

body.cosmic-scope .hero h1 {
    font-family: var(--font-display) !important;
    font-weight: 400 !important;
    font-size: var(--fs-hero) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.03em !important;
    color: var(--w-100) !important;
    margin: 0 !important;
    max-width: 100% !important;
    text-align: center;
}

body.cosmic-scope .hero .hero-subtitle {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--w-70);
    max-width: 580px;
    margin: 0 auto;
    text-align: center;
}
body.cosmic-scope .hero .hero-subtitle strong { color: var(--w-100); font-weight: 500; }

body.cosmic-scope .hero .hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
body.cosmic-scope .hero .btn-primary {
    background: var(--green) !important;
    color: var(--black) !important;
    border-radius: var(--radius-pill) !important;
    padding: 14px 28px !important;
    font-family: var(--font-ui) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    box-shadow: 0 8px 28px rgba(7,249,104,0.32);
    transition: transform 200ms var(--ease-soft), box-shadow 200ms ease;
    border: none !important;
}
body.cosmic-scope .hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(7,249,104,0.42);
}
body.cosmic-scope .hero .btn-outline {
    background: rgba(255, 255, 255, 0.01) !important;
    background-blend-mode: luminosity;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: var(--w-90) !important;
    border-radius: var(--radius-pill) !important;
    padding: 13px 28px !important;
    font-family: var(--font-ui) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    border: none !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}
body.cosmic-scope .hero .btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(180deg,
        rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
        rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
        rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

/* Hero visual originale spento */
body.cosmic-scope .hero .hero-visual { display: none !important; }

/* Social pills in fondo all'hero */
.cosmic-hero-social {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 40px 0 48px;
}
.cosmic-hero-social .social-pill {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--w-80);
    transition: color 220ms ease;
}
.cosmic-hero-social .social-pill:hover { color: var(--w-100); }

/* ═══════════════════════════════════════════════════════════════════════════
   SEZIONI EDITORIAL (Cosa facciamo, Chi siamo, Servizio, Ecosistema, ecc.)
   Tutte bg-black con tipografia Instrument Serif gigante.
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .cosa-facciamo,
body.cosmic-scope .chi-siamo,
body.cosmic-scope .servizio-main,
body.cosmic-scope .ecosistema,
body.cosmic-scope .metodologia,
body.cosmic-scope .trasformazione-valore,
body.cosmic-scope .team,
body.cosmic-scope .clienti,
body.cosmic-scope .blog-section,
body.cosmic-scope .cta-section,
body.cosmic-scope .ebook-section {
    background: var(--black) !important;
    color: var(--w-70);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

body.cosmic-scope .cosa-facciamo h2,
body.cosmic-scope .chi-siamo h2,
body.cosmic-scope .servizio-main h2,
body.cosmic-scope .ecosistema h2,
body.cosmic-scope .metodologia h2,
body.cosmic-scope .trasformazione-valore h2,
body.cosmic-scope .team h2,
body.cosmic-scope .clienti h2,
body.cosmic-scope .blog-section h2,
body.cosmic-scope .cta-section h2,
body.cosmic-scope .ebook-section h2 {
    font-family: var(--font-display) !important;
    font-size: var(--fs-h2) !important;
    color: var(--w-100) !important;
    letter-spacing: -0.02em !important;
    line-height: 1.05 !important;
    font-weight: 400 !important;
    margin-bottom: 32px;
}

body.cosmic-scope h4 {
    font-family: var(--font-display);
    font-size: var(--fs-h4);
    color: var(--w-100);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
body.cosmic-scope h5 {
    font-family: var(--font-ui);
    color: var(--w-40);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
}

/* Subtitle / lead */
body.cosmic-scope .subtitle,
body.cosmic-scope .cf-intro,
body.cosmic-scope .tv-sub,
body.cosmic-scope .ebook-desc {
    color: var(--w-50) !important;
    font-size: var(--fs-lead);
    line-height: 1.7;
}

/* Eyebrow / kicker */
body.cosmic-scope .cf-eyebrow,
body.cosmic-scope .ebook-eyebrow,
body.cosmic-scope .blog-kw {
    color: var(--w-40) !important;
    font-family: var(--font-ui) !important;
    font-size: 12px !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COSA FACCIAMO — 6 service card con liquid glass + hover scale
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .cf-layout { display: grid; gap: 64px; grid-template-columns: 1fr; }
@media (min-width: 1024px) {
    body.cosmic-scope .cf-layout { grid-template-columns: 1fr 1.4fr; align-items: start; }
}
body.cosmic-scope .cf-left { padding-top: 12px; }
body.cosmic-scope .cf-target-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(7,249,104,0.15); }
body.cosmic-scope .cf-target span { color: var(--w-70); }

body.cosmic-scope .cf-grid-6 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
body.cosmic-scope .cf-card {
    background: rgba(255, 255, 255, 0.01) !important;
    background-blend-mode: luminosity;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border: none !important;
    border-radius: var(--radius-xl);
    padding: 28px;
    color: var(--w-80);
    position: relative;
    overflow: hidden;
    transition: transform 380ms var(--ease-soft), background 380ms ease;
}
body.cosmic-scope .cf-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(180deg,
        rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
        rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
        rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
body.cosmic-scope .cf-card:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    transform: translateY(-4px);
}
body.cosmic-scope .cf-card h4 {
    color: var(--w-100) !important;
    margin: 16px 0 8px;
}
body.cosmic-scope .cf-card p { color: var(--w-50); font-size: 14px; line-height: 1.6; }
body.cosmic-scope .cf-card-icon { stroke: var(--w-80); width: 26px; height: 26px; }
body.cosmic-scope a.cf-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
body.cosmic-scope a.cf-card-link:hover h4 { color: #07F968 !important; }

/* Teaser sezione metodologia rimanente in home dopo lo spostamento su /cfo-fractional/ */
body.cosmic-scope .metodologia-teaser { padding: 96px 0; }
body.cosmic-scope .metodologia-teaser-inner { text-align: center; max-width: 760px; margin: 0 auto; }
body.cosmic-scope .metodologia-teaser-inner h2 { margin-bottom: 16px; }
body.cosmic-scope .metodologia-teaser-inner .subtitle { margin: 0 auto 32px; text-align: center; }
body.cosmic-scope .metodologia-teaser-cta { display: inline-flex; align-items: center; gap: 8px; }

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURED VIDEO — pattern attorno alla sezione "Servizio CFO"
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .servizio-main .servizio-header { text-align: center; margin-bottom: 56px; }
body.cosmic-scope .servizio-main .servizio-header h2 { text-align: center; }
body.cosmic-scope .servizio-main .subtitle { text-align: center; max-width: 720px; margin: 0 auto; }

body.cosmic-scope .servizio-visual {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 16/9;
    margin: 0 auto 56px;
    max-width: 1200px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
body.cosmic-scope .servizio-visual video,
body.cosmic-scope .servizio-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body.cosmic-scope .servizio-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 50%);
    pointer-events: none;
}
.cosmic-featured-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 32px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    z-index: 2;
    flex-wrap: wrap;
}
.cosmic-featured-card {
    background: rgba(255, 255, 255, 0.01);
    background-blend-mode: luminosity;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 28px;
    max-width: 460px;
    position: relative;
    overflow: hidden;
}
.cosmic-featured-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(180deg,
        rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
        rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
        rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.cosmic-featured-card .label {
    color: var(--w-50);
    font-family: var(--font-ui);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.cosmic-featured-card p { color: var(--w-90); font-size: 15px; line-height: 1.55; margin: 0; }

/* Servizio grid 2x2 */
body.cosmic-scope .servizio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 768px) { body.cosmic-scope .servizio-grid { grid-template-columns: 1fr 1fr; } }
body.cosmic-scope .servizio-col { display: flex; flex-direction: column; gap: 24px; }
body.cosmic-scope .card,
body.cosmic-scope .card-cream {
    background: rgba(255, 255, 255, 0.01) !important;
    background-blend-mode: luminosity;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    border-radius: var(--radius-xl);
    padding: 32px;
    color: var(--w-80);
    position: relative;
    overflow: hidden;
}
body.cosmic-scope .card::before,
body.cosmic-scope .card-cream::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(180deg,
        rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
        rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
        rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
body.cosmic-scope .card h4,
body.cosmic-scope .card-cream h4 { color: var(--w-100) !important; margin-bottom: 12px; }
body.cosmic-scope .card p,
body.cosmic-scope .card-cream p { color: var(--w-60); font-size: 15px; }

/* ═══════════════════════════════════════════════════════════════════════════
   PHILOSOPHY (chi-siamo) — two-col video + text con divider sottile
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .chi-siamo-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 80px;
}
@media (min-width: 900px) {
    body.cosmic-scope .chi-siamo-main {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}
body.cosmic-scope .chi-siamo-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
body.cosmic-scope .chi-siamo-image video,
body.cosmic-scope .chi-siamo-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.cosmic-scope .chi-siamo-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}
body.cosmic-scope .chi-siamo-content h2 {
    font-size: var(--fs-h2) !important;
    line-height: 1.02 !important;
}
body.cosmic-scope .chi-siamo-content p { color: var(--w-60); font-size: 17px; }

body.cosmic-scope .valori-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    body.cosmic-scope .valori-grid {
        grid-template-columns: 1fr;
    }
}
body.cosmic-scope .valori-grid .card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 32px 0 !important;
    border-bottom: 1px solid var(--w-10) !important;
}
body.cosmic-scope .valori-grid .card::before { display: none; }
body.cosmic-scope .valori-grid .card:last-child { border-bottom: none !important; }
body.cosmic-scope .valori-grid .card h4 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 44px);
    color: var(--w-100);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ECOSISTEMA — heading editoriale + CGO featured
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .ecosistema-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 768px) { body.cosmic-scope .ecosistema-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { body.cosmic-scope .ecosistema-grid { grid-template-columns: repeat(4, 1fr); } }

body.cosmic-scope .cgo-hero {
    margin-top: 56px;
    padding: 48px;
    border-radius: var(--radius-2xl);
    background: var(--black);
    color: var(--w-90);
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.55);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
body.cosmic-scope .cgo-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/slide-nebula.png');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    mix-blend-mode: screen;
    pointer-events: none;
}
body.cosmic-scope .cgo-hero > * { position: relative; z-index: 1; }
body.cosmic-scope .cgo-hero h4 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 48px);
    color: var(--w-100);
    margin: 16px 0 12px;
    line-height: 1.1;
}
body.cosmic-scope .cgo-hero p { color: var(--w-70); }
body.cosmic-scope .cgo-hero strong { color: var(--w-100); }
body.cosmic-scope .cgo-badge {
    display: inline-block;
    background: var(--green);
    color: var(--black);
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
}

/* ═══════════════════════════════════════════════════════════════════════════
   COSMIC DIVIDER + visual
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .cosmic-divider { display: none; }

/* Section-video divider full-bleed cinematic */
body.cosmic-scope .cosmic-section-video {
    background: var(--black) !important;
    padding: 60px 24px 60px !important;
    overflow: hidden;
}
.cosmic-section-video-frame {
    max-width: 1280px;
    margin: 0 auto;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 21/9;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.cosmic-section-video-frame video,
.cosmic-section-video-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cosmic-section-video-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

/* CGO featured con video di background */
.cgo-bg-video {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    opacity: 0.45;
    mix-blend-mode: screen;
    z-index: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   METODOLOGIA — timeline
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .rm-step .rm-sq {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--w-20);
    color: var(--w-90);
    font-family: var(--font-display);
    font-weight: 400;
    border-radius: var(--radius-md);
    transition: all 280ms var(--ease-soft);
}
body.cosmic-scope .rm-step.act .rm-sq,
body.cosmic-scope .rm-step:hover .rm-sq {
    background: var(--w-100);
    color: var(--black);
    border-color: var(--w-100);
    box-shadow: 0 0 0 4px rgba(7,249,104,0.18);
}
body.cosmic-scope .rm-stit { color: var(--w-70); font-family: var(--font-ui); font-weight: 500; }
body.cosmic-scope .rm-conn svg line { stroke: var(--w-10); }
body.cosmic-scope .rm-tooltip {
    background: rgba(0,0,0,0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--w-10);
    color: var(--w-90);
    border-radius: var(--radius-lg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRIMA / DOPO
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .pd-visual { color: var(--w-80); }
body.cosmic-scope .pd-half { padding: 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.02); border: 1px solid var(--w-10); }
body.cosmic-scope .pd-half-label.prima { background: var(--w-10); color: var(--w-60); }
body.cosmic-scope .pd-half-label.dopo {
    background: var(--green);
    color: var(--black);
    font-weight: 700;
}
body.cosmic-scope .pd-row strong { color: var(--w-100); }
body.cosmic-scope .pd-row p { color: var(--w-50); font-size: 13px; }
body.cosmic-scope .pd-icon-sq.red { background: rgba(239,68,68,0.15); }
body.cosmic-scope .pd-icon-sq.grn { background: rgba(7,249,104,0.15); }
body.cosmic-scope .pd-arr svg { stroke: var(--w-100) !important; }

body.cosmic-scope .tv-divider { background: var(--w-10); }
body.cosmic-scope .valore-stack .card h4 { font-size: 28px; }

/* ═══════════════════════════════════════════════════════════════════════════
   EBOOK — banner dark con texture e CTA verde
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .ebook-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/slide-dust.png');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    mix-blend-mode: screen;
    pointer-events: none;
}
body.cosmic-scope .ebook-section .container { position: relative; z-index: 1; }
body.cosmic-scope .ebook-section h2 { color: var(--w-100) !important; font-size: var(--fs-h2) !important; }
body.cosmic-scope .ebook-section .ebook-eyebrow { color: var(--green) !important; }
body.cosmic-scope .ebook-section .ebook-point { color: var(--w-90); font-weight: 500; }
body.cosmic-scope .ebook-section .ebook-check {
    background: var(--green);
    border-radius: 50%;
    width: 22px; height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
body.cosmic-scope .ebook-section .ebook-input {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--w-20);
    color: var(--white);
    border-radius: var(--radius-pill);
    padding: 14px 22px;
    font-family: var(--font-body);
}
body.cosmic-scope .ebook-section .ebook-input::placeholder { color: var(--w-40); }
body.cosmic-scope .ebook-section .ebook-btn {
    background: var(--green) !important;
    color: var(--black) !important;
    border-radius: var(--radius-pill);
    padding: 14px 26px;
    font-family: var(--font-ui);
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(7,249,104,0.3);
}
body.cosmic-scope .ebook-section .ebook-btn:hover {
    background: var(--green-dark) !important;
    transform: translateY(-2px);
}
body.cosmic-scope .ebook-section .ebook-privacy { color: var(--w-40); }

/* ═══════════════════════════════════════════════════════════════════════════
   TEAM — card pulite su nero
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .team-4col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 600px) { body.cosmic-scope .team-4col { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { body.cosmic-scope .team-4col { grid-template-columns: repeat(4, 1fr); } }
body.cosmic-scope .team-card {
    background: rgba(255, 255, 255, 0.01);
    background-blend-mode: luminosity;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 320ms var(--ease-soft);
}
body.cosmic-scope .team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(180deg,
        rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
        rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
        rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
body.cosmic-scope .team-card:hover { transform: translateY(-4px); }
body.cosmic-scope .team-photo-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
    aspect-ratio: 1;
    position: relative;
}
body.cosmic-scope .team-photo {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(0.15) contrast(1.05);
}
body.cosmic-scope .team-card h4 { color: var(--w-100); font-family: var(--font-display); font-size: 22px; margin-bottom: 4px; }
body.cosmic-scope .team-role { color: var(--w-50); font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
body.cosmic-scope .team-bio { color: var(--w-60); font-size: 14px; line-height: 1.55; }
body.cosmic-scope .team-link {
    color: var(--w-80);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
}
body.cosmic-scope .team-link:hover { color: var(--green); }
body.cosmic-scope .team-photo-line { display: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   CLIENTI — loghi su nero
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .clienti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}
body.cosmic-scope .cliente-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--w-10);
    border-radius: var(--radius-md);
    color: var(--w-40);
    font-family: var(--font-ui);
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 28px 20px;
    text-align: center;
    transition: color 240ms ease, border-color 240ms ease, background 240ms ease;
}
body.cosmic-scope .cliente-box:hover {
    color: var(--w-100);
    border-color: var(--w-40);
    background: rgba(255,255,255,0.04);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .blog-section { background: var(--black) !important; }
body.cosmic-scope .blog-kw { color: var(--w-40); font-family: var(--font-ui) !important; }
body.cosmic-scope .blog-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
body.cosmic-scope .blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 768px) { body.cosmic-scope .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { body.cosmic-scope .blog-grid { grid-template-columns: repeat(3, 1fr); } }

body.cosmic-scope .blog-card {
    background: rgba(255, 255, 255, 0.01);
    background-blend-mode: luminosity;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 0;
    position: relative;
    overflow: hidden;
    display: block;
    transition: transform 320ms var(--ease-soft);
}
body.cosmic-scope .blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(180deg,
        rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
        rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
        rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
body.cosmic-scope .blog-card:hover { transform: translateY(-4px); }
body.cosmic-scope .blog-card-inner { padding: 28px; }
body.cosmic-scope .blog-card h4 { color: var(--w-100); font-family: var(--font-display); font-size: 22px; line-height: 1.2; margin: 12px 0 10px; font-weight: 400; }
body.cosmic-scope .blog-card p { color: var(--w-60); font-size: 14px; }
body.cosmic-scope .blog-cat { color: var(--w-40); font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
body.cosmic-scope .blog-date { color: var(--w-40); font-family: var(--font-ui); font-size: 11px; }
body.cosmic-scope .blog-card-top { display: flex; justify-content: space-between; align-items: center; }
body.cosmic-scope .blog-cta { color: var(--w-80); display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-ui); font-size: 13px; font-weight: 500; }
body.cosmic-scope .blog-cta:hover { color: var(--green); }
body.cosmic-scope .blog-all-link { color: var(--w-80); font-family: var(--font-ui); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
body.cosmic-scope .blog-all-link:hover { color: var(--green); }

/* ═══════════════════════════════════════════════════════════════════════════
   CTA / CONTATTI
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .cta-container { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
@media (min-width: 900px) { body.cosmic-scope .cta-container { grid-template-columns: 1fr 1.2fr; } }
body.cosmic-scope .cta-contact-photo { border-radius: 50%; width: 56px; height: 56px; object-fit: cover; }
body.cosmic-scope .cta-contact-item { color: var(--w-80); display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
body.cosmic-scope .cta-contact-item strong { color: var(--w-100); }
body.cosmic-scope .cta-contact-item span { color: var(--w-50); font-size: 13px; }
body.cosmic-scope .cta-contact-links { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
body.cosmic-scope .cta-contact-links a { color: var(--w-90); font-weight: 500; }
body.cosmic-scope .cta-contact-links a:hover { color: var(--green); }
body.cosmic-scope .cta-calendar iframe {
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}

/* Generic btn-primary fuori dall'hero (rimane verde brand) */
body.cosmic-scope .btn.btn-primary:not(.header-cta) {
    background: var(--green) !important;
    color: var(--black) !important;
    border-radius: var(--radius-pill);
    padding: 14px 28px;
    font-family: var(--font-ui);
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(7,249,104,0.24);
    border: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
body.cosmic-scope .btn.btn-outline {
    background: rgba(255, 255, 255, 0.01) !important;
    background-blend-mode: luminosity;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
    color: var(--w-90) !important;
    border: none !important;
    border-radius: var(--radius-pill);
    padding: 13px 28px;
    font-family: var(--font-ui);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER (già footer-dark) — refinement
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .footer {
    background: var(--black) !important;
    color: var(--w-60);
    padding: 96px 0 32px;
    border-top: 1px solid var(--w-10);
    position: relative;
    overflow: hidden;
}
body.cosmic-scope .footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/slide-nebula.png');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}
body.cosmic-scope .footer .container { position: relative; z-index: 1; }
body.cosmic-scope .footer h5 { color: var(--w-100); font-family: var(--font-ui); }
body.cosmic-scope .footer p,
body.cosmic-scope .footer li,
body.cosmic-scope .footer a { color: var(--w-60); }
body.cosmic-scope .footer a:hover { color: var(--green); }
body.cosmic-scope .footer-bottom { border-top: 1px solid var(--w-10); padding-top: 24px; margin-top: 48px; color: var(--w-40); font-size: 13px; }
body.cosmic-scope .footer-logo-large { filter: brightness(0) invert(1); max-width: 160px; }
body.cosmic-scope .footer .social-link {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--w-10);
    width: 44px; height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
body.cosmic-scope .footer .social-link:hover { background: var(--green); color: var(--black); }

/* ═══════════════════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS — discrete, scaglionate
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .animate-on-scroll,
body.cosmic-scope .cosmic-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
    will-change: opacity, transform;
}
body.cosmic-scope .animate-on-scroll.visible,
body.cosmic-scope .cosmic-reveal.visible {
    opacity: 1;
    transform: none;
}
body.cosmic-scope .animate-on-scroll.delay-1 { transition-delay: 100ms; }
body.cosmic-scope .animate-on-scroll.delay-2 { transition-delay: 200ms; }
body.cosmic-scope .animate-on-scroll.delay-3 { transition-delay: 300ms; }
@media (prefers-reduced-motion: reduce) {
    body.cosmic-scope .animate-on-scroll,
    body.cosmic-scope .cosmic-reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    body.cosmic-scope .header { padding: 16px !important; }
    body.cosmic-scope .header-container { padding: 8px 16px !important; }
    body.cosmic-scope .nav-list { display: none; }
    body.cosmic-scope .hero .container,
    body.cosmic-scope .hero .hero-container { padding: 140px 20px 16px !important; }
    body.cosmic-scope .hero h1 { font-size: clamp(48px, 13vw, 96px) !important; }
    body.cosmic-scope .hero .hero-buttons { width: 100%; }
    body.cosmic-scope .hero .btn-primary,
    body.cosmic-scope .hero .btn-outline { width: 100%; text-align: center; min-height: 48px; }
    body.cosmic-scope .cosa-facciamo,
    body.cosmic-scope .chi-siamo,
    body.cosmic-scope .servizio-main,
    body.cosmic-scope .ecosistema,
    body.cosmic-scope .metodologia,
    body.cosmic-scope .trasformazione-valore,
    body.cosmic-scope .team,
    body.cosmic-scope .clienti,
    body.cosmic-scope .blog-section,
    body.cosmic-scope .cta-section,
    body.cosmic-scope .ebook-section { padding: 80px 0; }
    body.cosmic-scope .servizio-visual { aspect-ratio: 4/3; }
    .cosmic-featured-overlay { padding: 18px; }
    .cosmic-featured-card { padding: 20px; }
}

/* Touch targets minimi */
body.cosmic-scope a,
body.cosmic-scope button { min-height: 44px; }
body.cosmic-scope .footer a,
body.cosmic-scope .nav-link,
body.cosmic-scope .footer-policy-links a,
body.cosmic-scope .blog-cta,
body.cosmic-scope .dropdown-menu a { min-height: 0; }

/* === cosmic-light.css === */
/* ════════════════════════════════════════════════════════════════════════════
   FINHANCE — COSMIC LIGHT v2
   Tema chiaro, hero col video, nav esterna con scroll effect ghiaccio,
   card frosted con bordo verde fluo al hover, titoli navy.
═════════════════════════════════════════════════════════════════════════════ */

:root {
    --ink-100: #1E2761;      /* navy brand */
    --ink-90:  rgba(30, 39, 97, 0.92);
    --ink-80:  rgba(11, 11, 15, 0.84);
    --ink-70:  rgba(11, 11, 15, 0.7);
    --ink-60:  rgba(11, 11, 15, 0.55);
    --ink-50:  rgba(11, 11, 15, 0.42);
    --line:    rgba(30, 39, 97, 0.1);
    --line-strong: rgba(30, 39, 97, 0.2);
    --neon: #07F968;
    --neon-soft: rgba(7, 249, 104, 0.18);
    --neon-glow: rgba(7, 249, 104, 0.45);
    --glass-fill: rgba(255, 255, 255, 0.72);
    --glass-fill-strong: rgba(255, 255, 255, 0.88);
}

html { background: var(--cream); }
body.cosmic-scope { background: var(--cream); color: var(--ink-80); font-family: var(--font-body); }

/* ═══ ANGOLI QUADRATI 100% — niente border-radius da nessuna parte ═══ */
:root,
body.cosmic-scope {
    --radius-sm: 0px !important;
    --radius-md: 0px !important;
    --radius-lg: 0px !important;
    --radius-xl: 0px !important;
    --radius-2xl: 0px !important;
    --radius-pill: 0px !important;
}
body.cosmic-scope *,
body.cosmic-scope *::before,
body.cosmic-scope *::after { border-radius: 0 !important; }

/* I form input mantengono squared anche su autofill */
body.cosmic-scope input,
body.cosmic-scope textarea,
body.cosmic-scope select,
body.cosmic-scope button { border-radius: 0 !important; }

body.cosmic-scope section,
body.cosmic-scope .bg-white { background: var(--white) !important; }
body.cosmic-scope .bg-cream { background: var(--cream) !important; }

/* La hero resta nera (il video sta sotto) */
body.cosmic-scope .hero,
body.cosmic-scope .hero.bg-black { background: var(--black) !important; }

/* ═══ NO-HERO PAGES — pagine senza hero scura: tutto leggibile su sfondo chiaro ═══ */
body.cosmic-scope.no-hero-page { background: #fff !important; padding-top: 80px; }
body.cosmic-scope.no-hero-page main,
body.cosmic-scope.no-hero-page .container,
body.cosmic-scope.no-hero-page section { background: transparent; }

body.cosmic-scope.no-hero-page h1,
body.cosmic-scope.no-hero-page h2,
body.cosmic-scope.no-hero-page h3,
body.cosmic-scope.no-hero-page h4,
body.cosmic-scope.no-hero-page h5,
body.cosmic-scope.no-hero-page h6 {
    color: var(--ink-100) !important;
    font-family: var(--font-display) !important;
    text-shadow: none !important;
}
body.cosmic-scope.no-hero-page p,
body.cosmic-scope.no-hero-page li,
body.cosmic-scope.no-hero-page span,
body.cosmic-scope.no-hero-page td,
body.cosmic-scope.no-hero-page th,
body.cosmic-scope.no-hero-page label,
body.cosmic-scope.no-hero-page blockquote {
    color: var(--ink-80) !important;
    text-shadow: none !important;
}
body.cosmic-scope.no-hero-page strong,
body.cosmic-scope.no-hero-page b { color: var(--ink-100) !important; }
body.cosmic-scope.no-hero-page a:not(.btn):not(.header-cta):not(.footer-v3-pill):not(.footer-v3-linkedin):not(.nav-link):not(.logo-link):not(.mobile-menu-link) {
    color: var(--ink-100) !important;
}
body.cosmic-scope.no-hero-page a:not(.btn):not(.header-cta):not(.footer-v3-pill):hover { color: var(--neon) !important; }

/* Sezioni hero specifiche delle pagine secondarie (article-hero, blog-hero, ecc.) */
body.cosmic-scope.no-hero-page .article-hero,
body.cosmic-scope.no-hero-page .blog-hero,
body.cosmic-scope.no-hero-page .ebook-hero,
body.cosmic-scope.no-hero-page .legal-hero,
body.cosmic-scope.no-hero-page .person-hero,
body.cosmic-scope.no-hero-page .thankyou-hero {
    background: var(--cream) !important;
    color: var(--ink-100) !important;
    padding: 60px 0 40px;
}
body.cosmic-scope.no-hero-page .article-hero h1,
body.cosmic-scope.no-hero-page .blog-hero h1,
body.cosmic-scope.no-hero-page .ebook-hero h1,
body.cosmic-scope.no-hero-page .legal-hero h1,
body.cosmic-scope.no-hero-page .person-hero h1,
body.cosmic-scope.no-hero-page .thankyou-hero h1 { color: var(--ink-100) !important; }

/* Article body (blog articoli): testo scuro garantito */
body.cosmic-scope.no-hero-page .article-body h2,
body.cosmic-scope.no-hero-page .article-body h3,
body.cosmic-scope.no-hero-page .article-body h4 { color: var(--ink-100) !important; }
body.cosmic-scope.no-hero-page .article-body p,
body.cosmic-scope.no-hero-page .article-body li { color: var(--ink-80) !important; }

/* Sidebar */
body.cosmic-scope.no-hero-page .sidebar-box {
    background: var(--cream) !important;
    border: 1px solid var(--line) !important;
    color: var(--ink-100) !important;
}
body.cosmic-scope.no-hero-page .sidebar-box h5 { color: var(--ink-100) !important; }
body.cosmic-scope.no-hero-page .sidebar-box p { color: var(--ink-80) !important; }
body.cosmic-scope.no-hero-page .sidebar-box a { color: var(--ink-100) !important; }

/* Article quote / CFO tip */
body.cosmic-scope.no-hero-page .article-quote,
body.cosmic-scope.no-hero-page .cfo-tip {
    background: var(--cream) !important;
    border-left: 3px solid var(--neon) !important;
    color: var(--ink-100) !important;
}
body.cosmic-scope.no-hero-page .cfo-tip-label { color: var(--neon) !important; }

/* Breadcrumb */
body.cosmic-scope.no-hero-page .article-breadcrumb,
body.cosmic-scope.no-hero-page .article-breadcrumb a,
body.cosmic-scope.no-hero-page .article-breadcrumb span { color: var(--ink-60) !important; }

/* Card generiche di pagine secondarie */
body.cosmic-scope.no-hero-page .card {
    background: #fff !important;
    border: 1px solid var(--line) !important;
    color: var(--ink-100) !important;
}

/* Article cat + date + reading time */
body.cosmic-scope.no-hero-page .article-cat,
body.cosmic-scope.no-hero-page .article-date,
body.cosmic-scope.no-hero-page .article-reading-time { color: var(--ink-60) !important; }
body.cosmic-scope.no-hero-page .article-cat { background: rgba(7,249,104,0.12); color: #04822F !important; padding: 4px 10px; border-radius: 0 !important; font-size: 11px; }

/* ═══ TIPOGRAFIA — titoli NAVY su sezioni chiare ═══ */
body.cosmic-scope h1,
body.cosmic-scope h2,
body.cosmic-scope h3,
body.cosmic-scope h4,
body.cosmic-scope h5,
body.cosmic-scope h6 {
    font-family: var(--font-display) !important;
    color: var(--ink-100) !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
}

/* Scala titoli — H2 sezioni con più presenza, H1 hero più grande, card titoli leggibili */
body.cosmic-scope h1 { font-size: clamp(36px, 4.4vw, 60px) !important; line-height: 1.12 !important; }
body.cosmic-scope h2,
body.cosmic-scope .cosa-facciamo h2,
body.cosmic-scope .chi-siamo h2,
body.cosmic-scope .servizio-main h2,
body.cosmic-scope .galassia h2,
body.cosmic-scope .team h2,
body.cosmic-scope .clienti h2,
body.cosmic-scope .blog-section h2,
body.cosmic-scope .cta-section h2,
body.cosmic-scope .ebook-section h2 {
    color: var(--ink-100) !important;
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
    font-size: clamp(30px, 3.4vw, 48px) !important;
    letter-spacing: -0.02em !important;
    line-height: 1.14 !important;
    margin-bottom: 14px;
}
body.cosmic-scope h3 { font-size: clamp(20px, 1.8vw, 24px) !important; line-height: 1.25 !important; }

/* Kicker inline: label integrata dentro al titolo (riga sopra più piccola e regular) */
body.cosmic-scope .kicker-inline {
    display: block;
    font-style: normal !important;
    font-weight: 500 !important;
    font-family: var(--font-display) !important;
    font-size: 0.46em !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    color: var(--ink-60) !important;
    margin-bottom: 0.3em;
}
body.cosmic-scope h4,
body.cosmic-scope .cf-card h4,
body.cosmic-scope .card h4,
body.cosmic-scope .team-card h4,
body.cosmic-scope .blog-card h4 {
    color: var(--ink-100) !important;
    font-weight: 600 !important;
    font-size: clamp(17px, 1.2vw, 20px) !important;
    line-height: 1.28 !important;
    letter-spacing: -0.01em !important;
}
body.cosmic-scope h5 { color: var(--ink-60) !important; font-family: var(--font-ui) !important; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }

body.cosmic-scope p, body.cosmic-scope li, body.cosmic-scope span { color: var(--ink-80); }
body.cosmic-scope strong { color: var(--ink-100); font-weight: 600; }

body.cosmic-scope .subtitle,
body.cosmic-scope .cf-intro,
body.cosmic-scope .tv-sub,
body.cosmic-scope .ebook-desc { color: var(--ink-70) !important; font-family: var(--font-body) !important; }

/* Highlight verde brand — italic + bold ovunque */
body.cosmic-scope .highlight {
    color: var(--neon) !important;
    font-style: italic !important;
    font-weight: 700 !important;
    font-family: var(--font-display) !important;
    background: transparent !important;
}
body.cosmic-scope .highlight::after { display: none !important; }

/* Hero highlight: bianco italic bold + sotto-linea asteroide animato */
body.cosmic-scope .hero h1 .highlight {
    color: #fff !important;
    font-weight: 700 !important;
    font-style: italic !important;
    position: relative;
    display: inline-block;
}
body.cosmic-scope .hero h1 .highlight::after {
    display: block !important;
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0.04em;
    height: 3px;
    background: linear-gradient(90deg,
        rgba(7,249,104,0) 0%,
        rgba(7,249,104,0.45) 10%,
        var(--neon) 50%,
        rgba(7,249,104,0.45) 90%,
        rgba(7,249,104,0) 100%);
    border-radius: 0 !important;
    overflow: visible;
}
/* Asteroide che corre lungo la sottolineatura */
body.cosmic-scope .hero h1 .highlight::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: calc(0.04em - 5px);
    width: 14px;
    height: 14px;
    border-radius: 0 !important;
    background: #d6ffe6;
    box-shadow:
        0 0 12px rgba(7,249,104,0.95),
        0 0 28px rgba(7,249,104,0.7),
        0 0 56px rgba(7,249,104,0.4);
    animation: asteroide 2.6s linear infinite;
    pointer-events: none;
}
@keyframes asteroide {
    0%   { left: -2%;  transform: scale(1);   opacity: 0; }
    8%   { opacity: 1; }
    50%  { transform: scale(1.15); }
    92%  { opacity: 1; }
    100% { left: 102%; transform: scale(1);   opacity: 0; }
}
/* Scia luminosa dietro l'asteroide */
body.cosmic-scope .hero h1 .highlight {
    background-image: linear-gradient(transparent, transparent); /* reset */
}

/* ═══ NAV — pillola flottante in apertura, fascia sottile su scroll ═══ */
body.cosmic-scope .header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 14px 18px !important;
    background: transparent !important;
    transition: padding 320ms var(--ease-soft);
}
body.cosmic-scope .header-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px 18px 10px 22px !important;
    border-radius: 0 !important;
    background: rgba(20,20,40,0.32) !important;
    -webkit-backdrop-filter: saturate(180%) blur(22px) !important;
    backdrop-filter: saturate(180%) blur(22px) !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
    box-shadow: 0 10px 36px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.28) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transition: padding 320ms var(--ease-soft), background 320ms ease, box-shadow 320ms ease, border-color 320ms ease, border-radius 320ms ease, max-width 320ms ease, min-height 320ms ease;
    overflow: visible !important;
    min-height: 56px;
}
body.cosmic-scope .header-container::before { display: none !important; }

/* Logo PNG aziendale, nessun filter */
body.cosmic-scope .logo {
    max-height: 36px;
    width: auto;
    filter: none !important;
    display: block;
    transition: max-height 320ms var(--ease-soft);
}

/* APERTURA — nav sopra il video: testi bianchi */
body.cosmic-scope .header:not(.scrolled) .nav-link,
body.cosmic-scope .header:not(.scrolled) .logo-link { color: #fff !important; font-weight: 500; }
body.cosmic-scope .header:not(.scrolled) .nav-link:hover { color: var(--neon) !important; }
body.cosmic-scope .header:not(.scrolled) .mobile-toggle span { background: #fff !important; }
body.cosmic-scope .header:not(.scrolled) .header-cta {
    background: #fff !important;
    color: var(--ink-100) !important;
    border: 1px solid #fff !important;
    padding: 9px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
}
body.cosmic-scope .header:not(.scrolled) .header-cta:hover {
    background: var(--neon) !important;
    color: #062E14 !important;
    border-color: var(--neon) !important;
    box-shadow: 0 0 0 4px rgba(7,249,104,0.25);
}

/* SCROLLED — fascia full-width sottile attaccata al top */
body.cosmic-scope .header.scrolled { padding: 0 !important; }
body.cosmic-scope .header.scrolled .header-container {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 28px !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(30,39,97,0.08) !important;
    background: rgba(255,255,255,0.88) !important;
    -webkit-backdrop-filter: saturate(180%) blur(22px) !important;
    backdrop-filter: saturate(180%) blur(22px) !important;
    box-shadow: 0 6px 22px rgba(30,39,97,0.08) !important;
    min-height: 44px;
}
body.cosmic-scope .header.scrolled .logo { max-height: 24px; }
body.cosmic-scope .header.scrolled .nav-link,
body.cosmic-scope .header.scrolled .logo-link { color: var(--ink-100) !important; font-weight: 500; font-size: 13px; }
body.cosmic-scope .header.scrolled .nav-link:hover { color: var(--neon) !important; }
body.cosmic-scope .header.scrolled .mobile-toggle span { background: var(--ink-100) !important; }
body.cosmic-scope .header.scrolled .header-cta {
    background: var(--ink-100) !important;
    color: #fff !important;
    border: 1px solid var(--ink-100) !important;
    padding: 7px 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
}
body.cosmic-scope .header.scrolled .header-cta:hover {
    background: var(--neon) !important;
    color: #062E14 !important;
    border-color: var(--neon) !important;
}
body.cosmic-scope .nav-list { display: flex; gap: 26px; align-items: center; margin: 0; padding: 0; list-style: none; }

body.cosmic-scope .dropdown-menu {
    background: var(--glass-fill-strong) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid var(--line) !important;
    box-shadow: 0 10px 24px rgba(30,39,97,0.12) !important;
    border-radius: 0 !important;
}
body.cosmic-scope .dropdown-menu a { color: var(--ink-80) !important; }
body.cosmic-scope .dropdown-menu a:hover { color: var(--neon) !important; background: rgba(7,249,104,0.08) !important; }

body.cosmic-scope .mobile-menu { background: var(--white) !important; }
body.cosmic-scope .mobile-menu-link { color: var(--ink-100) !important; }

/* ═══ BUTTONS — effetto frosted/ghiaccio + bordo neon al hover ═══ */
body.cosmic-scope .btn {
    font-family: var(--font-ui);
    font-weight: 600;
    border-radius: 0 !important;
    transition: border-color 240ms var(--ease-soft), box-shadow 240ms var(--ease-soft), transform 240ms var(--ease-soft), background 240ms ease, color 240ms ease;
    position: relative;
    overflow: hidden;
}
body.cosmic-scope .btn-primary {
    background: var(--neon) !important;
    color: #062E14 !important;
    border: 1px solid var(--neon) !important;
    padding: 13px 28px !important;
    box-shadow: 0 8px 28px rgba(7,249,104,0.28);
}
body.cosmic-scope .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(7,249,104,0.45), 0 0 0 4px rgba(7,249,104,0.18);
}
body.cosmic-scope .btn-outline {
    background: var(--glass-fill) !important;
    -webkit-backdrop-filter: blur(10px) saturate(140%) !important;
    backdrop-filter: blur(10px) saturate(140%) !important;
    color: var(--ink-100) !important;
    border: 1px solid var(--line-strong) !important;
    padding: 12px 26px !important;
}
body.cosmic-scope .btn-outline::before { display: none !important; }
body.cosmic-scope .btn-outline:hover {
    border-color: var(--neon) !important;
    color: var(--ink-100) !important;
    box-shadow: 0 0 0 1px var(--neon), 0 0 22px var(--neon-soft);
    transform: translateY(-2px);
}

/* Hero: outline più chiaro su nero */
body.cosmic-scope .hero .btn-outline {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
}
body.cosmic-scope .hero .btn-outline:hover {
    border-color: var(--neon) !important;
    box-shadow: 0 0 0 1px var(--neon), 0 0 24px var(--neon-glow);
}

/* CTA del menu in pillola */
body.cosmic-scope .header-cta {
    background: var(--ink-100) !important;
    color: #fff !important;
    padding: 9px 18px !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    border: 1px solid var(--ink-100) !important;
    transition: all 240ms ease;
}
body.cosmic-scope .header-cta:hover {
    background: var(--neon) !important;
    color: #062E14 !important;
    border-color: var(--neon) !important;
    box-shadow: 0 0 0 4px var(--neon-soft);
}

/* ═══ HERO 3-zone: testo alto, vuoto centro, CTA basso ═══ */
body.cosmic-scope .hero { height: 100vh; min-height: 600px; max-height: 880px; padding: 0 !important; position: relative; }
body.cosmic-scope .cosmic-hero-stage { position: absolute; inset: 0; overflow: hidden; }
body.cosmic-scope .cosmic-hero-stage video { width: 100%; height: 100%; object-fit: cover; }
/* Vignette per leggibilità testo */
body.cosmic-scope .cosmic-hero-stage::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.1) 65%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}
body.cosmic-scope .hero-3zone-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 110px 24px 60px !important;
}
body.cosmic-scope .hero-top { text-align: center; max-width: 980px; margin: 0 auto; }
body.cosmic-scope .hero-bottom { display: flex; justify-content: center; padding-bottom: 16px; }

body.cosmic-scope .hero h1 {
    color: #fff !important;
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
    font-size: clamp(36px, 4.2vw, 56px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.025em !important;
    margin: 0 auto 22px !important;
    max-width: 820px;
}
body.cosmic-scope .hero .hero-subtitle {
    color: rgba(255,255,255,0.95) !important;
    font-family: var(--font-display) !important;
    font-weight: 500 !important;
    font-size: clamp(24px, 2.7vw, 38px) !important;
    line-height: 1.32 !important;
    max-width: 880px;
    margin: 0 auto !important;
    letter-spacing: -0.01em;
}
body.cosmic-scope .hero .hero-subtitle strong { color: #fff !important; }
body.cosmic-scope .hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 768px) {
    body.cosmic-scope .hero-3zone-container { padding: 100px 20px 40px !important; }
    body.cosmic-scope .hero h1 { font-size: clamp(28px, 7vw, 40px) !important; max-width: 100%; }
    body.cosmic-scope .hero .hero-subtitle { font-size: clamp(16px, 4vw, 20px) !important; }
}

/* ═══ SECTION SPACING ═══ */
body.cosmic-scope .cosa-facciamo,
body.cosmic-scope .chi-siamo,
body.cosmic-scope .servizio-main,
body.cosmic-scope .galassia,
body.cosmic-scope .team,
body.cosmic-scope .clienti,
body.cosmic-scope .blog-section,
body.cosmic-scope .cta-section,
body.cosmic-scope .ebook-section { padding: 88px 0 !important; }

@media (max-width: 768px) {
    body.cosmic-scope .cosa-facciamo,
    body.cosmic-scope .chi-siamo,
    body.cosmic-scope .servizio-main,
    body.cosmic-scope .galassia,
    body.cosmic-scope .team,
    body.cosmic-scope .clienti,
    body.cosmic-scope .blog-section,
    body.cosmic-scope .cta-section,
    body.cosmic-scope .ebook-section { padding: 56px 0 !important; }
}

/* ═══ COSA FACCIAMO — full-width 6 card ═══ */
body.cosmic-scope .cf-header { text-align: center; margin-bottom: 48px; }
body.cosmic-scope .cf-eyebrow { color: var(--ink-60) !important; font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
body.cosmic-scope .cf-grid-6-wide {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px;
}
@media (max-width: 900px) { body.cosmic-scope .cf-grid-6-wide { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 560px) { body.cosmic-scope .cf-grid-6-wide { grid-template-columns: 1fr !important; } }

/* ═══ CARD GHIACCIO + bordo verde fluo all'hover (uniforme ovunque) ═══ */
body.cosmic-scope .card,
body.cosmic-scope .cf-card,
body.cosmic-scope .card-cream,
body.cosmic-scope .team-card,
body.cosmic-scope .blog-card,
body.cosmic-scope .cliente-box {
    background: linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.55) 100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
    backdrop-filter: blur(14px) saturate(140%) !important;
    border: 1px solid var(--line) !important;
    border-radius: 0 !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 24px rgba(30,39,97,0.05);
    transition: border-color 260ms var(--ease-soft), box-shadow 260ms var(--ease-soft), transform 260ms var(--ease-soft), background 260ms ease;
    padding: 22px !important;
    position: relative;
}
body.cosmic-scope .cf-card::before { display: none !important; }
body.cosmic-scope .card:hover,
body.cosmic-scope .cf-card:hover,
body.cosmic-scope .card-cream:hover,
body.cosmic-scope .team-card:hover,
body.cosmic-scope .blog-card:hover,
body.cosmic-scope .cliente-box:hover {
    border-color: var(--neon) !important;
    box-shadow: 0 0 0 1px var(--neon), 0 0 24px var(--neon-glow), 0 0 60px var(--neon-soft);
    transform: translateY(-3px);
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(247,255,250,0.78) 100%) !important;
}
body.cosmic-scope .cf-card h4,
body.cosmic-scope .card h4 { color: var(--ink-100) !important; transition: color 240ms ease; margin: 12px 0 8px; }
body.cosmic-scope .cf-card p,
body.cosmic-scope .card p { color: var(--ink-70) !important; }

/* Icone in verde fluo */
body.cosmic-scope .cf-card-icon,
body.cosmic-scope .card svg:not(.dropdown-chevron):not(.team-link svg):not(.social-link svg),
body.cosmic-scope .ebook-check svg { stroke: var(--neon) !important; }
body.cosmic-scope .cf-card-icon {
    stroke-width: 1.8 !important;
    width: 28px; height: 28px;
    filter: drop-shadow(0 0 6px var(--neon-soft));
    transition: filter 240ms ease, transform 240ms ease;
}
body.cosmic-scope .cf-card:hover .cf-card-icon { filter: drop-shadow(0 0 14px var(--neon-glow)); transform: translateY(-2px); }

body.cosmic-scope a.cf-card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; cursor: pointer; }
body.cosmic-scope a.cf-card-link:hover h4 { color: var(--neon) !important; }

/* ═══ CHI SIAMO ═══ */
body.cosmic-scope .chi-siamo-main { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { body.cosmic-scope .chi-siamo-main { grid-template-columns: 1fr; gap: 32px; } }
body.cosmic-scope .chi-siamo-image { border-radius: 0 !important; overflow: hidden; border: 1px solid var(--line); }
body.cosmic-scope .chi-siamo-image video { display: block; width: 100%; height: 100%; object-fit: cover; }
body.cosmic-scope .chi-siamo-content h2 { margin-bottom: 18px; }
body.cosmic-scope .chi-siamo-content p { color: var(--ink-80) !important; font-size: 16px; line-height: 1.7; margin-bottom: 14px; }

/* ═══ CHI SIAMO — FULL-BLEED video bici con overlay editoriale + parallax ═══ */
body.cosmic-scope .chi-siamo-fullbleed {
    padding: 0 !important;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
    background: #000;
    overflow: hidden;
}
body.cosmic-scope .chi-siamo-stage {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    max-height: 1100px;
    overflow: hidden;
}
body.cosmic-scope .chi-siamo-bg {
    position: absolute;
    inset: -10% 0;
    height: 120%;
    will-change: transform;
    transform: translateY(0);
    transition: transform 100ms linear;
}
body.cosmic-scope .chi-siamo-bg video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
body.cosmic-scope .chi-siamo-stage::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 20%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.75) 100%),
        radial-gradient(ellipse at 30% 80%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
    z-index: 2;
}
body.cosmic-scope .chi-siamo-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 80px clamp(24px, 6vw, 96px);
}
body.cosmic-scope .chi-siamo-text {
    max-width: 720px;
    color: #fff;
}
body.cosmic-scope .chi-siamo-text .cf-eyebrow {
    color: rgba(255,255,255,0.7) !important;
    margin-bottom: 14px;
}
body.cosmic-scope .chi-siamo-text h2 {
    color: #fff !important;
    font-size: clamp(32px, 4vw, 56px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 24px !important;
    font-weight: 600 !important;
    font-family: var(--font-display) !important;
}
body.cosmic-scope .chi-siamo-text h2 .highlight {
    color: #fff !important;
    font-style: italic !important;
    font-weight: 700 !important;
    position: relative;
    display: inline-block;
}
body.cosmic-scope .chi-siamo-text h2 .highlight::after {
    display: block !important;
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0.04em;
    height: 3px;
    background: linear-gradient(90deg,
        rgba(7,249,104,0) 0%,
        rgba(7,249,104,0.45) 10%,
        var(--neon) 50%,
        rgba(7,249,104,0.45) 90%,
        rgba(7,249,104,0) 100%);
    border-radius: 0 !important;
}
body.cosmic-scope .chi-siamo-text h2 .highlight::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: calc(0.04em - 5px);
    width: 14px;
    height: 14px;
    border-radius: 0 !important;
    background: #d6ffe6;
    box-shadow: 0 0 12px rgba(7,249,104,0.95), 0 0 28px rgba(7,249,104,0.7), 0 0 56px rgba(7,249,104,0.4);
    animation: asteroide 2.6s linear infinite;
    pointer-events: none;
}
body.cosmic-scope .chi-siamo-lead {
    color: rgba(255,255,255,0.92) !important;
    font-size: clamp(16px, 1.3vw, 19px) !important;
    line-height: 1.55 !important;
    margin: 0 0 14px !important;
    max-width: 640px;
    font-family: var(--font-body) !important;
}
body.cosmic-scope .chi-siamo-lead strong { color: #fff !important; font-weight: 600; }

@media (max-width: 768px) {
    body.cosmic-scope .chi-siamo-stage { height: 92vh; min-height: 560px; }
    body.cosmic-scope .chi-siamo-overlay { padding: 60px 22px; align-items: center; }
}
body.cosmic-scope .cosmic-featured-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 28px;
}
body.cosmic-scope .cosmic-featured-card {
    background: var(--glass-fill-strong) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
    backdrop-filter: blur(14px) saturate(140%) !important;
    border: 1px solid var(--line) !important;
    border-radius: 0 !important;
    padding: 20px 22px;
    max-width: 480px;
    color: var(--ink-100) !important;
}
body.cosmic-scope .cosmic-featured-card .label { color: var(--ink-60) !important; font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
body.cosmic-scope .cosmic-featured-card p { color: var(--ink-80) !important; margin: 0; font-size: 15px; line-height: 1.55; }

/* ═══ GALASSIA — FinHance centro + competenze in orbita ═══ */
body.cosmic-scope .galassia-header { text-align: center; margin-bottom: 48px; max-width: 760px; margin-left: auto; margin-right: auto; }
body.cosmic-scope .galaxy-stage {
    position: relative;
    width: min(880px, 100%);
    height: min(880px, 100vw);
    margin: 0 auto;
    --orbit-radius: 320px;
}
body.cosmic-scope .galaxy-ring {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 0 !important;
    border: 1px dashed var(--line);
    transform: translate(-50%, -50%);
    pointer-events: none;
}
body.cosmic-scope .galaxy-ring-1 { width: 180px; height: 180px; border-color: rgba(7,249,104,0.3); }
body.cosmic-scope .galaxy-ring-2 { width: 440px; height: 440px; border-color: rgba(30,39,97,0.14); }
body.cosmic-scope .galaxy-ring-3 { width: 760px; height: 760px; border-color: rgba(30,39,97,0.08); }

body.cosmic-scope .galaxy-orbit {
    position: absolute;
    inset: 0;
    animation: galaxy-spin 80s linear infinite;
}
body.cosmic-scope .galaxy-orbit-outer { animation-duration: 80s; }
@keyframes galaxy-spin { to { transform: rotate(360deg); } }

body.cosmic-scope .galaxy-item {
    position: absolute;
    top: 50%; left: 50%;
    width: 200px;
    transform:
        translate(-50%, -50%)
        rotate(var(--angle))
        translateY(calc(var(--orbit-radius) * -1))
        rotate(calc(var(--angle) * -1));
}
body.cosmic-scope .galaxy-item-inner {
    background: var(--glass-fill-strong);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid var(--line);
    border-radius: 0 !important;
    padding: 14px 16px;
    box-shadow: 0 6px 18px rgba(30,39,97,0.08);
    text-align: center;
    animation: galaxy-counter 80s linear infinite;
    transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease, background 240ms ease;
}
body.cosmic-scope .galaxy-item-inner:hover {
    border-color: var(--neon);
    box-shadow: 0 0 0 1px var(--neon), 0 0 24px var(--neon-glow);
    transform: scale(1.05);
    background: rgba(247,255,250,0.95);
}
@keyframes galaxy-counter { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

body.cosmic-scope .galaxy-dot {
    width: 8px; height: 8px; border-radius: 0 !important;
    background: var(--neon);
    margin: 0 auto 8px;
    box-shadow: 0 0 12px var(--neon-glow);
}
body.cosmic-scope .galaxy-item-inner strong { display: block; color: var(--ink-100); font-family: var(--font-display); font-size: 14px; font-weight: 600; margin-bottom: 6px; line-height: 1.25; }
body.cosmic-scope .galaxy-item-inner p { font-size: 12px; line-height: 1.45; color: var(--ink-70); margin: 0; }

body.cosmic-scope .galaxy-core {
    position: absolute;
    top: 50%; left: 50%;
    width: 180px; height: 180px;
    transform: translate(-50%, -50%);
    border-radius: 0 !important;
    background: transparent;
    border: none;
    display: flex; align-items: center; justify-content: center;
    z-index: 5;
}
body.cosmic-scope .galaxy-core-logo { width: 110px; height: auto; }
body.cosmic-scope .galaxy-core-mark { width: 150px; height: 150px; display: block; }
body.cosmic-scope .galaxy-core-pulse {
    position: absolute; inset: 0; border-radius: 0 !important;
    border: 2px solid var(--neon);
    opacity: 0;
    animation: galaxy-pulse 3s ease-out infinite;
}
body.cosmic-scope .galaxy-core-pulse-2 { animation-delay: 1.5s; }
@keyframes galaxy-pulse {
    0%   { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

@media (max-width: 900px) {
    body.cosmic-scope .galaxy-stage { --orbit-radius: 230px; width: 100%; height: 600px; }
    body.cosmic-scope .galaxy-ring-1 { width: 130px; height: 130px; }
    body.cosmic-scope .galaxy-ring-2 { width: 320px; height: 320px; }
    body.cosmic-scope .galaxy-ring-3 { width: 540px; height: 540px; }
    body.cosmic-scope .galaxy-item { width: 160px; }
    body.cosmic-scope .galaxy-item-inner { padding: 10px 12px; }
    body.cosmic-scope .galaxy-item-inner strong { font-size: 13px; }
    body.cosmic-scope .galaxy-item-inner p { font-size: 11px; }
    body.cosmic-scope .galaxy-core { width: 120px; height: 120px; }
    body.cosmic-scope .galaxy-core-logo { width: 72px; }
}
@media (max-width: 560px) {
    body.cosmic-scope .galaxy-stage { --orbit-radius: 170px; height: 500px; }
    body.cosmic-scope .galaxy-ring-1 { width: 110px; height: 110px; }
    body.cosmic-scope .galaxy-ring-2 { width: 240px; height: 240px; }
    body.cosmic-scope .galaxy-ring-3 { width: 380px; height: 380px; }
    body.cosmic-scope .galaxy-item { width: 130px; }
}

/* ═══ TEAM ═══ */
body.cosmic-scope .team-card { padding: 28px 22px !important; text-align: left; }
body.cosmic-scope .team-photo-wrapper { border-radius: 0 !important; overflow: hidden; background: #fff; margin-bottom: 16px; }
body.cosmic-scope .team-photo {
    width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #fff; display: block;
    filter: none !important;
    mix-blend-mode: normal !important;
}
body.cosmic-scope .team-card:hover .team-photo { filter: none !important; }
body.cosmic-scope .team-card h4 { font-size: 20px; margin: 0 0 4px; }
body.cosmic-scope .team-role { color: var(--ink-60) !important; font-size: 13px; font-family: var(--font-ui); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 12px; }
body.cosmic-scope .team-bio { color: var(--ink-80) !important; font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
body.cosmic-scope .team-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--ink-100) !important;
    text-decoration: none;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 13px;
    padding: 7px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 0 !important;
    transition: all 220ms ease;
}
body.cosmic-scope .team-link svg { fill: var(--ink-100); transition: fill 220ms ease; }
body.cosmic-scope .team-link:hover {
    color: var(--neon) !important;
    border-color: var(--neon);
    box-shadow: 0 0 0 1px var(--neon), 0 0 18px var(--neon-soft);
}
body.cosmic-scope .team-link:hover svg { fill: var(--neon); }

/* ═══ CLIENTI ═══ */
body.cosmic-scope .cliente-box {
    padding: 22px 18px !important;
    text-align: center;
    font-family: var(--font-ui);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink-100) !important;
    font-size: 14px;
}

/* ═══ BLOG ═══ */
body.cosmic-scope .blog-card { padding: 0 !important; overflow: hidden; }
body.cosmic-scope .blog-card-inner { padding: 24px; }
body.cosmic-scope .blog-card h4 { color: var(--ink-100) !important; font-size: 18px !important; line-height: 1.3 !important; margin: 12px 0; }
body.cosmic-scope .blog-card p { color: var(--ink-70) !important; font-size: 14px; line-height: 1.55; }
body.cosmic-scope .blog-card-top { display: flex; justify-content: space-between; align-items: center; }
body.cosmic-scope .blog-cat {
    background: rgba(7,249,104,0.15);
    color: #04822F !important;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 0 !important;
    border: 1px solid rgba(7,249,104,0.35);
}
body.cosmic-scope .blog-date { color: var(--ink-60) !important; font-size: 12px; font-family: var(--font-ui); }
body.cosmic-scope .blog-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-100) !important; font-family: var(--font-ui); font-weight: 600; font-size: 13px; margin-top: 14px; }
body.cosmic-scope .blog-cta svg { stroke: var(--ink-100); transition: transform 220ms ease, stroke 220ms ease; }
body.cosmic-scope .blog-card:hover .blog-cta { color: var(--neon) !important; }
body.cosmic-scope .blog-card:hover .blog-cta svg { stroke: var(--neon); transform: translateX(4px); }
body.cosmic-scope .blog-all-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--ink-100) !important;
    font-family: var(--font-ui); font-weight: 600;
    text-decoration: none;
    padding: 9px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 0 !important;
    transition: all 220ms ease;
}
body.cosmic-scope .blog-all-link:hover { border-color: var(--neon); color: var(--neon) !important; box-shadow: 0 0 0 1px var(--neon), 0 0 18px var(--neon-soft); }

/* ═══ EBOOK — rimpicciolito in larghezza ═══ */
body.cosmic-scope .ebook-section { background: var(--cream) !important; }
body.cosmic-scope .ebook-section .container { max-width: 980px !important; }
body.cosmic-scope .ebook-inner { gap: 40px !important; }
body.cosmic-scope .ebook-book-wrap { max-width: 280px; }
body.cosmic-scope .ebook-copy { max-width: 560px; }
body.cosmic-scope .ebook-input {
    background: #fff !important;
    color: var(--ink-100) !important;
    border: 1px solid var(--line-strong) !important;
    padding: 12px 16px;
    border-radius: 0 !important;
}
body.cosmic-scope .ebook-point { color: var(--ink-80) !important; }
body.cosmic-scope .ebook-eyebrow { color: var(--ink-60) !important; }
body.cosmic-scope .ebook-privacy { color: var(--ink-60) !important; }

/* ═══ CONTATTI (cta-section) — nomi visibili + hover verdi ═══ */
body.cosmic-scope .cta-section h2 { color: var(--ink-100) !important; }
body.cosmic-scope .cta-section p { color: var(--ink-80) !important; }
body.cosmic-scope .cta-contact-item {
    display: flex; align-items: center; gap: 14px;
    color: var(--ink-100);
    background: var(--glass-fill);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    border-radius: 0 !important;
    padding: 12px 14px;
    margin-bottom: 10px;
}
body.cosmic-scope .cta-contact-item img { width: 48px; height: 48px; border-radius: 0 !important; object-fit: cover; background: #fff; }
body.cosmic-scope .cta-contact-item strong { color: var(--ink-100) !important; font-family: var(--font-display); font-weight: 600; display: block; font-size: 15px; }
body.cosmic-scope .cta-contact-item span { color: var(--ink-60) !important; font-size: 13px; font-family: var(--font-ui); }
body.cosmic-scope .cta-contact-links { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
body.cosmic-scope .cta-contact-links a {
    color: var(--ink-100) !important;
    text-decoration: none;
    font-family: var(--font-ui);
    font-weight: 500;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 0 !important;
    transition: all 220ms ease;
    position: relative;
}
body.cosmic-scope .cta-contact-links a { display: flex !important; align-items: center; }
body.cosmic-scope .cta-contact-links a:hover {
    color: var(--neon) !important;
    border-color: var(--neon);
    background: rgba(7,249,104,0.06);
    box-shadow: 0 0 0 1px var(--neon), 0 0 18px var(--neon-soft);
}

/* ═══ FOOTER v3 — equilibrato, 4 colonne, legal bar minimale ═══ */
body.cosmic-scope .footer-v3 {
    background: var(--cream) !important;
    color: var(--ink-80) !important;
    padding: 72px 0 28px;
    border-top: 1px solid var(--line);
}
body.cosmic-scope .footer-v3 .container { padding: 0 24px; max-width: var(--container-wide); }

body.cosmic-scope .footer-v3-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}
@media (max-width: 960px) {
    body.cosmic-scope .footer-v3-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
    body.cosmic-scope .footer-v3-grid { grid-template-columns: 1fr; gap: 32px; }
}

body.cosmic-scope .footer-v3-brand { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
body.cosmic-scope .footer-v3-logo { width: 140px; height: auto; display: block; }
body.cosmic-scope .footer-v3-claim {
    color: var(--ink-80) !important;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin: 0;
}
body.cosmic-scope .footer-v3-linkedin {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 42px; height: 42px;
    border-radius: 0 !important;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-100) !important;
    transition: all 220ms ease;
    margin-top: 4px;
}
body.cosmic-scope .footer-v3-linkedin svg { fill: var(--ink-100) !important; transition: fill 220ms ease; }
body.cosmic-scope .footer-v3-linkedin:hover {
    color: var(--neon) !important;
    border-color: var(--neon);
    box-shadow: 0 0 0 1px var(--neon), 0 0 18px var(--neon-soft);
}
body.cosmic-scope .footer-v3-linkedin:hover svg { fill: var(--neon) !important; }

body.cosmic-scope .footer-v3-col { display: flex; flex-direction: column; gap: 10px; }
body.cosmic-scope .footer-v3-col h5 {
    color: var(--ink-100) !important;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 6px;
}
body.cosmic-scope .footer-v3-col a {
    color: var(--ink-80) !important;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 200ms ease;
}
body.cosmic-scope .footer-v3-col a:hover { color: var(--neon) !important; }

body.cosmic-scope .footer-v3-pill {
    display: inline-block;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 0 !important;
    background: #fff;
    color: var(--ink-100) !important;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 13px;
    transition: all 220ms ease;
    width: fit-content;
}
body.cosmic-scope .footer-v3-pill:hover {
    border-color: var(--neon);
    color: var(--neon) !important;
    box-shadow: 0 0 0 1px var(--neon), 0 0 16px var(--neon-soft);
}

body.cosmic-scope .footer-v3-legal {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
body.cosmic-scope .footer-v3-legal p {
    color: var(--ink-60) !important;
    font-family: var(--font-ui);
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: center;
}
body.cosmic-scope .footer-v3-legal p strong { color: var(--ink-100) !important; font-weight: 700; }
body.cosmic-scope .footer-v3-legal p span { color: var(--ink-40) !important; }
body.cosmic-scope .footer-v3-legal p a { color: var(--ink-60) !important; text-decoration: none; }
body.cosmic-scope .footer-v3-legal p a:hover { color: var(--neon) !important; }
@media (max-width: 560px) {
    body.cosmic-scope .footer-v3-legal p span { display: none; }
}

/* Nascondo vecchio footer-light / footer-dark se ancora presenti */
body.cosmic-scope .footer-light:not(.footer-v3),
body.cosmic-scope .footer-dark:not(.footer-v3) { display: none; }

/* ═══ FOOTER CHIARO RIDISEGNATO (vecchio, sopravvive solo su pagine non v3) ═══ */
body.cosmic-scope .footer.footer-light,
body.cosmic-scope .footer-dark { background: var(--cream) !important; color: var(--ink-80) !important; padding: 80px 0 28px; }
body.cosmic-scope .footer-light .container { padding: 0 24px; }

body.cosmic-scope .footer-hero {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-bottom: 56px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--line);
}
body.cosmic-scope .footer-logo-xl {
    width: 280px;
    height: auto;
    flex-shrink: 0;
    display: block;
}
body.cosmic-scope .footer-claim {
    color: var(--ink-80) !important;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.32;
    letter-spacing: -0.015em;
    margin: 0;
    max-width: 620px;
}
@media (max-width: 720px) {
    body.cosmic-scope .footer-hero { flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 36px; margin-bottom: 32px; }
    body.cosmic-scope .footer-logo-xl { width: 180px; }
}

body.cosmic-scope .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 48px;
    margin-bottom: 40px;
}
@media (max-width: 900px) { body.cosmic-scope .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { body.cosmic-scope .footer-grid { grid-template-columns: 1fr; } }

body.cosmic-scope .footer-brand p { color: var(--ink-70) !important; max-width: 320px; margin: 14px 0; font-size: 14px; line-height: 1.55; }
body.cosmic-scope .footer-logo-large { max-height: 36px; width: auto; filter: none; }

body.cosmic-scope .footer-light h5,
body.cosmic-scope .footer-dark h5 {
    color: var(--ink-100) !important;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
body.cosmic-scope .footer-light ul,
body.cosmic-scope .footer-dark ul { list-style: none; padding: 0; margin: 0; }
body.cosmic-scope .footer-light li,
body.cosmic-scope .footer-dark li { margin-bottom: 8px; }
body.cosmic-scope .footer-light a,
body.cosmic-scope .footer-dark a {
    color: var(--ink-80) !important;
    text-decoration: none;
    font-size: 14px;
    transition: color 200ms ease;
}
body.cosmic-scope .footer-light a:hover,
body.cosmic-scope .footer-dark a:hover { color: var(--neon) !important; }

body.cosmic-scope .footer-coordinate p { color: var(--ink-70) !important; font-size: 13px; line-height: 1.5; margin: 0 0 8px; }

body.cosmic-scope .footer-contact-list { margin-top: 16px !important; }
body.cosmic-scope .footer-contact-link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 0 !important;
    background: var(--glass-fill);
    transition: all 220ms ease;
    text-decoration: none;
}
body.cosmic-scope .fcl-label { display: none !important; }
body.cosmic-scope .fcl-action { display: none !important; }
body.cosmic-scope .fcl-value { color: var(--ink-100) !important; font-weight: 600; font-size: 14px; font-family: var(--font-ui); }
body.cosmic-scope .footer-contact-link:hover {
    border-color: var(--neon);
    background: rgba(7,249,104,0.06);
    box-shadow: 0 0 0 1px var(--neon), 0 0 18px var(--neon-soft);
}
body.cosmic-scope .footer-contact-link:hover .fcl-value { color: var(--neon) !important; }

body.cosmic-scope .footer-social { margin-top: 18px; display: flex; gap: 10px; }
body.cosmic-scope .footer-social a.social-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    color: var(--ink-100) !important;
    width: 42px; height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 0 !important;
    background: var(--glass-fill);
    text-decoration: none;
    transition: all 220ms ease;
}
body.cosmic-scope .footer-social a.social-link span { display: none; }
body.cosmic-scope .footer-social a.social-link svg {
    fill: var(--ink-100) !important;
    width: 18px; height: 18px;
    transition: fill 220ms ease;
}
body.cosmic-scope .footer-social a.social-link:hover {
    color: var(--neon) !important;
    border-color: var(--neon);
    background: rgba(7,249,104,0.08);
    box-shadow: 0 0 0 1px var(--neon), 0 0 18px var(--neon-soft);
}
body.cosmic-scope .footer-social a.social-link:hover svg { fill: var(--neon) !important; }

/* Footer legal bar — fascia compatta in fondo */
body.cosmic-scope .footer-legal-bar { border-top: 1px solid var(--line); padding-top: 24px; }
body.cosmic-scope .footer-legal-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    color: var(--ink-70) !important;
    font-family: var(--font-ui);
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 16px;
}
body.cosmic-scope .footer-legal-name { color: var(--ink-100) !important; font-weight: 700; }
body.cosmic-scope .footer-legal-sep { color: var(--ink-50) !important; }
body.cosmic-scope .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-top: none;
    padding-top: 0;
}
body.cosmic-scope .footer-bottom p { color: var(--ink-60) !important; font-size: 12px; margin: 0; }
@media (max-width: 700px) {
    body.cosmic-scope .footer-legal-line { font-size: 12px; }
    body.cosmic-scope .footer-legal-sep { display: none; }
}

body.cosmic-scope .footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
body.cosmic-scope .footer-bottom p { color: var(--ink-60) !important; font-size: 13px; margin: 0; }
body.cosmic-scope .footer-policy-links { display: flex; gap: 16px; }

/* ═══ TIMELINE/ROADMAP — riusato dalla pagina cfo-fractional ═══ */
body.cosmic-scope .rm-step .rm-sq { background: var(--cream) !important; border: 1px solid var(--line) !important; color: var(--ink-100) !important; }
body.cosmic-scope .rm-step.act .rm-sq { background: var(--ink-100) !important; color: #fff !important; border-color: var(--ink-100) !important; }
body.cosmic-scope .rm-stit { color: var(--ink-80) !important; }
body.cosmic-scope .rm-tooltip { background: var(--glass-fill-strong) !important; border: 1px solid var(--line) !important; color: var(--ink-100) !important; box-shadow: 0 10px 40px rgba(30,39,97,0.1); }
body.cosmic-scope .rm-tooltip strong { color: var(--ink-100) !important; }
body.cosmic-scope .rm-tooltip p { color: var(--ink-70) !important; }
body.cosmic-scope .tt-tag { background: var(--cream) !important; color: var(--ink-80) !important; border: 1px solid var(--line) !important; }

/* ═══ STELLE INTERATTIVE CANVAS ═══ */
body.cosmic-scope #cosmic-stars-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}
/* Le sezioni stanno sopra il canvas */
body.cosmic-scope section,
body.cosmic-scope header,
body.cosmic-scope footer { position: relative; z-index: 2; }
body.cosmic-scope .hero { z-index: 3; }

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE PAGE (cfo-fractional, controllo-di-gestione, m-a-advisory, ...)
   Stile chiaro, contrasti pieni, nessuna immagine cosmica disturbante.
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope.service-page { background: #fff; padding-top: 0; }

body.cosmic-scope.service-page .service-hero {
    background: var(--cream);
    padding: 140px 0 80px;
    border-bottom: 1px solid var(--line);
}
body.cosmic-scope.service-page .service-hero .container { max-width: 1100px; }
body.cosmic-scope.service-page .service-hero-eyebrow {
    color: var(--ink-60) !important;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 18px;
}
body.cosmic-scope.service-page .service-hero h1 {
    color: var(--ink-100) !important;
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
    font-size: clamp(36px, 5vw, 64px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 22px !important;
    max-width: 920px;
}
body.cosmic-scope.service-page .service-hero h1 .highlight {
    color: var(--neon) !important;
    font-style: italic !important;
    font-weight: 700 !important;
    background: transparent !important;
}
body.cosmic-scope.service-page .service-hero h1 .highlight::after { display: none !important; }
body.cosmic-scope.service-page .service-hero-lead {
    color: var(--ink-80) !important;
    font-family: var(--font-body) !important;
    font-size: clamp(17px, 1.4vw, 21px) !important;
    line-height: 1.55 !important;
    max-width: 820px;
    margin: 0 0 32px !important;
}
body.cosmic-scope.service-page .service-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

body.cosmic-scope.service-page .service-section { padding: 88px 0; }
body.cosmic-scope.service-page .service-section-white { background: #fff; }
body.cosmic-scope.service-page .service-section-cream { background: var(--cream); }
body.cosmic-scope.service-page .service-section + .service-section { border-top: 1px solid var(--line); }

body.cosmic-scope.service-page .service-container-narrow { max-width: 920px !important; }

body.cosmic-scope.service-page .service-section h2 {
    color: var(--ink-100) !important;
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
    font-size: clamp(28px, 3vw, 42px) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 16px !important;
}
body.cosmic-scope.service-page .service-section h2 .highlight {
    color: var(--neon) !important;
    font-style: italic !important;
    font-weight: 700 !important;
    background: transparent !important;
}
body.cosmic-scope.service-page .service-lead {
    color: var(--ink-70) !important;
    font-size: clamp(16px, 1.2vw, 18px) !important;
    line-height: 1.55 !important;
    max-width: 760px;
    margin: 0 0 36px !important;
}

/* QUANDO SERVE: grid 2x2 */
body.cosmic-scope.service-page .service-when-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
body.cosmic-scope.service-page .service-when-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 24px;
    transition: border-color 220ms, box-shadow 220ms, transform 220ms;
}
body.cosmic-scope.service-page .service-when-card:hover {
    border-color: var(--neon);
    box-shadow: 0 0 0 1px var(--neon), 0 0 20px var(--neon-soft);
    transform: translateY(-2px);
}
body.cosmic-scope.service-page .service-when-card h4 {
    color: var(--ink-100) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 0 8px !important;
    font-family: var(--font-display) !important;
}
body.cosmic-scope.service-page .service-when-card p {
    color: var(--ink-70) !important;
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
}

/* MODELLO: 3 card grandi con stat */
body.cosmic-scope.service-page .service-model-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
body.cosmic-scope.service-page .service-model-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px 24px;
    transition: border-color 220ms, box-shadow 220ms;
}
body.cosmic-scope.service-page .service-model-card:hover {
    border-color: var(--neon);
    box-shadow: 0 0 0 1px var(--neon), 0 0 20px var(--neon-soft);
}
body.cosmic-scope.service-page .service-model-stat {
    color: var(--neon) !important;
    font-family: var(--font-display);
    font-weight: 700;
    font-style: italic;
    font-size: clamp(40px, 4vw, 56px);
    line-height: 1;
    margin-bottom: 14px;
}
body.cosmic-scope.service-page .service-model-card h4 {
    color: var(--ink-100) !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    margin: 0 0 8px !important;
}
body.cosmic-scope.service-page .service-model-card p {
    color: var(--ink-70) !important;
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

/* FAQ: details/summary native, eleganti */
body.cosmic-scope.service-page .service-faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0; padding: 0; }
body.cosmic-scope.service-page .service-faq-item {
    background: #fff;
    border: 1px solid var(--line);
    transition: border-color 220ms;
}
body.cosmic-scope.service-page .service-faq-item:hover { border-color: rgba(7,249,104,0.4); }
body.cosmic-scope.service-page .service-faq-item[open] { border-color: var(--neon); }
body.cosmic-scope.service-page .service-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 24px;
    color: var(--ink-100);
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
body.cosmic-scope.service-page .service-faq-item summary::-webkit-details-marker { display: none; }
body.cosmic-scope.service-page .service-faq-item summary::after {
    content: '+';
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: 24px;
    color: var(--neon);
    transition: transform 220ms;
    line-height: 1;
}
body.cosmic-scope.service-page .service-faq-item[open] summary::after { content: '−'; }
body.cosmic-scope.service-page .service-faq-item p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--ink-80);
    font-size: 15px;
    line-height: 1.65;
}

/* METODO (rm-track): rendi i numerini visibili su chiaro */
body.cosmic-scope.service-page .service-method .rm-track { padding-top: 32px; }
body.cosmic-scope.service-page .service-method .rm-step .rm-sq {
    background: #fff !important;
    border: 1px solid var(--line) !important;
    color: var(--ink-100) !important;
}
body.cosmic-scope.service-page .service-method .rm-step.act .rm-sq {
    background: var(--ink-100) !important;
    color: #fff !important;
    border-color: var(--ink-100) !important;
}
body.cosmic-scope.service-page .service-method .rm-stit { color: var(--ink-80) !important; }

/* CTA contatti su service-page: garantire contrasti */
body.cosmic-scope.service-page .cta-section { background: var(--cream) !important; padding: 80px 0; }
body.cosmic-scope.service-page .cta-section h2 { color: var(--ink-100) !important; }
body.cosmic-scope.service-page .cta-section h2 .highlight { color: var(--neon) !important; }
body.cosmic-scope.service-page .cta-section p { color: var(--ink-80) !important; }
body.cosmic-scope.service-page .cta-contact-item { background: #fff !important; border: 1px solid var(--line) !important; }

/* MOBILE service-page */
@media (max-width: 768px) {
    body.cosmic-scope.service-page .service-hero { padding: 100px 18px 56px; }
    body.cosmic-scope.service-page .service-hero h1 { font-size: clamp(28px, 7vw, 42px) !important; }
    body.cosmic-scope.service-page .service-hero-lead { font-size: 16px !important; }
    body.cosmic-scope.service-page .service-section { padding: 56px 0; }
    body.cosmic-scope.service-page .service-when-grid,
    body.cosmic-scope.service-page .service-model-grid { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BIO PAGE (chi-siamo/chiara, chi-siamo/mattia)
   Pulizia contrasti, foto header a colori, sezioni alternate cream/white
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope.bio-page { background: #fff !important; }

body.cosmic-scope.bio-page .hero,
body.cosmic-scope.bio-page section.hero { background: var(--cream) !important; }
body.cosmic-scope.bio-page .hero h1,
body.cosmic-scope.bio-page .hero p,
body.cosmic-scope.bio-page .hero .hero-subtitle { color: var(--ink-100) !important; }
body.cosmic-scope.bio-page .hero .hero-subtitle { color: var(--ink-80) !important; font-size: 19px !important; line-height: 1.5 !important; }

body.cosmic-scope.bio-page .hero .article-breadcrumb,
body.cosmic-scope.bio-page .hero .article-breadcrumb a,
body.cosmic-scope.bio-page .hero .article-breadcrumb span { color: var(--ink-60) !important; }
body.cosmic-scope.bio-page .hero .article-breadcrumb a:hover { color: var(--neon) !important; }

/* Foto bio header: rimuovo filter grayscale, mostro a colori */
body.cosmic-scope.bio-page .hero-image img,
body.cosmic-scope.bio-page .hero-visual img {
    filter: none !important;
    border: 1px solid var(--line);
    background: #fff;
}

/* Stat boxes nel hero bio */
body.cosmic-scope.bio-page .hero .hero-content > div[style*="grid"] > div {
    background: #fff !important;
    border: 1px solid var(--line) !important;
    border-radius: 0 !important;
}

/* Sezioni bio */
body.cosmic-scope.bio-page section.bg-white { background: #fff !important; padding-block: 80px; }
body.cosmic-scope.bio-page section.bg-cream { background: var(--cream) !important; padding-block: 80px; border-block: 1px solid var(--line); }

body.cosmic-scope.bio-page h1,
body.cosmic-scope.bio-page h2 { color: var(--ink-100) !important; font-family: var(--font-display) !important; font-weight: 600 !important; }
body.cosmic-scope.bio-page h1 { font-size: clamp(36px, 4.6vw, 56px) !important; letter-spacing: -0.02em !important; line-height: 1.08 !important; }
body.cosmic-scope.bio-page h2 { font-size: clamp(26px, 2.8vw, 38px) !important; line-height: 1.18 !important; letter-spacing: -0.02em !important; margin-bottom: 18px !important; }
body.cosmic-scope.bio-page h2 .highlight,
body.cosmic-scope.bio-page h1 .highlight { color: var(--neon) !important; font-style: italic !important; font-weight: 700 !important; }
body.cosmic-scope.bio-page h2 .highlight::after,
body.cosmic-scope.bio-page h1 .highlight::after { display: none !important; }

body.cosmic-scope.bio-page p,
body.cosmic-scope.bio-page li,
body.cosmic-scope.bio-page span { color: var(--ink-80) !important; }
body.cosmic-scope.bio-page strong { color: var(--ink-100) !important; }
body.cosmic-scope.bio-page .subtitle { color: var(--ink-70) !important; }

body.cosmic-scope.bio-page .cf-eyebrow {
    color: var(--ink-60) !important;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body.cosmic-scope.bio-page .article-quote {
    background: var(--cream) !important;
    border-left: 3px solid var(--neon) !important;
    padding: 24px 28px;
    border-radius: 0 !important;
}
body.cosmic-scope.bio-page .article-quote p { color: var(--ink-100) !important; font-family: var(--font-display); font-style: italic; font-size: 18px; }
body.cosmic-scope.bio-page .article-quote cite { color: var(--ink-60) !important; font-style: normal; font-size: 13px; }

/* Cards in bio (ecosistema-grid) */
body.cosmic-scope.bio-page .card {
    background: #fff !important;
    border: 1px solid var(--line) !important;
    border-radius: 0 !important;
    padding: 22px !important;
    transition: border-color 220ms, box-shadow 220ms, transform 220ms;
}
body.cosmic-scope.bio-page .card:hover {
    border-color: var(--neon) !important;
    box-shadow: 0 0 0 1px var(--neon), 0 0 20px var(--neon-soft);
    transform: translateY(-2px);
}
body.cosmic-scope.bio-page .card h4 { color: var(--ink-100) !important; font-size: 17px !important; margin: 0 0 8px !important; }
body.cosmic-scope.bio-page .card p { color: var(--ink-70) !important; font-size: 14px; line-height: 1.55; margin: 0; }

/* Links */
body.cosmic-scope.bio-page a:not(.btn):not(.header-cta):not(.footer-v3-pill):not(.nav-link):not(.logo-link):not(.mobile-menu-link) { color: var(--ink-100) !important; }
body.cosmic-scope.bio-page a:not(.btn):not(.header-cta):not(.footer-v3-pill):hover { color: var(--neon) !important; }

/* CTA prenota: cta-section background cream */
body.cosmic-scope.bio-page .cta-section { background: var(--cream) !important; padding: 80px 0; }
body.cosmic-scope.bio-page .cta-contact-item { background: #fff !important; border: 1px solid var(--line) !important; }

/* Mobile bio */
@media (max-width: 768px) {
    body.cosmic-scope.bio-page .hero { padding: 96px 18px 40px !important; }
    body.cosmic-scope.bio-page .hero-container { display: flex; flex-direction: column-reverse; gap: 24px; }
    body.cosmic-scope.bio-page .hero-visual { order: -1; display: flex; justify-content: center; }
    body.cosmic-scope.bio-page .hero-image { max-width: 220px !important; margin: 0 auto; }
    body.cosmic-scope.bio-page section.bg-white,
    body.cosmic-scope.bio-page section.bg-cream { padding-block: 48px; }
    body.cosmic-scope.bio-page .ecosistema-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG: titoli ridotti, related-grid pulito, box scuri con testo bianco
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope.no-hero-page .blog-card h4,
body.cosmic-scope .blog-card h4 {
    font-size: clamp(17px, 1.25vw, 21px) !important;
    line-height: 1.28 !important;
    font-weight: 600 !important;
}
body.cosmic-scope.no-hero-page .related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}
body.cosmic-scope.no-hero-page .related-grid > * h4,
body.cosmic-scope.no-hero-page .related-grid h3,
body.cosmic-scope.no-hero-page .related-grid h4 {
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}

/* Box scuri (es. sidebar-cta-assessment con sfondo navy/black) — forziamo
   testo bianco quando lo sfondo e' scuro */
body.cosmic-scope.no-hero-page .sidebar-cta-assessment,
body.cosmic-scope.no-hero-page [class*="dark"] {
    background: var(--ink-100) !important;
    color: #fff !important;
}
body.cosmic-scope.no-hero-page .sidebar-cta-assessment h5,
body.cosmic-scope.no-hero-page .sidebar-cta-assessment p,
body.cosmic-scope.no-hero-page .sidebar-cta-assessment * { color: #fff !important; }
body.cosmic-scope.no-hero-page .sidebar-cta-assessment .btn,
body.cosmic-scope.no-hero-page .sidebar-cta-assessment a.btn {
    background: var(--neon) !important;
    color: #062E14 !important;
    border-color: var(--neon) !important;
}

/* Blog hero (pagina /blog/) titoli ridotti */
body.cosmic-scope.no-hero-page .blog-hero h1 { font-size: clamp(32px, 4vw, 52px) !important; line-height: 1.1 !important; }

/* Articolo correlati titoli normali */
body.cosmic-scope.no-hero-page .related-section h3 { font-size: clamp(22px, 2vw, 28px) !important; }
body.cosmic-scope.no-hero-page .related-section .blog-card { padding: 16px !important; }
body.cosmic-scope.no-hero-page .related-section .blog-card h4 { font-size: 15px !important; }
body.cosmic-scope.no-hero-page .related-section .blog-card p { font-size: 13px !important; }

@media (max-width: 768px) {
    body.cosmic-scope.no-hero-page .related-grid { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SFONDO ALTERNATO SEZIONI HOME — cream/white con separator
═══════════════════════════════════════════════════════════════════════════ */
body.cosmic-scope .bg-cream,
body.cosmic-scope section.bg-cream { background: var(--cream) !important; }
body.cosmic-scope .bg-white,
body.cosmic-scope section.bg-white { background: #fff !important; }
/* Separator linea sottile tra sezioni */
body.cosmic-scope > section + section,
body.cosmic-scope main > section + section { border-top: 1px solid var(--line); }
body.cosmic-scope .chi-siamo-fullbleed,
body.cosmic-scope .servizio-main { border-top: none !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE TUNING
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* HERO: padding ridotto, layout 3-zone più compatto */
    body.cosmic-scope .hero { min-height: 0 !important; height: 100svh; max-height: none; }
    body.cosmic-scope .hero-3zone-container { padding: 96px 18px 32px !important; gap: 12px; }
    body.cosmic-scope .hero h1 { font-size: clamp(26px, 7vw, 36px) !important; max-width: 100%; margin: 0 auto 14px !important; }
    body.cosmic-scope .hero .hero-subtitle { font-size: clamp(15px, 4vw, 19px) !important; max-width: 100%; }
    body.cosmic-scope .hero-buttons { gap: 10px; }
    body.cosmic-scope .hero-buttons .btn { flex: 1 1 auto; min-height: 44px; padding: 12px 18px !important; font-size: 13px !important; }

    /* HEADER: nav-pill ridotta, padding contenuto */
    body.cosmic-scope .header { padding: 10px 12px !important; }
    body.cosmic-scope .header-container { padding: 8px 12px 8px 16px !important; min-height: 48px; gap: 8px; }
    body.cosmic-scope .header-cta { padding: 8px 14px !important; font-size: 12px !important; }
    body.cosmic-scope .header.scrolled .header-container { padding: 8px 14px !important; }

    /* Mobile menu pillole touch-friendly */
    body.cosmic-scope .mobile-menu { background: #fff !important; padding-top: 100px !important; }
    body.cosmic-scope .mobile-menu-link { min-height: 48px; display: flex !important; align-items: center; font-size: 16px !important; padding: 10px 18px !important; }
    body.cosmic-scope .mobile-menu-cta .btn { min-height: 48px; width: 100%; justify-content: center; }

    /* CHI SIAMO fullbleed */
    body.cosmic-scope .chi-siamo-stage { height: 100svh; min-height: 540px; max-height: 760px; }
    body.cosmic-scope .chi-siamo-overlay { padding: 56px 20px !important; align-items: flex-end !important; }
    body.cosmic-scope .chi-siamo-text { max-width: 100%; }
    body.cosmic-scope .chi-siamo-text h2 { font-size: clamp(24px, 6.5vw, 36px) !important; line-height: 1.18 !important; }
    body.cosmic-scope .chi-siamo-lead { font-size: 15px !important; line-height: 1.5 !important; }

    /* SERVIZI 6 card: 1 colonna pulita */
    body.cosmic-scope .cosa-facciamo, body.cosmic-scope .cosa-facciamo-full { padding: 56px 0 !important; }
    body.cosmic-scope .cf-header { margin-bottom: 28px; padding: 0 18px; }
    body.cosmic-scope .cf-grid-6-wide, body.cosmic-scope .cf-grid-6 { grid-template-columns: 1fr !important; gap: 14px !important; padding: 0 18px; }
    body.cosmic-scope .cf-card { padding: 18px !important; }

    /* GALASSIA: orbita riproporzionata, item più piccoli */
    body.cosmic-scope .galassia { padding: 56px 0 !important; }
    body.cosmic-scope .galassia-header { padding: 0 20px; margin-bottom: 32px; }
    body.cosmic-scope .galaxy-stage { width: calc(100% - 36px); aspect-ratio: 1; height: auto !important; max-height: 520px; --orbit-radius: 38%; margin: 0 auto; }
    body.cosmic-scope .galaxy-item { width: 38%; }
    body.cosmic-scope .galaxy-item-inner { padding: 8px 10px; border-radius: 0 !important; }
    body.cosmic-scope .galaxy-item-inner strong { font-size: 11px !important; line-height: 1.2 !important; margin-bottom: 3px; }
    body.cosmic-scope .galaxy-item-inner p { font-size: 10px !important; line-height: 1.3 !important; }
    body.cosmic-scope .galaxy-core { width: 88px; height: 88px; }
    body.cosmic-scope .galaxy-core-mark { width: 70px; height: 70px; }

    /* TEAM: 1 colonna full-width più leggibile */
    body.cosmic-scope .team-4col { grid-template-columns: 1fr !important; gap: 18px !important; padding: 0 18px; }
    body.cosmic-scope .team-card { padding: 18px !important; }
    body.cosmic-scope .team-photo-wrapper { max-width: 240px; margin: 0 auto 14px; }

    /* CLIENTI 1 colonna stack */
    body.cosmic-scope .clienti-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; padding: 0 18px; }
    body.cosmic-scope .cliente-box { padding: 18px 12px !important; font-size: 12px; }

    /* BLOG cards stack */
    body.cosmic-scope .blog-section { padding: 56px 0 !important; }
    body.cosmic-scope .blog-grid { grid-template-columns: 1fr !important; gap: 14px !important; padding: 0 18px; }
    body.cosmic-scope .blog-card-inner { padding: 18px; }
    body.cosmic-scope .blog-card h4 { font-size: 16px !important; }
    body.cosmic-scope .blog-card p { font-size: 13px !important; }
    body.cosmic-scope .blog-header { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 18px; }
    body.cosmic-scope .blog-section h2 { font-size: clamp(24px, 6.5vw, 32px) !important; }

    /* EBOOK section più compatta */
    body.cosmic-scope .ebook-section .container { padding: 0 18px; }
    body.cosmic-scope .ebook-inner { flex-direction: column !important; gap: 24px !important; align-items: center; }
    body.cosmic-scope .ebook-book-wrap { max-width: 220px; }
    body.cosmic-scope .ebook-copy { max-width: 100%; text-align: center; }
    body.cosmic-scope .ebook-points { align-items: flex-start; }
    body.cosmic-scope .ebook-form-row { flex-direction: column; gap: 10px; align-items: stretch; }
    body.cosmic-scope .ebook-btn { min-height: 48px; justify-content: center; }
    body.cosmic-scope .ebook-input { min-height: 48px; }

    /* CONTATTI assessment */
    body.cosmic-scope .cta-section { padding: 56px 0 !important; }
    body.cosmic-scope .cta-container { grid-template-columns: 1fr !important; gap: 24px !important; padding: 0 18px; }
    body.cosmic-scope .cta-calendar iframe { width: 100% !important; height: 580px !important; }

    /* FOOTER pulito */
    body.cosmic-scope .footer-v3 { padding: 56px 0 24px; }
    body.cosmic-scope .footer-v3 .container { padding: 0 18px; }
    body.cosmic-scope .footer-v3-grid { grid-template-columns: 1fr !important; gap: 28px !important; margin-bottom: 32px; }
    body.cosmic-scope .footer-v3-brand { max-width: 100%; }
    body.cosmic-scope .footer-v3-logo { width: 120px; }
    body.cosmic-scope .footer-v3-claim { font-size: 15px; }
    body.cosmic-scope .footer-v3-pill { min-height: 44px; display: flex; align-items: center; justify-content: center; }
    body.cosmic-scope .footer-v3-legal p { font-size: 11px; }

    /* TOUCH TARGETS — tutti i bottoni almeno 44px */
    body.cosmic-scope .btn { min-height: 44px; padding: 11px 20px; }

    /* SCROLL stability — riduce padding orizzontale eccessivo */
    body.cosmic-scope .container { padding-left: 18px; padding-right: 18px; }

    /* ARTICLE BODY: respiro lettura su mobile */
    body.cosmic-scope.no-hero-page .article-layout { grid-template-columns: 1fr !important; gap: 32px !important; padding: 0 18px; }
    body.cosmic-scope.no-hero-page .article-body { padding: 0 !important; max-width: 100%; }
    body.cosmic-scope.no-hero-page .article-body h2 { font-size: clamp(22px, 5.5vw, 28px) !important; margin-top: 28px !important; }
    body.cosmic-scope.no-hero-page .article-body h3 { font-size: clamp(18px, 4.8vw, 22px) !important; }
    body.cosmic-scope.no-hero-page .article-body p { font-size: 16px !important; line-height: 1.65 !important; }
    body.cosmic-scope.no-hero-page .article-body li { font-size: 16px !important; line-height: 1.6 !important; }
    body.cosmic-scope.no-hero-page .article-hero h1 { font-size: clamp(26px, 6.8vw, 36px) !important; }
    body.cosmic-scope.no-hero-page .article-hero { padding: 90px 18px 32px !important; }
    body.cosmic-scope.no-hero-page .article-cat-row { flex-wrap: wrap; gap: 8px; }
    body.cosmic-scope.no-hero-page .sidebar-box { padding: 18px !important; }
    body.cosmic-scope.no-hero-page .cfo-tip { padding: 18px !important; }
    body.cosmic-scope.no-hero-page .article-quote { padding: 18px !important; }
    body.cosmic-scope.no-hero-page .related-grid { grid-template-columns: 1fr !important; }

    /* Padding top per pagine no-hero (compensare nav fissa) */
    body.cosmic-scope.no-hero-page { padding-top: 60px; }

    /* Video sezioni: rimuovo autoplay implicito su mobile via CSS (non si può ma riduco priorità visiva) */
    body.cosmic-scope .servizio-visual { height: 60vh !important; min-height: 380px; }

    /* Cosa facciamo: tolgo padding ulteriore se il container ne ha già */
    body.cosmic-scope .cf-full { padding: 0 !important; }
}

/* PICCOLO MOBILE 360 */
@media (max-width: 380px) {
    body.cosmic-scope .hero h1 { font-size: clamp(22px, 7vw, 30px) !important; }
    body.cosmic-scope .hero .hero-subtitle { font-size: 14px !important; }
    body.cosmic-scope .galaxy-item-inner strong { font-size: 10px !important; }
    body.cosmic-scope .galaxy-item-inner p { display: none; }
    body.cosmic-scope .galaxy-core { width: 76px; height: 76px; }
    body.cosmic-scope .galaxy-core-mark { width: 60px; height: 60px; }
}

