:root {
    --bg: #fafafa;
    --ink: #0e0e12;
    --line: rgba(0, 0, 0, 0.06);
}

@font-face {
    font-family: 'Helvetica Neue';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/HelveticaNeueMedium.otf') format('opentype');
}

@font-face {
    font-family: 'Helvetica Neue';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/HelveticaNeueBlack.otf') format('opentype');
}


html,
body {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 500;
    background-color: var(--bg);
    color: var(--ink);
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    overflow-x: hidden;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.page-about h1,
.page-about h2,
.page-about h3,
.page-about h4,
.page-about h5,
.page-about h6,
.page-about .fw-bold,
.page-about .fw-semibold,
.page-about strong,
.page-about b,
.page-services h1,
.page-services h2,
.page-services h3,
.page-services h4,
.page-services h5,
.page-services h6,
.page-services .fw-bold,
.page-services .fw-semibold,
.page-services strong,
.page-services b,
.page-portfolio h1,
.page-portfolio h2,
.page-portfolio h3,
.page-portfolio h4,
.page-portfolio h5,
.page-portfolio h6,
.page-portfolio .fw-bold,
.page-portfolio .fw-semibold,
.page-portfolio strong,
.page-portfolio b {
    font-weight: 500 !important;
}


strong,
b {
    font-weight: 500 !important;
}

.display-6, .display-5, .display-3 {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: -0.010em;
    line-height: 1;
    /* proporzioni: molto grande su desktop, controllata su mobile */
    font-size: clamp(3.0rem, 3.0vw, 3.0rem);
}

.process-step__title, .portfolio-card__title, .stat-value {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: -0.010em;
    line-height: 1;
    /* proporzioni: molto grande su desktop, controllata su mobile */
    font-size: clamp(2.0rem, 2.0vw, 2.0rem);
}

/* --- Grid lines --- */
.hero {
    position: relative;
    overflow: hidden; /* assicura che le linee restino nella sezione */
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
    background-size: calc(100% / 4) 100%;
    pointer-events: none;
    z-index: 1;
}

/* per mantenere i contenuti visibili sopra le linee */
.hero > *:not(.hero-bg) {
    position: relative;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}


/* --- Navbar --- */
.site-navbar {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid var(--line);
}

.site-navbar .container {
    display: flex;
    align-items: center;
}

.language-switcher .dropdown-menu {
    --bs-dropdown-link-active-bg: #000;
    --bs-dropdown-link-active-color: #fff;
}

.mobile-menu__languages .btn-primary,
.mobile-menu__languages .btn-primary:hover,
.mobile-menu__languages .btn-primary:focus,
.mobile-menu__languages .btn-primary:active {
    background-color: #000;
    border-color: #000;
    color: #fff;
    box-shadow: none;
}

.mobile-menu__languages .btn-primary.disabled,
.mobile-menu__languages .btn-primary:disabled {
    background-color: #000;
    border-color: #000;
    color: #fff;
    opacity: 1;
}

.menu-toggle {
    border: 0;
    background: transparent;
    padding: 0.3rem 0.2rem;
    display: inline-flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-end;
    justify-content: center;
}

.menu-toggle-line {
    display: block;
    width: 1.8rem;
    height: 2px;
    background-color: var(--ink);
    border-radius: 999px;
    transition: transform 0.3s ease, width 0.3s ease;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
}


.navbar-nav .nav-link {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 0.8rem 1rem;
    position: relative;
    text-decoration: none;
}


/* --- Navbar Links (nuovo effetto hover) --- */
.navbar-nav .nav-link {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 0.8rem 1rem;
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.navbar-nav .nav-link::before,
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    display: block;
    border: 0 solid transparent;
    width: 0%;
    height: 0%;
    transition: all 0.5s ease;
}

.navbar-nav .nav-link::after {
    top: 0;
    left: 0;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
}

.navbar-nav .nav-link::before {
    right: 0;
    bottom: 0;
    border-bottom: 2px solid transparent;
    border-right: 2px solid transparent;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link:hover::after {
    width: 100%;
    height: 100%;
    border-color: #A6A6A6;
}

.navbar-nav .promo-link {
    color: #b8ff3d;
}

.navbar-nav .promo-link:hover,
.navbar-nav .promo-link:focus {
    color: #b8ff3d;
}

/* --- Brand logo centrale --- */
.navbar-brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.brand-logo {
    width: 100px;
    height: 100px;
    display: inline-block;
}

/* --- Pulsante Download Resume --- */
.resume-link {
    border: 1px solid var(--ink);
    border-radius: 50px;
    padding: 0.45rem 1.4rem 0.45rem 1.1rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    background-color: transparent;
}


/* --- Services page --- */
.services-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.services-hero::after {
    content: "";
    position: absolute;
    inset: 10% 5% auto;
    height: clamp(220px, 40vw, 320px);
    filter: blur(0px);
    z-index: 1;
    pointer-events: none;
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

.services-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.75rem);
    line-height: 1.05;
}

.services-hero p {
    max-width: 540px;
}

.services-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.highlight-chip {
    border: 1px solid rgba(14, 14, 18, 0.12);
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    padding: 2.2rem 1.8rem;
    border: 1px solid rgba(14, 14, 18, 0.08);
    box-shadow: 0 18px 45px -30px rgba(14, 14, 18, 0.6);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 14, 18, 0.08), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card.is-visible {
    animation: card-pop 0.8s ease both;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 25px 55px -28px rgba(14, 14, 18, 0.35);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
    color: rgba(14, 14, 18, 0.72);
}

.service-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.service-deliverables li {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background-color: rgba(14, 14, 18, 0.06);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
}

.services-marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background-color: rgba(255, 255, 255, 0.7);
    margin: 4rem 0 0;
}

.services-marquee__inner {
    display: flex;
    white-space: nowrap;
    gap: 2.5rem;
    padding: 1.3rem 0;
    animation: marquee 30s linear infinite;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.services-marquee__inner span {
    opacity: 0.6;
}

.services-cta {
    border-radius: 28px;
    border: 1px solid rgba(14, 14, 18, 0.08);
    padding: clamp(2rem, 5vw, 3rem);
    background: linear-gradient(135deg, rgba(14, 14, 18, 0.92), rgba(14, 14, 18, 0.86));
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.services-cta::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.services-cta:hover::after {
    opacity: 1;
}

.services-cta h2 {
    color: inherit;
}

.services-cta p {
    color: rgba(255, 255, 255, 0.8);
}

.floating-orb {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.2) 75%);
    mix-blend-mode: screen;
    filter: blur(0.5px);
    pointer-events: none;
    opacity: 0.7;
    transform: translate3d(0, 0, 0);
}

@keyframes card-pop {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 991.98px) {
    .services-hero {
        text-align: center;
    }

    .services-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .services-highlights {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .service-card {
        padding: 1.8rem 1.5rem;
    }

    .floating-orb {
        width: 90px;
        height: 90px;
    }
}

/* Hover */
.resume-link:hover {
    background-color: var(--ink);
    color: #fff;
    text-decoration: none;
}

.resume-link:hover::before {
    border-color: #fff;
}

body.mobile-menu-open {
    overflow: hidden;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: linear-gradient(145deg, #ffffff 0%, #f1f1f4 100%);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu__inner {
    width: 100%;
    padding: clamp(2.5rem, 8vw, 6rem) clamp(2rem, 12vw, 8rem);
    display: grid;
    grid-template-rows: auto 1fr auto;
    row-gap: clamp(2.5rem, 6vw, 4rem);
    align-items: start;
    position: relative;
    min-height: 100vh;
}

.mobile-menu__brand img {
    width: clamp(100px, 20vw, 160px);
    height: auto;
    display: block;

}

.mobile-menu__close {
    position: absolute;
    top: clamp(2.2rem, 5vw, 3rem);
    right: clamp(2rem, 5vw, 3rem);
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
}

.mobile-menu__close span {
    position: absolute;
    display: block;
    width: 1.5rem;
    height: 2px;
    background-color: var(--ink);
    border-radius: 999px;
}

.mobile-menu__close span:first-child {
    transform: rotate(45deg);
}

.mobile-menu__close span:last-child {
    transform: rotate(-45deg);
}

.mobile-menu__close:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
}

.mobile-menu__nav {
    margin: 0;
    padding: clamp(1rem, 5vw, 2.5rem) 0 0;
    display: flex;
    flex-direction: column;
    gap: clamp(1.8rem, 6vw, 3.6rem);
}

.mobile-menu__nav a {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: clamp(2.2rem, 8vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.mobile-menu__nav a:hover,
.mobile-menu__nav a:focus {
    color: #1a1a1a;
}

.mobile-menu__nav a.mobile-menu__promo {
    color: #b8ff3d;
    font-weight: 600;
    font-size: clamp(2.2rem, 7vw, 3rem);

}

.mobile-menu__nav a.mobile-menu__promo:hover,
.mobile-menu__nav a.mobile-menu__promo:focus {
    color: #b8ff3d;
}

.mobile-menu__nav a::after {
    content: '';
    font-size: 0.65em;
    line-height: 1;
    display: inline-block;
    opacity: 0;
    transform: translateY(-40%);
    transition: opacity 0.25s ease, transform 0.25s ease;
    margin-left: 0.35rem;
}

.mobile-menu__nav a.is-marked::after,
.mobile-menu__nav a:focus-visible::after {
    content: '+';
    opacity: 1;
    transform: translateY(-20%);
}

.mobile-menu__footer {
    width: 100%;
}

.mobile-menu__social {
    margin: 0;
    padding: 0;
    display: flex;
    gap: clamp(0.9rem, 3vw, 1.6rem);
}

.mobile-menu__social li {
    list-style: none;
}

.mobile-menu__social a {
    display: inline-flex;
    width: 90%;
    aspect-ratio: 1 / 1;
}

.mobile-menu__social img {
    width: 100%;
    height: 100%;
    display: block;
}

@media (min-width: 992px) {
    .mobile-menu,
    .menu-toggle {
        display: none !important;
    }
}

/* ===== HERO ===== */
.section {
    padding: min(8vh, 5rem) 0;
}

/* Grandezza e resa come mockup */
.hero-title {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.010em;
    line-height: 1;
    /* proporzioni: molto grande su desktop, controllata su mobile */
    font-size: clamp(5.0rem, 6.0vw, 6.0rem);
}

.hero-title2 {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.010em;
    line-height: 1;
    /* proporzioni: molto grande su desktop, controllata su mobile */
    font-size: clamp(3.0rem, 4.0vw, 4.0rem);
}

/* Colonna destra: foto + testo */
.hero-side {
    max-width: 360px; /* mantiene proporzione stretta come nello screen */
    text-align: start;
}

.hero-photo {
    width: 130px; /* dimensione foto come nello screen */
    height: auto;
    display: block;
    margin-left: auto; /* allineata a destra su desktop */
    opacity: 0;
}

.hero-intro {
    font-size: 0.95rem; /* testo piccolo e discreto come nello screen */
    color: #6b7280; /* grigio tenue */
}

/* ===== Responsive fine-tuning ===== */
@media (max-width: 991.98px) {
    .hero-title {
        display: flex;
        flex-direction: column;
        line-height: 0.94;
        font-size: clamp(3rem, 11vw, 7rem);
        text-align: left; /* o center se vuoi centrato */
    }

    .hero-title span {
        display: block;
    }

    .hero-title2 {
        display: flex;
        flex-direction: column;
        line-height: 0.94;
        font-size: clamp(2rem, 5vw, 5rem);
        text-align: center; /* o center se vuoi centrato */
    }

    .hero-title2 span {
        display: block;
    }

    .hero-side {
        max-width: 100%;
    }

    .hero-photo {

        width: 100px;
    }

    .hero-intro {
        max-width: 28rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: clamp(2.6rem, 13.5vw, 5.6rem);
    }

    .hero-title2 {
        font-size: clamp(1.6rem, 3vw, 3rem);
    }

    .hero-photo {
        width: 80px; /* scala come nello screen */
    }

    .hero-intro {
        font-size: 0.9rem;
    }

    .divider {
        opacity: 0
    }

}

.hero {
    position: relative;
    overflow: hidden;
}

/* Particles layer (canvas) */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0; /* sotto le grid lines */
    pointer-events: none; /* non blocca interazioni */
}

/* Grid lines sopra al canvas */
.hero::before {
    z-index: 1 !important;
}

/* Contenuti sopra tutto */
.hero > * {
    position: relative;
    z-index: 2;
}

/* Se l’utente preferisce meno motion, disattiva */
@media (prefers-reduced-motion: reduce) {
    .hero-bg {
        display: none !important;
    }
}

/* === ABOUT PAGE === */

.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero .lines-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 140px 140px;
    opacity: 0.65;
}

.about-hero {
linear-gradient(135 deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
    opacity: 0.9;
}

.about-hero .col-lg-5 {
    position: relative;
}

.eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    font-weight: 700;
    display: inline-block;
    color: var(--ink);
}

.hero-tags .tag-chip {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(14, 14, 18, 0.1);
    background: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-visual-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1fr;
}

.hero-visual {
    position: relative;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(14, 14, 18, 0.08), rgba(14, 14, 18, 0.02));
    min-height: 220px;
    padding: 1.4rem;
    display: flex;
    align-items: flex-end;
    color: rgba(14, 14, 18, 0.7);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    overflow: hidden;
}

.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.65), transparent 55%);
    opacity: 0.75;
    mix-blend-mode: screen;
}

.hero-visual-label {
    position: relative;
    z-index: 1;
}

.hero-visual.primary-slot {
    min-height: 320px;
}

.hero-visual.primary-slot {
    border: 1px dashed rgba(14, 14, 18, 0.15);
    background: rgba(255, 255, 255, 0.75);
}

@media (min-width: 768px) {
    .hero-visual.primary-slot {
        min-height: 360px;
    }
}

@media (max-width: 767.98px) {
    .page-hero.about-hero {
        text-align: center;
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .page-hero.about-hero .lines-overlay {
        display: none;
    }

    .about-hero .eyebrow {
        margin-bottom: 0.75rem;
    }

    .hero-tags {
        justify-content: center;
    }

    .hero-visual-grid {
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-visual {
        min-height: 200px;
        padding: 1.1rem;
    }

    .about-gallery .row > [class^="col-"] {
        text-align: center;
    }

    .about-values {
        border-radius: 28px;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .value-card,
    .team-card {
        padding: 1.6rem;
        letter-spacing: -1px; /* Riduce lo spazio tra i caratteri */

    }

    .about-team .text-lg-end {
        text-align: center !important;
        margin-top: 1.5rem;
    }

    .cta-panel {
        text-align: center;
        align-items: center;
    }

    .cta-panel > div:last-child {
        width: 100%;
    }

    .cta-panel .resume-link {
        width: 100%;
        justify-content: center;
    }
}

.about-hero-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.6rem 2.4rem;
    box-shadow: 0 24px 60px rgba(14, 14, 18, 0.08);
    position: relative;
    overflow: hidden;
}

.about-hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 14, 18, 0.05), transparent 60%);
    pointer-events: none;
}

.badge-year {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    background: rgba(14, 14, 18, 0.08);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.floating-badge {
    position: absolute;
    right: 8%;
    bottom: -3.5rem;
    background: #0e0e12;
    color: #ffffff;
    border-radius: 20rem;
    padding: 0.9rem 1.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: floatBadge 6s ease-in-out infinite;
}

.floating-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    display: inline-block;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.16);
}

@keyframes floatBadge {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -12px, 0);
    }
}

.manifesto-item {
    height: 100%;
    background: #ffffff;
    border-radius: 28px;
    padding: 2.8rem;
    box-shadow: 0 18px 45px rgba(14, 14, 18, 0.08);
}

.manifesto-label {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.2rem;
    color: rgba(14, 14, 18, 0.6);
}

.manifesto-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.78);
    border-radius: 22px;
    padding: 2rem;
    border: 1px solid rgba(14, 14, 18, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pillar-card h3 {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 45px rgba(14, 14, 18, 0.08);
}

.about-method {
    background: #0e0e12;
    color: #ffffff;
    border-radius: 48px 48px 0 0;
    margin-top: -2rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.about-method .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.method-steps {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.method-step {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    gap: 1.6rem;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.method-step .step-index {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.step-content h3 {
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}


.team-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.2rem;
    border: 1px solid rgba(14, 14, 18, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(14, 14, 18, 0.08);
}

.team-role {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: rgba(14, 14, 18, 0.6);
}

.team-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -1px;
}

.team-avatar {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 24px;
    margin-bottom: 1.5rem;
    background: rgba(14, 14, 18, 0.08);
    border: 1px dashed rgba(14, 14, 18, 0.12);
}

.about-gallery {
    background: #ffffff;
    border-radius: 40px;
}

.gallery-slot {
    background: rgba(14, 14, 18, 0.02);
    border-radius: 28px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.gallery-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    background: rgba(14, 14, 18, 0.06);
    border: 1px dashed rgba(14, 14, 18, 0.12);
}

.gallery-slot figcaption {
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(14, 14, 18, 0.55);
}

.section-header {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.about-values {
    background: #f4f4f4;
}

.value-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.2rem;
    border: 1px solid rgba(14, 14, 18, 0.08);
    box-shadow: 0 16px 32px rgba(14, 14, 18, 0.05);
    letter-spacing: 0.12em;
}

.value-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.value-card p {
    margin: 0;
    color: rgba(14, 14, 18, 0.66);
}

.gradient-a {
    background: linear-gradient(135deg, #ffe8d6, #fdd4a6);
}

.gradient-b {
    background: linear-gradient(135deg, #d7e8ff, #aec9ff);
}

.gradient-c {
    background: linear-gradient(135deg, #e5d8ff, #cab4ff);
}

.about-cta {
    background: #0e0e12;
    color: #ffffff;
}

.cta-panel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: clamp(2.5rem, 4vw, 3.5rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.cta-panel .resume-link {
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.cta-panel .resume-link:hover {
    color: #0e0e12 !important;
    background: #ffffff !important;
}

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }

    .about-method {
        padding-top: 6.5rem;
        padding-bottom: 6.5rem;
    }
}

@media (max-width: 991.98px) {
    .floating-badge {
        position: static;
        margin-top: 1.5rem;
        animation: none;
    }

    .about-method {
        border-radius: 36px;
    }

    .method-step {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .about-hero-card {
        padding: 2rem;
    }

    .manifesto-item {
        padding: 2.2rem;
    }

    .pillar-card {
        padding: 1.7rem;
    }
}

/* === Divider Scorrevole === */
.scroll-divider {
    background-color: #e7e7ea; /* colore simile a quello in foto */
    overflow: hidden;
    white-space: nowrap;
    padding: 1rem 0;
    border-top: 1px solid #d0d0d3;
    border-bottom: 1px solid #d0d0d3;
}

.scroll-wrapper {
    display: flex;
    width: 200%;
    animation: scrollText 25s linear infinite;
}

.scroll-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex: 1;
    gap: 2.5rem;
    font-size: 1.5rem;
    font-weight: 500;
    color: #111;
}

.scroll-content .icon {
    color: #999;
    font-style: normal;
    font-size: 1.3rem;
}

/* Icona personalizzata */
.divider-icon {
    height: 10px;
    width: auto;
    opacity: 0.6;
}

/* Effetto scorrimento */
@keyframes scrollText {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* === Responsive === */
@media (max-width: 768px) {
    .scroll-content {
        font-size: 1.1rem;
        gap: 1.2rem;
    }

    .scroll-divider {
        padding: 0.7rem 0;
    }
}


/* === About Section === */
.about-section {
    color: #111;
}

.about-photo {
    width: 70%;
    max-width: 420px;
    height: auto;
    object-fit: cover;
}

/* Testo a destra */
.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.about-quote {
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.2;
    max-width: 600px;
    color: #111;
}

/* Loghi */
.about-logos {
    border-radius: 6px;
    padding: 1rem 1.2rem;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: nowrap;
}

.about-logo {
    height: 72px;
    width: auto;
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s;
}

.about-logo:hover {
    filter: grayscale(0%) brightness(1);
}

/* KPI section */
.about-stats {
    border-top: 1px solid #ddd;
}

.stats-title {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #111;
}

.stat-label {
    font-size: 0.9rem;
    color: #000000;
    margin-bottom: 0;
}

/* Spaziature più compatte */
.about-stats .row {
    row-gap: 0rem; /* meno spazio verticale */
}

@media (max-width: 992px) {
    .about-quote {
        font-size: 1.4rem;
        text-align: center;
    }

    .about-logos {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* === Loghi scorrevoli con dissolvenza === */
.about-logos-wrapper {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    background-color: #ebebed;
    border-radius: 6px;
    padding: 1rem 0 1.5rem;
    margin-top: 1.5rem;
}

.about-logos-scroll {
    display: flex;
    width: max-content;
    will-change: transform;
}

.about-logos {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    gap: 3rem;
}

.about-logo {
    height: 72px;
    width: auto;
    filter: grayscale(1) brightness(0.7);
    opacity: 0.9;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.about-logo:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

/* --- Logos slider: anti-wrap + sizing responsive --- */
.about-logos-scroll {
    display: flex;
    will-change: transform;
}

.about-logos {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* forza una sola riga */
    flex: 0 0 auto; /* non allargare/comprimere il track */
    min-width: max-content; /* larghezza = contenuto, niente a capo */
    gap: 2.5rem; /* spazio tra loghi (desktop) */
}

.about-logo {
    max-height: 150px;
    min-height: 100px;
    width: auto;
    max-width: none; /* evita restrizioni che causano wrap */
}

.about-logos-controls {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    display: flex;
    gap: 0.4rem;
    z-index: 2;
}

.logos-control {
    border: 1px solid rgba(17, 17, 17, 0.15);
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    border-radius: 999px;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logos-control:hover,
.logos-control:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    outline: none;
}

/* XS/SM: stringi gap e abbassa i loghi */
@media (max-width: 576px) {
    .about-logos {
        gap: 1.1rem;
    }

    .about-logo {
        height: 18px;
    }
}

@media (min-width: 577px) and (max-width: 992px) {
    .about-logos {
        gap: 1.6rem;
    }

    .about-logo {
        height: 24px;
    }
}


/* === Works flat (no effects) === */
.works-flat {
    background: transparent;
}

.work-flat { /* solo spaziatura tra i blocchi */
    padding-bottom: 2.75rem;
    margin-bottom: 2.75rem;
}

.work-heading {
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: #111;
    margin-bottom: 1.25rem;
}

/* Meta */
.meta-label {
    font-size: .8rem;
    color: #8a8f98;
    margin-bottom: .35rem;
}

.meta-value,
.meta-value a {
    font-size: .95rem;
    color: #111;
}

.link-plain {
    text-decoration: none;
}

/* Deliverables con “/” e wrapping su 2+ righe */
.deliverables-flat {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.2rem;
    text-transform: uppercase;
    font-size: .95rem;
    color: #111;
}

.deliverables-flat li {
    position: relative;
    padding-left: .8rem; /* spazio per lo slash */
}

.deliverables-flat li::before {
    content: "/";
    position: absolute;
    left: 0;
    top: 0;
    color: #8f9299;
}

/* Immagini */
.work-flat img {
    display: block;
    width: 100%;
    height: auto;
    border: 0; /* nessun bordo/rilievo */
    border-radius: 0; /* se le vuoi leggermente arrotondate, metti 6px */
}

/* Responsive */
@media (max-width: 991.98px) {
    .work-flat {
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .work-heading {
        font-size: 2rem;
    }

    .meta-value, .meta-value a {
        font-size: .95rem;
    }
}

@media (max-width: 575.98px) {
    .work-heading {
        font-size: 1.6rem;
    }

    .deliverables-flat {
        gap: .3rem .9rem;
        font-size: .9rem;
    }
}

/* === Allineamento generale sezioni === */
.about-stats,
.works-flat {
    max-width: 1200px; /* larghezza identica per allineamento perfetto */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Titoli di sezione uniformi */
.stats-title,
.works-flat > .container > p,
.works-flat > p {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #111; /* più scuro */
    margin-bottom: 2rem;
}

/* Versione specifica per "WHAT I DID" */
.stats-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #111;
    letter-spacing: 0;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-align: left;
}

/* Allineamento "WHAT I DID" + KPI */
.about-stats .row {
    justify-content: start;
    text-align: left;
    margin: 0 auto;
    max-width: 1200px;
}

.stat-value {
    font-size: 3rem;
    font-weight: 600;
    color: #111;
    line-height: 1;
}

.stat-label {
    color: #555;
    font-size: 1rem;
}

/* === Works section layout matching === */
.works-flat {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.works-flat p.text-uppercase {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #111 !important;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

/* Aggiustamento immagine + testo allineati come screenshot */
.work-flat .row {
    align-items: start;
}

.work-heading {
    font-size: 2rem;
    font-weight: 500;
    color: #111;
    line-height: 1.2;
}

/* Riduco spazio tra sezioni per coerenza */
.work-flat {
    margin-bottom: 3.5rem;
    padding-bottom: 3.5rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .stat-value {
        font-size: 2.3rem;
    }

    .stats-title,
    .works-flat p.text-uppercase {
        font-size: 1rem;
    }

    .work-heading {
        font-size: 1.7rem;
    }
}

/* Titolo sezione "WHAT I DID" */
.stats-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #111; /* stesso colore del titolo "Risultati" */
    letter-spacing: 0;
    text-transform: uppercase;
    margin-bottom: 3rem; /* <-- aggiunto margine extra sotto */
    text-align: left;
}

/* (opzionale) uniforma anche "WORKS I DID" */
.works-flat p.text-uppercase {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #111 !important; /* stesso colore */
    text-transform: uppercase;
    margin-bottom: 6rem; /* margine coerente */
}

/* === MOBILE FIX: titoli centrati e spaziatura === */
@media (max-width: 575.98px) {
    .stats-title,
    .works-flat p.text-uppercase {
        text-align: center;
        color: #111;
        margin-bottom: 2.25rem; /* riduce l’enorme spazio su mobile */
    }

    /* KPI centrati */
    .about-stats .row {
        text-align: center;

    }

    .stat-value {
        font-size: 2.3rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .about-stats {
        border-top: none !important;
    }
}


/* ===== WORKS I DID — Mobile & Tablet layout ===== */

/* Struttura generale */
@media (max-width: 991.98px) {
    .works-flat {
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
    }

    .work-flat {
        padding-bottom: 1.75rem;
        margin-bottom: 2.25rem;
    }

    /* Immagine: full width, senza bordi/ombre */
    .work-flat img {
        width: 100%;
        height: auto;
        display: block;
        border: 0;
        border-radius: 0;
    }

    /* Titolo sezione (come nello shot: allineato a sinistra, scuro) */
    .works-flat p.text-uppercase {
        text-align: left;
        color: #0e0e12 !important;
        margin-bottom: 1rem;
        letter-spacing: 0.02em;
        font-weight: 600;
    }

    /* Titolo progetto sotto l’immagine */
    .work-heading {
        text-align: left;
        margin: 1.2rem 0 1rem;
        font-size: clamp(1.6rem, 6.2vw, 2rem);
        line-height: 1.15;
        letter-spacing: -.01em;
        color: #0e0e12;
    }

    /* META: griglia pulita e simmetrica */
    .work-meta {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 1rem;
        row-gap: .75rem;
        margin-bottom: 1rem !important;
    }

    .work-meta > div {
        text-align: left;
    }

    .work-meta .meta-label {
        text-transform: none; /* nello shot è minuscolo */
        font-size: .82rem;
        color: #8a8f98;
        margin-bottom: .25rem;
    }

    .work-meta .meta-value,
    .work-meta .meta-value a {
        font-size: .98rem;
        font-weight: 600;
        color: #0e0e12;
        text-decoration: none;
        word-break: break-word;
    }

    /* Deliverables come nello shot: slash all’inizio riga, testo left */
    .meta-label + .deliverables-flat {
        margin-top: .35rem;
    }

    .deliverables-flat {
        justify-content: flex-start;
        gap: .35rem 1rem;
        font-size: .95rem;
        line-height: 1.55;
    }

    .deliverables-flat li {
        padding-left: .8rem;
    }

    .deliverables-flat li::before {
        left: 0;
        color: #8f9299;
    }
}

/* Extra-small: se lo spazio è proprio stretto, passa a 2 colonne meta */
@media (max-width: 360px) {
    .work-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ===== FIX: Evita testo a capo nei meta di Works I Did ===== */
@media (max-width: 991.98px) {
    .work-meta {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.75rem 1rem;
    }

    .work-meta > div {
        flex: 1 1 30%; /* ogni colonna occupa circa un terzo */
        min-width: 100px; /* previene rottura e restringimento eccessivo */
        text-align: left;
        white-space: nowrap; /* impedisce l’andare a capo */
    }

    /* Evita overflow orizzontale su schermi stretti */
    .work-meta .meta-value,
    .work-meta .meta-value a {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }
}


/* === SERVICES SECTION === */
.services-section {
    background: transparent;
    color: #0e0e12;
}

.services-section p.text-uppercase {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0e0e12;
    margin-bottom: 2rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.service-item {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 3fr;
    align-items: start;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: background-color 0.25s ease;
}

.service-item:hover {
    background-color: #ebebed;
}

.service-col {
    padding: 0 1rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* === Responsive === */
@media (max-width: 991.98px) {
    .service-item {
        grid-template-columns: 1fr;
        padding: 1.2rem 0;
    }

    .service-col {
        padding: 0.25rem 0;
    }

    .service-title {
        font-size: 1.15rem;
        margin-top: 0.25rem;
    }

    .service-desc {
        font-size: 0.9rem;
        margin-top: 0.3rem;
        color: #666;
    }
}

@media (max-width: 575.98px) {
    .services-section p.text-uppercase,
    .works-flat p.text-uppercase {
        text-align: center;
    }
}

/* Sezione “pinnata” (puoi riusare quella che avevamo già) */
.pin-gallery {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #0e0e12;
}

.gallery-scroller {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* ===== GRID 3 per riga con disallineamento leggero ===== */
.gallery-grid3 {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 16px;
}

/* Card */
.g-item {
    overflow: hidden;
    border-radius: 14px;
    background: #e9eaee;
    margin-top: 0; /* base */
    opacity: 0; /* fade-in */
    transform: translateY(16px); /* fade-in */
    transition: opacity .6s ease, transform .6s ease;
}

.g-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* Disallineamento (stagger) per riga di 3 */
.g-item:nth-child(3n+1) {
    margin-top: 12px;
}

.g-item:nth-child(3n+2) {
    margin-top: 0px;
}

.g-item:nth-child(3n) {
    margin-top: 24px;
}

/* Stato visibile (fade-in) */
.g-item.shown {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    /* tablet: 2 per riga */
    .gallery-grid3 {
        grid-template-columns:repeat(2, 1fr);
        gap: 12px;
    }

    .g-item:nth-child(3n+1),
    .g-item:nth-child(3n+2),
    .g-item:nth-child(3n) {
        margin-top: 0;
    }

    /* reset */
    .g-item:nth-child(2n+1) {
        margin-top: 10px;
    }

    /* nuovo stagger a 2 colonne */
    .g-item:nth-child(2n) {
        margin-top: 0;
    }
}

@media (max-width: 575.98px) {
    /* mobile: 1 per riga */
    .gallery-grid3 {
        grid-template-columns:1fr;
        gap: 10px;
    }

    .g-item {
        margin-top: 0;
    }
}

/* Hide scrollbar ma lascia lo scroll attivo */
.gallery-scroller {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge legacy */
}

.gallery-scroller::-webkit-scrollbar {
    display: none;
}

/* Lightbox base */
.glightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.glightbox.is-open {
    display: block;
}

.glightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
}

.glightbox__stage {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 4vh 4vw;
}

#glightbox-img {
    max-width: 92vw;
    max-height: 92vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    cursor: zoom-in;
    transition: transform .25s ease;
}

/* Zoom */
#glightbox-img.zoomed {
    cursor: zoom-out;
    transform: scale(1.6);
}

/* Chiudi */
.glightbox__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(6px);
}

.glightbox__close:hover {
    background: rgba(255, 255, 255, .25);
}

/* === REVIEWS (layout finale come nel mockup) === */

.reviews-marquee {
    background: #0f1013;
    color: #fff;
    padding: 5rem 0 4rem;
}

.reviews-title {
    font-family: 'Helvetica Neue', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.3;
    font-size: clamp(1.3rem, 2.2vw, 2rem);
    letter-spacing: 0.03em;
    max-width: 1100px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* Contenitore scorrevole */
.reviews-track {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    transform: rotate(-3deg);
    transform-origin: center;
}

.reviews-strip {
    display: flex;
    width: max-content;
    gap: 22px;
    animation: reviewsScroll 60s linear infinite;
}

.reviews-row {
    display: flex;
    gap: 22px;
}

@keyframes reviewsScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* === CARD === */
.review-card {
    flex: 0 0 clamp(420px, 32vw, 520px);
    background: #1a1b1f;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 38px 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);


}

/* Lift effetto */
.review-card:hover {
    transform: rotate(3deg) translateY(-12px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Testo recensione */
.review-text {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.015em;
    line-height: 1.25;
    font-size: clamp(1.05rem, 1.5vw, 1.45rem);
    color: #f2f3f6;
    margin-bottom: 2rem;
}

/* Autore + info */
.review-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.9rem;
    color: #b9bec8;
}

.review-meta .name {
    color: #fff;
    font-weight: 900;
    font-size: 0.95rem;
}

.review-meta .role {
    font-size: 0.88rem;
    color: #bfc2ca;
    margin-left: 0.4rem;
}

.stars {
    color: #ffcc33;
    font-size: 1.05rem;
    letter-spacing: 0.1em;
}

/* Stop su hover */
@media (hover: hover) {
    .reviews-track:hover .reviews-strip {
        animation-play-state: paused;
    }
}

/* === Responsive === */
@media (max-width: 991.98px) {
    .review-card {
        flex-basis: clamp(320px, 60vw, 400px);
        padding: 28px 26px;
    }

    .review-text {
        font-size: clamp(1rem, 2.2vw, 1.3rem);
    }
}

@media (max-width: 575.98px) {
    .reviews-track {
        transform: none;
    }

    .review-card {
        transform: none;
        flex-basis: 88vw;
        padding: 22px 20px;
    }

    .review-text {
        font-size: 1rem;
        text-transform: none;
    }
}


/* ===== CTA TALK (footer section) ===== */
.cta-talk {
    background: #0f1013;
    color: #fff;
    padding: clamp(3rem, 6vw, 5rem) 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.cta-title {
    font-family: 'Helvetica Neue', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    line-height: .95;
    letter-spacing: .015em;
    font-size: clamp(2rem, 6vw, 4.2rem);
    margin: 0 0 1.25rem 0;
}

.cta-sub {
    color: #c9ccd3;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 38rem;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: .9rem;
}

/* Pulsante fantasma con freccia */
.btn-ghost {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    text-decoration: none;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
    background: transparent;
}

.btn-ghost:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .6);
}

.arrow-up {
    font-size: 18px;
    line-height: 1;
}

/* Primary */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    background: #ffffff;
    color: #0f1013;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 900;
    font-size: .9rem;
    text-decoration: none;
    border: 1px solid #fff;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
    background: #e9eaee;
}

/* Liste link */
.link-head {
    font-size: .95rem;
    color: #ffffff;
    font-weight: 900;
    margin: 0 0 .6rem 0;
}

.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.link-list a {
    color: #c9ccd3;
    text-decoration: none;
    font-size: .95rem;
    transition: color .2s ease, transform .2s ease;
}

.link-list__button {
    border: 0;
    background: transparent;
    color: #c9ccd3;
    font-size: .95rem;
    padding: 0;
    text-align: left;
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

.link-list a:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.link-list__button:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.link-list__button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Responsiveness */
@media (max-width: 991.98px) {
    .cta-title {
        font-size: clamp(2rem, 7vw, 3.2rem);
    }

    .cta-sub {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .cta-talk {
        padding: 2.5rem 0;
    }

    .cta-title {
        line-height: 1.02;
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }

    .cta-actions {
        gap: .75rem;
    }

    .btn-primary {
        height: 42px;
        padding: 0 16px;
    }

    .btn-ghost {
        width: 42px;
        height: 42px;
    }

    .link-head {
        margin-top: .5rem;
    }

    .link-list {
        gap: .45rem;
    }
}

/* === REVIEWS (layout finale come nel mockup) === */

/* angolo unico, facilmente modificabile */
:root {
    --reviews-tilt: -3deg;
}

.reviews-marquee {
    background: #0f1013;
    color: #fff;
    padding: 5rem 0 4rem;
}

.reviews-title {
    font-family: 'Helvetica Neue', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.3;
    font-size: clamp(1.3rem, 2.2vw, 2rem);
    letter-spacing: 0.03em;
    max-width: 1100px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* Nuovo viewport: gestisce il fade laterale e l’overflow, il track può stare visibile */
.reviews-viewport {
    position: relative;
    overflow: hidden;
    /* dissolve laterale come prima */
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

/* Rotazione e spazio anti-taglio applicati al binario, non alle card */
.reviews-track {
    position: relative;
    overflow: visible; /* importante: niente tagli */
    transform: rotate(var(--reviews-tilt));
    transform-origin: center;
    /* padding verticale extra per evitare clipping top/bottom a causa della rotazione */
    padding: clamp(24px, 5vw, 56px) 0;
    will-change: transform;
}

.reviews-strip {
    display: flex;
    width: max-content;
    gap: 22px;
    animation: reviewsScroll 60s linear infinite;
}

/* Righe di card in orizzontale */
.reviews-row {
    display: flex;
    gap: 22px;
}

@keyframes reviewsScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* === CARD === */
.review-card {
    /* niente rotazione qui: la prende dal track (così combacia con la fascia) */
    flex: 0 0 clamp(420px, 32vw, 520px);
    background: #1a1b1f;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 38px 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    will-change: transform, box-shadow, border-color;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
}

/* Lift coerente: la card si solleva ma NON cambia angolo */
.review-card:hover {
    transform: translateY(-12px) scale(1.015);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Testo recensione */
.review-text {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.015em;
    line-height: 1.25;
    font-size: clamp(1.05rem, 1.5vw, 1.45rem);
    color: #f2f3f6;
    margin-bottom: 2rem;
}

/* Autore + info */
.review-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.9rem;
    color: #b9bec8;
}

.review-meta .name {
    color: #fff;
    font-weight: 900;
    font-size: 0.95rem;
}

.review-meta .role {
    font-size: 0.88rem;
    color: #bfc2ca;
    margin-left: 0.4rem;
}

.stars {
    color: #ffcc33;
    font-size: 1.05rem;
    letter-spacing: 0.1em;
}

/* Stop su hover */
@media (hover: hover) {
    .reviews-viewport:hover .reviews-strip {
        animation-play-state: paused;
    }
}

/* === Responsive === */
@media (max-width: 991.98px) {
    .review-card {
        flex-basis: clamp(320px, 60vw, 400px);
        padding: 28px 26px;
    }

    .review-text {
        font-size: clamp(1rem, 2.2vw, 1.3rem);
    }
}

/* Su mobile raddrizziamo la fascia per leggibilità, le card restano perfette */
@media (max-width: 575.98px) {
    .reviews-track {
        transform: none; /* niente inclinazione */
        padding: 0; /* rimuovi extra padding perché non serve */
    }

    .review-card {
        transform: none; /* nessun sollevamento iniziale (solo su hover) */
        flex-basis: 88vw;
        padding: 22px 20px;
    }

    .review-card:hover {
        transform: translateY(-10px) scale(1.01);
    }

    .review-text {
        font-size: 1rem;
        text-transform: none;
    }
}

/* === Gallery: mobile-only fix === */
@media (max-width: 575.98px) {
    /* mostra solo le prime 4 immagini */
    .gallery-grid3 .g-item:nth-child(n+4) {
        display: none !important;
    }

    /* meno spazio tra inizio sezione e prima foto */
    .pin-gallery.section {
        padding-top: 0.75rem !important; /* prima era min(8vh, 5rem) */
    }

    /* stringi il margine del titolo "Portfolio" */
    #work-gallery > .container > p {
        margin-bottom: .5rem !important; /* prima era mb-3 */
    }

    /* azzera qualunque margine superfluo sulla griglia */
    .gallery-grid3.container {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* === NAVBAR SHIMMER UNDERLINE (sostituisce effetti precedenti) === */

/* Reset: rimuovi pill, bordi e pseudo-elementi precedenti */
.site-navbar .nav-link,
.site-navbar .resume-link {
    background: transparent !important;
    color: var(--ink) !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0.8rem 1rem; /* mantiene la spaziatura della navbar */
    line-height: 1;
    text-decoration: none;
    position: relative;
    transition: color 0.5s ease;
    display: inline-block;
}

/* Kill dei vecchi pseudo (ripple/bordi/rombo) */
.site-navbar .nav-link::before,
.site-navbar .nav-link::after,
.site-navbar .nav-link span::before,
.site-navbar .nav-link span::after,
.site-navbar .resume-link::before,
.site-navbar .resume-link::after,
.site-navbar .resume-link span::before,
.site-navbar .resume-link span::after {
    content: none !important;
}

/* Sottolineatura shimmer */
.site-navbar .nav-link::after,
.site-navbar .resume-link::after {
    content: '';
    position: absolute;
    bottom: 0.2rem; /* leggermente sopra il bordo inferiore del link */
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #A6A6A6, transparent);
    background-size: 300% 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Hover: colore + animazione */
.site-navbar .nav-link:hover,
.site-navbar .resume-link:hover {
    color: #A6A6A6 !important;
}

.site-navbar .nav-link:hover::after,
.site-navbar .resume-link:hover::after {
    opacity: 1;
    animation: shimmer111 2s linear infinite !important;
}

@keyframes shimmer111 {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Accessibilità: riduci animazioni */
@media (prefers-reduced-motion: reduce) {
    .site-navbar .nav-link:hover::after,
    .site-navbar .resume-link:hover::after {
        animation: none !important;
    }
}

/* (Opzionale) distanza tra le voci */
.site-navbar .navbar-nav .nav-item + .nav-item {
    margin-left: 0.4rem;
}


/* === Particles per HERO (override forte) === */
.hero {
    position: relative !important;
    overflow: hidden !important;
}

/* Porta le particelle SOPRA le grid lines, così le vedi sicuramente */
.hero-bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important; /* sopra ::before e sotto i contenuti */
    pointer-events: none !important;
}

/* Grid lines al centro */
.hero::before {
    z-index: 2 !important;
}

/* Contenuti sopra tutto */
.hero > .container {
    position: relative !important;
    z-index: 4 !important;
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg {
        display: none !important;
    }
}

/* === Portfolio page === */
.eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8c9099;
}

.portfolio-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
}

.portfolio-hero__bg {
linear-gradient(135 deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(14, 14, 18, 0.12);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
}

.portfolio-hero__panel {
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 2.75rem 2.5rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(14, 14, 18, 0.08);
}

.portfolio-showcase {
    background: #ffffff;
}

.portfolio-filter {
    border: 1px solid rgba(14, 14, 18, 0.14);
    background: transparent;
    color: var(--ink);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.portfolio-filter:first-child {
    margin-left: 0;
}

.portfolio-filter:hover,
.portfolio-filter:focus {
    background: var(--ink);
    color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(14, 14, 18, 0.08);
    border-radius: 24px;
    overflow: hidden;
    background: #fdfdfd;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 50px rgba(14, 14, 18, 0.1);
}

.portfolio-card__media {
    aspect-ratio: 16 / 10;
}

.portfolio-card__media--embed {
    aspect-ratio: 4 / 3;
    background: #f7f7f9;
    display: flex;
    overflow: hidden;
}

.portfolio-card__media--embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


.portfolio-card__body {
    padding: 1rem 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.portfolio-card__heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(14, 14, 18, 0.55);
}

.portfolio-card__title {
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    margin: 0;
}

.portfolio-card__excerpt {
    color: rgba(14, 14, 18, 0.78);
    margin-bottom: 0.25rem;
}

.portfolio-card__services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    color: rgba(14, 14, 18, 0.6);
}

.portfolio-card__services li {
    position: relative;
    padding-left: 0.9rem;
}

.portfolio-card__services li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(14, 14, 18, 0.25);
    transform: translateY(-50%);
}

.portfolio-card__actions {
    display: flex;
    gap: 1.25rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-card__actions a {
    color: var(--ink);
    text-decoration: none;
    position: relative;
}

.portfolio-card__actions a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.1rem;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.portfolio-card__actions a:hover::after {
    transform: scaleX(1);
}

.portfolio-counters {
    background: linear-gradient(180deg, rgba(233, 235, 247, 0.45), rgba(233, 235, 247, 0));
}

.counter-tile {
    border: 1px solid rgba(14, 14, 18, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    box-shadow: 0 16px 30px rgba(14, 14, 18, 0.06);
}

.counter-value {
    font-size: 2.4rem;
    font-weight: 700;
    display: block;
    color: var(--ink);
}

.counter-label {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(14, 14, 18, 0.6);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    border: 1px solid rgba(14, 14, 18, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 16px 30px rgba(14, 14, 18, 0.05);
}

.process-step__index {
    font-size: 1rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(14, 14, 18, 0.45);
}

.process-step__title {
    margin-bottom: 0.35rem;
}

.process-step__text {
    margin: 0;
    color: rgba(14, 14, 18, 0.7);
}

.portfolio-cta {
    background: linear-gradient(180deg, rgba(14, 14, 18, 0.04), rgba(14, 14, 18, 0));
}

.portfolio-cta__card {
    border: 1px solid rgba(14, 14, 18, 0.1);
    border-radius: 28px;
    padding: 3rem 3.5rem;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    box-shadow: 0 24px 60px rgba(14, 14, 18, 0.08);
}

[data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .portfolio-hero {
        padding-top: 5rem;
        min-height: auto;
    }

    .portfolio-hero__panel {
        padding: 2.25rem 2rem;
    }

    .portfolio-card__body {
        padding: 2rem 2rem 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .portfolio-hero {
        padding-top: 4.5rem;
    }

    .portfolio-hero__panel {
        padding: 2rem;
    }

    .portfolio-grid {
        gap: 1.5rem;
    }

    .portfolio-card__body {
        padding: 1.75rem 1.75rem 1.6rem;
    }

    .portfolio-card__title {
        font-size: 1.6rem;
    }

    .portfolio-card__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }

    .portfolio-cta__card {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 575.98px) {
    .portfolio-hero {
        padding: 4rem 0 3rem;
    }

    .portfolio-hero .display-3 {
        font-size: 2.4rem;
    }

    .hero-badges {
        gap: 0.5rem;
        align-content: center;
    }

    .portfolio-filter {
        width: 100%;
        margin: 0 0 0.75rem 0;
        text-align: center;
    }

    .portfolio-card__body {
        padding: 1.6rem 1.5rem 1.5rem;
    }

    .counter-tile {
        padding: 1.75rem 1.25rem;
    }

    .process-step {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.6rem 1.5rem;
    }

    .portfolio-cta__card {
        padding: 2rem 1.75rem;
    }
}

/* --- Legal pages --- */
.legal-hero {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.legal-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(14, 14, 18, 0.85);
}

.legal-text h2 {
    font-size: 1.375rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
}

.legal-text ul {
    padding-left: 1.2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.legal-text a {
    text-decoration: underline;
}


.footer-legal-links a,
.footer-legal-button {
    color: inherit;
    text-decoration: none;
}

.footer-legal-button {
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-align: left;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus,
.footer-legal-button:hover,
.footer-legal-button:focus {
    color: var(--body-color);
}

/* --- Cookie banner --- */
.cookie-banner {
    position: fixed;
    inset: auto 0 0 0;
    background: rgba(14, 14, 18, 0.9);
    color: #ffffff;
    z-index: 1090;
    display: none;
    padding: 1.5rem;
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner__content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-banner__title {
    font-size: 1.25rem;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

.cookie-banner__text {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.cookie-banner__error {
    margin: 0;
    font-size: 0.95rem;
    color: #ff6b6b;
    font-weight: 600;
}

.cookie-banner__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

.cookie-banner__links a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-banner .btn {
    min-width: 160px;
}

.cookie-banner .btn-secondary {
    background-color: #ffffff;
    color: var(--ink);
    border: none;
}

.cookie-banner .btn-primary {
    background-color: #2c2cfe;
    border-color: #2c2cfe;
}

.cookie-banner .btn-outline-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-banner .btn-outline-secondary:hover,
.cookie-banner .btn-outline-secondary:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 575.98px) {
    .cookie-banner {
        padding: 1.5rem 1.25rem 1.75rem;
    }

    .cookie-banner .btn {
        width: 100%;
        min-width: 0;
    }
}

/* --- Cookie modal --- */
.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(14, 14, 18, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1100;
}

.cookie-modal[hidden] {
    display: none !important;
}

.cookie-modal__dialog {
    background: #ffffff;
    color: var(--ink);
    border-radius: 1rem;
    box-shadow: 0 24px 64px rgba(14, 14, 18, 0.16);
    max-width: 640px;
    width: 100%;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 3rem);
}

.cookie-modal__header,
.cookie-modal__footer {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(14, 14, 18, 0.08);
}

.cookie-modal__footer {
    border-bottom: 0;
    border-top: 1px solid rgba(14, 14, 18, 0.08);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.cookie-modal__header h2 {
    margin: 0;
    font-size: 1.4rem;
    text-transform: none;
    letter-spacing: 0;
}

.cookie-modal__close {
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: rgba(14, 14, 18, 0.6);
}

.cookie-modal__body {
    padding: 1.5rem 1.75rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-option {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(14, 14, 18, 0.08);
    border-radius: 0.75rem;
    background: #fafafa;
}

.cookie-option h3 {
    margin: 0;
    font-size: 1.05rem;
    text-transform: none;
    letter-spacing: 0;
}

.cookie-option p {
    margin: 0;
    color: rgba(14, 14, 18, 0.75);
}

.manage-cookies-btn {
    font-size: 0.95rem;
}

@media (max-width: 575.98px) {
    .cookie-modal__dialog {
        max-height: calc(100vh - 2rem);
        border-radius: 0.75rem;
    }

    .cookie-modal__header,
    .cookie-modal__body,
    .cookie-modal__footer {
        padding-inline: 1.25rem;
    }
}

/* --- Cookie-gated embeds --- */
.cookie-embed {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(16, 18, 26, 0.92), rgba(12, 13, 20, 0.9));
    border-radius: inherit;
    overflow: hidden;
}

.cookie-embed iframe[hidden] {
    display: none;
}

.cookie-embed__placeholder {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
    justify-content: center;
    align-items: flex-start;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.92);
    text-align: left;
}

.cookie-embed__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-embed__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cookie-embed--active .cookie-embed__placeholder {
    display: none;
}

@media (max-width: 575.98px) {
    .cookie-embed__actions {
        width: 100%;
    }

    .cookie-embed__actions .btn {
        flex: 1 1 100%;
    }
}

/* Footer contacts */
.site-footer .container {
    flex-wrap: wrap;
}

.site-footer .footer-contact .contact-item {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.site-footer .footer-contact .contact-item:hover {
    text-decoration: underline;
}

.site-footer .footer-contact .contact-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    opacity: .65;
}

@media (max-width: 575.98px) {
    .site-footer .container {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between;
        gap: 1.5rem;
    }

    .site-footer .container > * {
        flex: 0 1 auto;
    }

    .site-footer .footer-contact {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        gap: 1.5rem;
        text-align: right;
    }

    .site-footer .footer-contact .contact-item {
        white-space: normal;
    }
}

/* layer GPU per evitare repaint costosi */
.portfolio-card {
    will-change: transform, box-shadow;
}

/* box-shadow più leggero (meno blur = meno paint) */
.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(14, 14, 18, 0.10);
}

.portfolio-card__media {
    background-repeat: no-repeat;
    background-attachment: scroll; /* evita effetti fixed che costano */
}

/* Forza cursore normale in tutta la sezione portfolio */
.portfolio-showcase, .portfolio-showcase * {
    cursor: auto !important;
}

/* === Landing campaign hero === */
.campaign-hero {
    position: relative;
    background: #fff;
    overflow: hidden;
    padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.campaign-hero__background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.campaign-hero__outline {
    position: absolute;
    font-size: clamp(8rem, 28vw, 22rem);
    font-weight: 900;
    text-transform: lowercase;
    color: transparent;
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.15);
    text-stroke: 2px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.05em;
    line-height: 0.8;
    opacity: 0.8;
}

.campaign-hero__outline--top {
    top: -2rem;
    right: -2rem;
}

.campaign-hero__outline--bottom {
    bottom: -3rem;
    left: -2rem;
}

.campaign-hero__background-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #000;
    bottom: 0;
    opacity: 0.9;
}

.campaign-hero__logo img {
    width: 120px;
    height: auto;
}

.campaign-hero__title {
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.05;
}

.campaign-hero__title span {
    font-weight: 500;
    letter-spacing: 0.08em;
}

.campaign-hero__title strong {
    font-weight: 900;
    letter-spacing: 0.08em;
}

.campaign-hero__divider {
    width: 140px;
    height: 2px;
    background: #111;
    margin: 1.5rem 0;
}

.campaign-hero__lead {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.campaign-hero__lead strong {
    font-weight: 900;
}

.campaign-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.6rem;
    background: #111;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.campaign-hero__cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.campaign-hero__gift {
    display: flex;
    justify-content: center;
    align-items: center;
}

.campaign-hero__gift img {
    width: min(420px, 90%);
    height: auto;
    filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.2));
}

@media (max-width: 991px) {
    .campaign-hero__title,
    .campaign-hero__lead,
    .campaign-hero__logo {
        text-align: center;
    }

    .campaign-hero__divider {
        margin-left: auto;
        margin-right: auto;
    }

    .campaign-hero__cta {
        margin: 0 auto;
    }

    .campaign-hero__outline--top {
        right: -6rem;
    }

    .campaign-hero__outline--bottom {
        left: -6rem;
    }
}

/* === Landing campaign about === */
.campaign-about {
    background: #fff;
    padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.campaign-about__title {
    font-size: clamp(2rem, 3.6vw, 3rem);
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.campaign-about__text {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 32rem;
}

.campaign-about__card {
    width: min(360px, 100%);
    aspect-ratio: 1 / 1;
    background: #0d0d0f;
    border-radius: 28px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {
    .campaign-about__text {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .campaign-about__title {
        text-align: center;
    }
}

/* === Landing campaign projects === */
.landing-new-year {
    overflow-x: hidden;
}

.campaign-projects {
    background: #f3f3f3;
    padding: clamp(0.1rem, 0.1vw, 0.1rem) 0;
}

.campaign-projects__logos {
    text-align: center;
    margin-bottom: 2.5rem;
}

.campaign-projects__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(14, 14, 18, 0.6);
}

.campaign-projects__title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.campaign-projects .about-logos-wrapper {
    background: #efefef;
}

.campaign-projects .portfolio-card {
    border-radius: 22px;
    border: 1px solid rgba(14, 14, 18, 0.08);
    box-shadow: 0 18px 30px rgba(14, 14, 18, 0.08);
}

.campaign-projects .portfolio-card__media--embed {
    aspect-ratio: 4 / 3;
}

/* === Landing campaign offer === */
.campaign-offer {
    background: #fff;
    padding: clamp(3.5rem, 6vw, 6rem) 0;
    text-align: center;
}

.campaign-offer__title {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.campaign-offer__card {
    background: #0d0d0f;
    border-radius: 22px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    min-height: 140px;
}

.campaign-offer__label {
    color: #111;
    background: #fff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.campaign-offer__promo {
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
    display: grid;
    gap: 0.75rem;
}

.campaign-offer__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 1rem;
    margin: 0;
}

.campaign-offer__value {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
}

.campaign-offer__detail {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 767px) {
    .campaign-offer__label {
        font-size: 0.7rem;
    }

    .campaign-offer__detail {
        letter-spacing: 0.12em;
    }
}

.hero-title-2 {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.010em;
    line-height: 1;
    /* proporzioni: molto grande su desktop, controllata su mobile */
    font-size: clamp(2.5rem, 3.0vw, 3.0rem);
}


/* =========================
   LANDING: HERO
========================= */

:root {
    --lp-accent: #B8FF3D; /* verde lime */
    --lp-dark: #0b0f08; /* quasi nero */
    --lp-soft: rgba(0, 0, 0, .35);
}

.lp-hero {
    position: relative;
    min-height: calc(100vh - 72px); /* navbar sticky */
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: clamp(32px, 6vh, 64px) 0;
    background: #000;
}

.lp-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    filter: saturate(1.05) contrast(1.03);
    opacity: .85;
}

.lp-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 600px at 50% 25%, rgba(184, 255, 61, .12), transparent 60%),
    radial-gradient(900px 500px at 50% 65%, rgba(0, 0, 0, .40), rgba(0, 0, 0, .80)),
    linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .70));
}

/* inner content */
.lp-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1080px;
}

/* top texts */
.lp-hero__top {
    margin-bottom: clamp(22px, 4vh, 40px);
}

.lp-hero__title {
    font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.02;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5.2vw, 72px);
}

.lp-hero__titleLine {
    display: block;
}

.lp-hero__titleLine--accent {
    color: var(--lp-accent);
}

.lp-hero__subtitle {
    margin: 14px auto 0;
    max-width: 520px;
    color: rgba(255, 255, 255, .72);
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: 13px;
    letter-spacing: .02em;
}

/* offer */
.lp-hero__offerWrap {
    position: relative;
    margin-top: clamp(10px, 2.5vh, 22px);
    padding-top: 8px;
}

.lp-hero__offer {
    position: relative;
    padding: 10px 0;
}

.lp-hero__offerLine {
    font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 0.95;
    margin: 0;
    font-size: clamp(52px, 6.2vw, 92px);
    text-transform: uppercase;
}

.lp-hero__offerLine--big {
    font-size: clamp(56px, 7vw, 102px);
    margin-top: 4px;
}

.lp-hero__offerAccent {
    color: var(--lp-accent);
}

.lp-hero__offerWhite {
    color: #fff;
}

/* CTA */
.lp-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--lp-accent);
    color: #111;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .06em;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(184, 255, 61, .18);
    transition: transform .15s ease, filter .15s ease;
}

.lp-hero__cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

/* pig image */
.lp-hero__pig {
    position: absolute;
    left: clamp(-10px, -3vw, -20px);
    top: 10px;
    width: clamp(170px, 26vw, 260px);
    transform: rotate(-2deg);
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, .35));
    z-index: 3;
}

.lp-hero__pig img {
    width: 100%;
    height: auto;
    display: block;
}

/* chosen by + logos bar */
.lp-hero__chosen {
    margin-top: clamp(22px, 6vh, 54px);
}

.lp-hero__chosenLabel {
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.lp-hero__chosenLabel::before,
.lp-hero__chosenLabel::after {
    content: "";
    width: 54px;
    height: 1px;
    background: rgba(184, 255, 61, .35);
}

.lp-hero__countdown {
    margin: 18px auto 0;
    max-width: 640px;
    padding: 18px 22px;
    border-radius: 18px;
    border: 1px solid rgba(184, 255, 61, .3);
    background: linear-gradient(135deg, rgba(184, 255, 61, .12), rgba(10, 10, 12, .8));
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.lp-hero__countdownItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 74px;
}

.lp-hero__countdownValue {
    font-size: clamp(26px, 4.5vw, 42px);
    font-weight: 700;
    letter-spacing: .08em;
    color: #fff;
}

.lp-hero__countdownLabel {
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
}

.lp-hero__countdownSep {
    font-size: clamp(20px, 3vw, 32px);
    color: rgba(184, 255, 61, .7);
    transform: translateY(-6px);
}

.lp-hero__countdownNote {
    margin-top: 12px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

.lp-hero__countdown.is-expired {
    opacity: .7;
}

.lp-hero__logoBar {
    margin: 14px auto 0;
    max-width: 760px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(20, 20, 20, .55);
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    display: flex;
    gap: 22px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.lp-hero__logoItem {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .80);
    font-weight: 600;
    font-size: 14px;
}

.lp-hero__logoDot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
}

/* Hero logos carousel (landing page) */
.lp-hero__logos.about-logos-wrapper {
    background: linear-gradient(135deg, rgba(184, 255, 61, .18), rgba(11, 15, 8, .85));
    border: 1px solid rgba(184, 255, 61, .25);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.lp-hero__logos .about-logos {
    gap: 2rem;
}

.lp-hero__logos .about-logo {
    height: 72px;
    min-height: 0;
    max-height: 84px;
    filter: grayscale(1) brightness(1.35);
    opacity: 0.9;
}

.lp-hero__logos .about-logo:hover {
    filter: grayscale(0) brightness(1.1);
    opacity: 1;
}

.lp-hero__logos .logos-control {
    background: rgba(11, 15, 8, .8);
    border: 1px solid rgba(184, 255, 61, .35);
    color: var(--lp-accent);
}

.lp-hero__logos .logos-control:hover,
.lp-hero__logos .logos-control:focus-visible {
    box-shadow: 0 6px 16px rgba(184, 255, 61, .22);
}

/* stars */
.lp-hero__star {
    position: absolute;
    z-index: 2;
    width: 52px; /* più grande */
    height: 52px;
    opacity: .85;
    filter: drop-shadow(0 12px 34px rgba(184, 255, 61, .22));
    animation: lp-float 6s ease-in-out infinite;
    pointer-events: none;
}

.lp-hero__star--1 {
    top: 16%;
    left: 20%;
    transform: rotate(10deg);
    animation-delay: .2s;
}

.lp-hero__star--2 {
    top: 18%;
    right: 16%;
    transform: rotate(-8deg);
    animation-delay: 1.1s;
}

.lp-hero__star--3 {
    top: 42%;
    left: 10%;
    transform: rotate(-4deg);
    animation-delay: 1.8s;
}

@keyframes lp-float {
    0%, 100% {
        transform: translateY(0) rotate(var(--r, 0deg));
    }
    50% {
        transform: translateY(-10px) rotate(var(--r, 0deg));
    }
}

/* responsive adjustments */
@media (max-width: 991.98px) {
    .lp-hero {
        min-height: auto;
        padding: 38px 0 46px;
    }

    .lp-hero__pig {
        display: none;
    }

    .lp-hero__top {
        margin-bottom: 12px;
    }

    .lp-hero__offerWrap {
        padding-top: 0;
        margin-top: 0;
    }

    .lp-hero__chosenLabel::before,
    .lp-hero__chosenLabel::after {
        width: 34px;
    }

    .lp-hero__logos.about-logos-wrapper {
        padding: 0.75rem 0 1.1rem;
    }

    .lp-hero__logos .about-logos {
        gap: 1.6rem;
    }

    .lp-hero__logos .about-logo {
        height: 56px;
        max-height: 64px;
    }

    .lp-hero__countdown {
        gap: 12px;
        padding: 16px;
        flex-wrap: wrap;
    }

    .lp-hero__countdownItem {
        min-width: 64px;
    }
}

@media (max-width: 420px) {
    .lp-hero__pig {
        width: 150px;
    }

    .lp-hero__logoBar {
        gap: 14px;
        padding: 14px;
    }

    .lp-hero__logos .about-logos {
        gap: 1rem;
    }

    .lp-hero__logos .about-logo {
        height: 44px;
        max-height: 52px;
    }

    .lp-hero__logos .logos-control {
        width: 1.6rem;
        height: 1.6rem;
        font-size: 0.9rem;
    }

    .lp-hero__countdown {
        gap: 10px;
    }

    .lp-hero__countdownSep {
        display: none;
    }
}

.lp-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1; /* prima era troppo basso */
    transform: scale(1.02);
    filter: saturate(1.05) contrast(1.02);
}

.lp-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* overlay più leggero, per far vedere hero-bg */
    background: radial-gradient(1200px 600px at 50% 25%, rgba(184, 255, 61, .12), transparent 62%),
    linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .62));
}

.lp-hero__wordAccent {
    color: var(--lp-accent);
    font-style: italic; /* come in Figma */
}

.lp-hero__wordWhite {
    color: #fff;
    font-style: normal;
}

.lp-hero__pig {
    position: absolute;
    left: clamp(-50px, -3vw, -10px);
    top: clamp(-50px, 1vh, -51px);
    width: clamp(240px, 30vw, 360px); /* più grande */
    transform: rotate(-2deg);
    filter: drop-shadow(0 26px 70px rgba(0, 0, 0, .40));
    z-index: 3;
}

/* =========================
   LANDING: PROCESS
========================= */

.lp-process {
    position: relative;
    padding: clamp(56px, 7vh, 86px) 0;
    background: radial-gradient(1200px 700px at 20% 30%, rgba(184, 255, 61, .10), transparent 55%),
    radial-gradient(900px 500px at 80% 10%, rgba(184, 255, 61, .06), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, .20), rgba(0, 0, 0, .55));
    color: #fff;
}

.lp-process__inner {
    max-width: 1120px;
}

.lp-process__kicker {
    color: rgba(184, 255, 61, .9);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.lp-process__title {
    font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0;
    font-size: clamp(34px, 3.6vw, 54px);
}

.lp-process__accent {
    color: var(--lp-accent);
    font-style: italic;
}

.lp-process__desc {
    margin: 4px 0 14px;
    color: rgba(255, 255, 255, .72);
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    max-width: 420px;
}

.lp-process__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--lp-accent);
    color: #111;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .04em;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(184, 255, 61, .16);
    transition: transform .15s ease, filter .15s ease;
}

.lp-process__btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

/* Steps layout + line */
.lp-process__steps {
    position: relative;
    margin-top: clamp(26px, 5vh, 46px);
    padding-top: 20px;
}

.lp-process__line {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 36px;
    height: 1px;
    background: rgba(184, 255, 61, .55);
    opacity: .9;
}

.lp-process__lineArrow {
    position: absolute;
    right: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(184, 255, 61, .75);
    border-top: 2px solid rgba(184, 255, 61, .75);
    transform: translateY(-50%) rotate(45deg);
}

/* Single step */
.lp-step {
    position: relative;
    padding-top: 6px;
}

.lp-step__icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(184, 255, 61, .98);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(184, 255, 61, .12);
    margin-bottom: 16px;
}

.lp-step__icon svg {
    width: 28px;
    height: 28px;
    fill: #0c1207;
    opacity: .95;
}

.lp-step__title {
    font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .92);
}

.lp-step__text {
    margin: 0;
    max-width: 320px;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    line-height: 1.6;
}

/* Mobile: line becomes vertical-ish / hidden */
@media (max-width: 991.98px) {
    .lp-process__line {
        display: none;
    }
}

.lp-step__icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(184, 255, 61, .98);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(184, 255, 61, .12);
    margin-bottom: 16px;
}

.lp-step__iconImg {
    width: 28px; /* identico allo screenshot */
    height: 28px;
    object-fit: contain;
    display: block;
    image-rendering: auto;
}

.lp-process {
    position: relative;
    padding: clamp(56px, 7vh, 86px) 0;
    background: #000; /* 🔑 NERO PURO */
    color: #fff;
}

/* =========================
   PROCESS: REVEAL + STAGGER
========================= */

.lp-process__steps {
    position: relative;
}

/* LINE DRAW ANIMATION */
.lp-process__line {
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 900ms cubic-bezier(.2, .9, .2, 1);
    will-change: transform;
}

.lp-process.is-inview .lp-process__line {
    transform: scaleX(1);
}

/* Circle pop in */
.lp-step__icon {
    transform: scale(.85);
    opacity: 0;
    transition: transform 520ms cubic-bezier(.2, .9, .2, 1), opacity 520ms ease;
    will-change: transform, opacity;
}

.lp-process.is-inview .lp-step__icon {
    transform: scale(1);
    opacity: 1;
}

/* Staggered content reveal */
.lp-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 650ms ease,
    transform 650ms cubic-bezier(.2, .9, .2, 1);
    will-change: opacity, transform;
}

.lp-process.is-inview .lp-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Delay via data-stagger */
.lp-process.is-inview .lp-reveal[data-stagger="1"] {
    transition-delay: 120ms;
}

.lp-process.is-inview .lp-reveal[data-stagger="2"] {
    transition-delay: 260ms;
}

.lp-process.is-inview .lp-reveal[data-stagger="3"] {
    transition-delay: 400ms;
}

/* Icon delay too (to match) */
.lp-process.is-inview .lp-reveal[data-stagger="1"] .lp-step__icon {
    transition-delay: 120ms;
}

.lp-process.is-inview .lp-reveal[data-stagger="2"] .lp-step__icon {
    transition-delay: 260ms;
}

.lp-process.is-inview .lp-reveal[data-stagger="3"] .lp-step__icon {
    transition-delay: 400ms;
}

/* =========================
   PROCESS: HOVER MICRO
========================= */

.lp-step {
    transition: transform 180ms ease;
}

.lp-step__icon {
    transition: transform 520ms cubic-bezier(.2, .9, .2, 1),
    opacity 520ms ease,
    filter 180ms ease;
}

.lp-step__iconImg {
    transition: transform 180ms ease;
}

.lp-step:hover {
    transform: translateY(-2px);
}

.lp-step:hover .lp-step__icon {
    filter: drop-shadow(0 18px 36px rgba(184, 255, 61, .18));
    transform: scale(1.03);
}

.lp-step:hover .lp-step__iconImg {
    transform: rotate(-4deg) scale(1.03);
}

/* accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
    .lp-process__line,
    .lp-step__icon,
    .lp-reveal,
    .lp-step,
    .lp-step__iconImg {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* container linee */
.lp-process__lines {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 36px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

/* linea base */
.lp-process__line {
    position: relative;
    height: 1px;
    background: rgba(184, 255, 61, .55);
    opacity: .9;
    flex: 1;
}

/* spazio sotto l'icona centrale */
.lp-process__line--left {
    margin-right: 64px; /* spazio per icona Contenuti */
}

.lp-process__line--right {
    margin-left: 64px; /* spazio per icona Contenuti */
}

/* freccia */
.lp-process__lineArrow {
    position: absolute;
    right: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(184, 255, 61, .75);
    border-top: 2px solid rgba(184, 255, 61, .75);
    transform: translateY(-50%) rotate(45deg);
}

.lp-process__line {
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 900ms cubic-bezier(.2, .9, .2, 1);
}

.lp-process.is-inview .lp-process__line {
    transform: scaleX(1);
}

/* =========================
   LANDING: PROCESS (PIXEL-LIKE)
========================= */

.lp-process {
    background: #000;
    color: #fff;
    padding: clamp(56px, 7vh, 92px) 0;
}

.lp-process__inner {
    max-width: 1200px;
}

/* HEAD: two columns like screenshot */
.lp-process__head {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    align-items: flex-start;
}

.lp-process__headLeft {
    width: min(640px, 55%);
}

.lp-process__headRight {
    width: min(420px, 40%);
    padding-top: 8px;
}

.lp-process__kicker {
    color: rgba(184, 255, 61, .9);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* TITLE: uppercase, 4 lines, accent italic */
.lp-process__title {
    margin: 0;
    text-transform: uppercase;
    font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.02;
    font-size: clamp(40px, 4.1vw, 66px);
}

.lp-process__title > span {
    display: block;
}

.lp-process__title .t-white {
    color: #fff;
}

.lp-process__title .t-accent {
    color: var(--lp-accent);
    font-style: italic;
}

/* right text + button */
.lp-process__desc {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .72);
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.65;
}

.lp-process__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--lp-accent);
    color: #111;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .02em;
    text-decoration: none;
}

/* FLOW: 5 columns (item, conn, item, conn, item) */
.lp-flow {
    margin-top: 44px;
    display: grid;
    grid-template-columns: 260px 1fr 260px 1fr 260px;
    column-gap: 34px;
    align-items: start;
}

/* each item keeps icon/title/text aligned like screenshot */
.lp-flow__item {
}

.lp-step__icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(184, 255, 61, .98);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.lp-step__iconImg {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.lp-step__title {
    margin: 0 0 10px;
    text-transform: uppercase;
    font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-weight: 800;
    letter-spacing: .06em;
    font-size: 13px;
    color: rgba(255, 255, 255, .92);
}

.lp-step__text {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    line-height: 1.65;
}

/* connectors: line starts AFTER item1 and stops BEFORE item2, then restarts after item2 */
.lp-flow__conn {
    position: relative;
    height: 56px; /* same as icon height */
    margin-top: 0; /* aligns with icons row */
    display: flex;
    align-items: center;
}

.lp-flow__line {
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(184, 255, 61, .55);
}

.lp-flow__arrow {
    position: absolute;
    right: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(184, 255, 61, .75);
    border-top: 2px solid rgba(184, 255, 61, .75);
    transform: rotate(45deg);
}


/* responsive: stack on mobile */
@media (max-width: 991.98px) {
    .lp-process__head {
        flex-direction: column;
        gap: 20px;
    }

    .lp-process__headLeft, .lp-process__headRight {
        width: 100%;
    }

    .lp-flow {
        grid-template-columns: 1fr;
        row-gap: 18px;
    }

    .lp-flow__conn {
        display: none;
    }
}

.lp-process__title {
    margin: 0;
    text-transform: uppercase;
    font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.02;
    font-size: clamp(34px, 6vw, 60px); /* più piccolo ma ancora “big” */
}

.lp-title-line {
    display: inline-block; /* IMPORTANTISSIMO */
}

.lp-title-line--nowrap {
    white-space: nowrap; /* IMPORTANTISSIMO: niente a capo tra PERCORSO e STRATEGICO */
}

@media (max-width: 575.98px) {
    .lp-title-line--nowrap {
        white-space: normal;
    }
}

.t-accent {
    color: var(--lp-accent);
    font-style: italic;
}

/* FLOW: 5 columns (item, conn, item, conn, item) */
.lp-flow {
    margin-top: 44px;
    display: grid;
    grid-template-columns: 260px 1fr 260px 1fr 260px;
    column-gap: 0;
    align-items: start;
}

/* connector */
.lp-flow__conn {
    position: relative;
    height: 56px; /* identico al diametro del cerchio */
    display: flex;
    align-items: center;

    /* entra sotto i cerchi */
    margin-left: -28px;
    margin-right: -28px;
}


.lp-flow__line {
    width: 100%;
    height: 1px;
    background: rgba(184, 255, 61, .55);
}

.lp-flow__arrow {
    position: absolute;
    right: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(184, 255, 61, .75);
    border-top: 2px solid rgba(184, 255, 61, .75);
    transform: rotate(45deg);
}

/* ===== STEPS (NO FRECCE) ===== */

.lp-steps {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 48px;
    align-items: start;
}

/* singolo step */
.lp-step {
    text-align: left;
}

/* icona */
.lp-step__icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: var(--lp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.lp-step__iconImg {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* titolo */
.lp-step__title {
    margin: 0 0 10px;
    text-transform: uppercase;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: .06em;
    font-size: 13px;
    color: rgba(255, 255, 255, .92);
}

/* testo */
.lp-step__text {
    margin: 0;
    font-size: 12px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .65);
}

@media (min-width: 992px) {
    .lp-step__title {
        font-size: 18px;
    }

    .lp-step__text {
        font-size: 14px;
    }
}

/* mobile */
@media (max-width: 991.98px) {
    .lp-steps {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }
}

/* =========================
   LANDING: BEHANCE SECTION
========================= */

.lp-behance {
    padding: clamp(56px, 7vh, 92px) 0;
    color: #eaeaea;
    position: relative;
    overflow: hidden;

    /* background premium */
    background: radial-gradient(900px 520px at 18% 12%, rgba(255, 255, 255, .07), transparent 60%),
    radial-gradient(800px 520px at 86% 18%, rgba(184, 255, 61, .08), transparent 62%),
    radial-gradient(900px 700px at 55% 115%, rgba(0, 0, 0, .0), rgba(0, 0, 0, .75) 60%),
    linear-gradient(180deg, #1b1b1b 0%, #0b0b0b 55%, #000 100%);
}

/* vignette soft */
.lp-behance::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(1200px 700px at 50% 20%, rgba(0, 0, 0, .0), rgba(0, 0, 0, .55) 72%);
    opacity: .9;
    z-index: 0;
}

.lp-behance__inner {
    position: relative;
    z-index: 1;
}

.lp-behance__head {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    align-items: flex-end;
    margin-bottom: 28px;
}

.lp-behance__headLeft {
    width: min(640px, 55%);
}

.lp-behance__headRight {
    width: min(420px, 40%);
}


.lp-behance__kicker {
    color: rgba(184, 255, 61, .9);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.lp-behance__title {
    margin: 0;
    text-transform: uppercase;
    font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    font-size: clamp(34px, 3.55vw, 58px); /* STESSA SCALA DEL PROCESS */
    color: #fff;
}


.lp-behance__sub {
    margin: 0;
    color: rgba(255, 255, 255, .70);
    font-size: 14px;
    line-height: 1.6;
    max-width: 720px;
}

@media (max-width: 991.98px) {
    .lp-behance__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .lp-behance__headLeft,
    .lp-behance__headRight {
        width: 100%;
    }
}

.lp-behance-card {
    border-radius: 18px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .06);
    overflow: hidden;
}

.lp-behance-card__media {
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, .03);
}

.lp-behance-card__media iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.lp-behance-card__body {
    padding: 0.75rem 0.9rem 0.7rem;
}

.lp-behance-card__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, .92);
}

/* (opzionale) se il placeholder cookie è troppo “chiaro” su dark */
.lp-behance .cookie-embed__text {
    color: rgba(255, 255, 255, .70);
}

/* =========================
   BEHANCE: REVEAL + STAGGER
========================= */

.lp-behance [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 650ms ease,
    transform 650ms cubic-bezier(.2, .9, .2, 1);
    will-change: opacity, transform;
}

.lp-behance.is-inview [data-reveal] {
    opacity: 1;
    transform: translateY(0);
}

/* header stagger */
.lp-behance.is-inview [data-reveal="kicker"] {
    transition-delay: 60ms;
}

.lp-behance.is-inview [data-reveal="title"] {
    transition-delay: 140ms;
}

.lp-behance.is-inview [data-reveal="sub"] {
    transition-delay: 220ms;
}

/* cards stagger via CSS variable */
.lp-behance [data-card] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 700ms ease,
    transform 700ms cubic-bezier(.2, .9, .2, 1);
    transition-delay: var(--card-delay, 0ms);
    will-change: opacity, transform;
}

.lp-behance.is-inview [data-card] {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   BEHANCE: CARD MICRO-INTERACTIONS
========================= */

.lp-behance-card {
    border-radius: 18px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .08);
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
    transition: transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

/* subtle “shine” */
.lp-behance-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    pointer-events: none;
    background: radial-gradient(420px 220px at 20% 0%, rgba(255, 255, 255, .10), transparent 55%),
    radial-gradient(420px 220px at 80% 30%, rgba(184, 255, 61, .10), transparent 60%);
    opacity: .0;
    transition: opacity 180ms ease;
}

.lp-behance-card:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 255, 61, .20);
    background: rgba(255, 255, 255, .035);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .55);
}

.lp-behance-card:hover::before {
    opacity: .9;
}

.lp-behance-card__title {
    transition: color 180ms ease;
}

.lp-behance-card:hover .lp-behance-card__title {
    color: rgba(255, 255, 255, .98);
}

/* media area */
.lp-behance-card__media {
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, .03);
    position: relative;
}

/* optional: faint top border on media */
.lp-behance-card__media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: rgba(255, 255, 255, .08);
}

/* accessibility */
@media (prefers-reduced-motion: reduce) {
    .lp-behance [data-reveal],
    .lp-behance [data-card],
    .lp-behance-card,
    .lp-behance-card::before {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* =========================
   LANDING: PRICING SECTION
========================= */

.lp-pricing {
    padding: clamp(64px, 8vh, 110px) 0;
    color: #eaeaea;
    position: relative;
    overflow: hidden;

    /* background “olive/lime haze” come mock */
    background: radial-gradient(900px 560px at 50% -10%, rgba(184, 255, 61, .12), transparent 62%),
    radial-gradient(1100px 700px at 50% 110%, rgba(0, 0, 0, 0), rgba(0, 0, 0, .78) 62%),
    linear-gradient(180deg, #0b0b0b 0%, #000 55%, #000 100%);
}

.lp-pricing::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(1200px 760px at 50% 15%, rgba(0, 0, 0, 0), rgba(0, 0, 0, .58) 74%);
    opacity: .95;
    z-index: 0;
}

.lp-pricing__inner {
    position: relative;
    z-index: 1;
}

.lp-pricing__head {
    margin-bottom: clamp(24px, 3vh, 42px);
}

.lp-pricing__kicker {
    color: rgba(184, 255, 61, .9);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.lp-pricing__title {
    margin: 0;
    font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    font-size: clamp(58Xpx, 3.3vw, 60px);
    color: #fff;
}

.lp-pricing__sub {
    margin: 10px auto 0;
    color: rgba(255, 255, 255, .70);
    font-size: 14px;
    line-height: 1.6;
    max-width: 720px;
}

/* Cards */
.lp-pricing__grid > [data-plan] {
    display: flex;
}

.lp-plan {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .10);
    overflow: hidden;
    padding: 22px 22px 18px;
    position: relative;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.lp-plan::before {
    content: "";
    position: absolute;
    inset: -2px;
    pointer-events: none;
    background: radial-gradient(520px 260px at 20% 0%, rgba(255, 255, 255, .10), transparent 58%),
    radial-gradient(520px 260px at 80% 25%, rgba(184, 255, 61, .10), transparent 64%);
    opacity: .0;
    transition: opacity 180ms ease;
}

.lp-plan:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 255, 61, .22);
    background: rgba(255, 255, 255, .055);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .55);
}

.lp-plan:hover::before {
    opacity: .85;
}

.lp-plan__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lp-plan__name {
    margin: 0;
    font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 1.6vw, 24px);
    letter-spacing: -0.01em;
    color: #fff;
}

.lp-plan__pill {
    font-size: 10px;
    letter-spacing: .06em;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(184, 255, 61, .18);
    border: 1px solid rgba(184, 255, 61, .35);
    color: rgba(184, 255, 61, .95);
    text-transform: uppercase;
    white-space: nowrap;
}

.lp-plan__tag {
    font-size: 10px;
    letter-spacing: .06em;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .82);
    text-transform: uppercase;
    white-space: nowrap;
}

.lp-plan__desc {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .68);
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.55;
}

.lp-plan__divider {
    margin: 16px 0 14px;
    height: 1px;
    background: rgba(255, 255, 255, .10);
}

.lp-plan__priceBox {
    margin-bottom: 14px;
}

.lp-plan__was {
    font-size: clamp(12px, 1.1vw, 13px);
    color: rgba(255, 255, 255, .55);
    margin-bottom: 6px;
}

.lp-plan__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.lp-plan__priceValue {
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: clamp(36px, 3vw, 42px);
    color: rgba(184, 255, 61, .95);
}

.lp-plan__priceUnit {
    font-weight: 700;
    font-size: clamp(14px, 1.4vw, 16px);
    color: rgba(184, 255, 61, .95);
}

.lp-plan__min {
    margin-top: 6px;
    font-size: clamp(12px, 1.1vw, 13px);
    color: rgba(255, 255, 255, .55);
}

.lp-plan__list {
    list-style: none;
    padding: 0;
    margin: 14px 0 18px;
    display: grid;
    gap: 10px;
    flex: 1;
}

.lp-plan__list li {
    color: rgba(255, 255, 255, .78);
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.4;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.lp-plan__plus {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(184, 255, 61, .18);
    border: 1px solid rgba(184, 255, 61, .35);
    color: rgba(184, 255, 61, .95);
    font-weight: 800;
    flex: 0 0 18px;
    margin-top: 1px;
}

.lp-plan__actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-plan__btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    border-radius: 10px;
    background: rgba(184, 255, 61, .18);
    border: 1px solid rgba(184, 255, 61, .35);
    color: rgba(184, 255, 61, .95);
    font-weight: 700;
    font-size: clamp(12px, 1.1vw, 14px);
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.lp-plan__btn:hover {
    transform: translateY(-1px);
    background: rgba(184, 255, 61, .22);
    border-color: rgba(184, 255, 61, .45);
}

.lp-plan__btn--solid {
    background: rgba(184, 255, 61, .95);
    border-color: rgba(184, 255, 61, .95);
    color: #0b0b0b;
}

.lp-plan__btn--solid:hover {
    background: rgba(184, 255, 61, .98);
    border-color: rgba(184, 255, 61, .98);
}

.lp-plan__social {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    color: rgba(184, 255, 61, .85);
    font-weight: 800;
    letter-spacing: .02em;
    user-select: none;
    opacity: .9;
}

.lp-plan__socialIcon {
    width: 22px;
    height: 22px;
}

/* Featured card (middle) */
.lp-plan--featured {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(184, 255, 61, .22);
    box-shadow: 0 16px 50px rgba(0, 0, 0, .55);
}

@media (min-width: 992px) {
    .lp-plan--featured {
        transform: translateY(-8px);
    }

    .lp-plan--featured:hover {
        transform: translateY(-12px);
    }
}

/* =========================
   PRICING: REVEAL + STAGGER
========================= */

.lp-pricing [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 650ms ease, transform 650ms cubic-bezier(.2, .9, .2, 1);
    will-change: opacity, transform;
}

.lp-pricing.is-inview [data-reveal] {
    opacity: 1;
    transform: translateY(0);
}

.lp-pricing.is-inview [data-reveal="kicker"] {
    transition-delay: 60ms;
}

.lp-pricing.is-inview [data-reveal="title"] {
    transition-delay: 140ms;
}

.lp-pricing.is-inview [data-reveal="sub"] {
    transition-delay: 220ms;
}

.lp-pricing [data-plan] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .9, .2, 1);
    transition-delay: var(--plan-delay, 0ms);
    will-change: opacity, transform;
}

.lp-pricing.is-inview [data-plan] {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .lp-pricing [data-reveal],
    .lp-pricing [data-plan],
    .lp-plan,
    .lp-plan::before {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* =========================
   LANDING: FAQ SECTION
========================= */

.lp-faq {
    padding: clamp(70px, 9vh, 120px) 0;
    background: #ffffff;
    color: #0b0b0b;
}

.lp-faq__inner {
    max-width: 900px;
}

.lp-faq__head {
    margin-bottom: clamp(18px, 3vh, 28px);
}

.lp-faq__title {
    margin: 0;
    font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    font-size: clamp(34px, 3.2vw, 54px);
    color: #0b0b0b;
}

.lp-faq__sub {
    margin: 8px 0 0;
    color: rgba(0, 0, 0, .65);
    font-size: clamp(15px, 1.4vw, 18px);
}

/* list layout */
.lp-faq__list {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.lp-faq__item {
    background: #0b0b0b;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .12);
}

/* question row (button) */
.lp-faq__q {
    width: 100%;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    cursor: pointer;
}

.lp-faq__qText {
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-weight: 600;
    font-size: clamp(16px, 1.4vw, 18px);
    letter-spacing: -0.01em;
}

/* green circle icon with chevron */
.lp-faq__icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(184, 255, 61, .95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    position: relative;
    box-shadow: 0 10px 26px rgba(184, 255, 61, .18);
}

.lp-faq__icon::before {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid #0b0b0b;
    border-bottom: 2px solid #0b0b0b;
    transform: rotate(45deg); /* default: freccia giù (chiuso) */
    transition: transform 180ms ease;
    position: relative;
    top: -1px;
}

/* open state: freccia su */
.lp-faq__item.is-open .lp-faq__icon::before {
    transform: rotate(-135deg);
    top: 2px;
}

/* answer panel */
.lp-faq__a {
    padding: 0 24px 22px;
}

.lp-faq__a p {
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: clamp(14px, 1.25vw, 16px);
    line-height: 1.6;
    max-width: 640px;
}

/* hover micro */
.lp-faq__item:hover {
    box-shadow: 0 22px 56px rgba(0, 0, 0, .16);
}

.lp-faq__q:focus-visible {
    outline: 2px solid rgba(184, 255, 61, .55);
    outline-offset: 3px;
    border-radius: 14px;
}

/* =========================
   FAQ: REVEAL ON SCROLL
========================= */
.lp-faq [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 650ms ease, transform 650ms cubic-bezier(.2, .9, .2, 1);
    will-change: opacity, transform;
}

.lp-faq.is-inview [data-reveal] {
    opacity: 1;
    transform: translateY(0);
}

.lp-faq.is-inview [data-reveal="title"] {
    transition-delay: 80ms;
}

.lp-faq.is-inview [data-reveal="sub"] {
    transition-delay: 160ms;
}

.lp-faq.is-inview [data-reveal="list"] {
    transition-delay: 240ms;
}

/* accessibility */
@media (prefers-reduced-motion: reduce) {
    .lp-faq [data-reveal],
    .lp-faq__icon::before {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

@media (max-width: 991.98px) {
    .lp-behance,
    .lp-pricing,
    .lp-faq {
        padding: clamp(48px, 6vh, 80px) 0;
    }

    .lp-pricing__grid {
        row-gap: 18px;
    }

    .lp-plan {
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .lp-pricing__title {
        font-size: clamp(26px, 7vw, 34px);
    }

    .lp-plan__name {
        font-size: 20px;
    }

    .lp-plan__priceValue {
        font-size: clamp(32px, 9vw, 36px);
    }
}
