/* =================================
   TICINO MULTISERVICE — PROFESSIONAL MINIMAL
   ================================= */

:root {
    --brand: #c0522e;          /* arancio CTA */
    --brand-dark: #9a3f20;
    --blue: #2c5d8a;            /* blu accent */
    --ink: #0f172a;             /* nero testo */
    --ink-2: #1e293b;
    --muted: #64748b;
    --line: #e5e7eb;
    --bg: #ffffff;
    --bg-alt: #f8f9fb;
    --bg-dark: #0f172a;
    --max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
}

/* === NAVBAR (capsule fissa, raffinata) === */
.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: calc(100% - 32px);
    max-width: 1040px;
    transition: top 0.3s cubic-bezier(.4,0,.2,1), max-width 0.3s cubic-bezier(.4,0,.2,1);
}
.navbar.scrolled {
    top: 10px;
    max-width: 960px;
}
.nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    height: 72px;
    padding: 0 18px 0 22px;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    box-shadow:
        0 14px 40px -20px rgba(15, 23, 42, 0.35),
        0 1px 0 rgba(255, 255, 255, 0.6) inset;
    transition: height 0.3s cubic-bezier(.4,0,.2,1), background 0.3s;
}
.navbar.scrolled .nav-inner {
    height: 62px;
    background: rgba(255, 255, 255, 0.88);
}

/* Logo nel navbar — sfondo trasparente, centrato perfettamente */
.logo {
    display: inline-flex;
    align-items: center;
    color: #fff;
    justify-self: center;
}
.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(.4,.1,.3,1);
}
.navbar.scrolled .logo-badge { height: 42px; }
.logo:hover .logo-badge { transform: scale(1.04); }
.logo-badge img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.15));
}

/* badge grande per menu overlay — anch'esso trasparente */
.logo-badge-lg {
    height: 72px;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
}
.logo-text {
    display: none;
    flex-direction: column;
    line-height: 1.1;
}
.logo-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}
.logo-text em {
    font-size: 10.5px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    margin-top: 2px;
}
@media (min-width: 640px) { .logo-text { display: inline-flex; } }

/* Toggle Menu — testo + 2 linee orizzontali, pulito e minimal */
.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(15, 23, 42, 0.78);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s, gap 0.25s;
    -webkit-tap-highlight-color: transparent;
    justify-self: start;
}
.nav-toggle:hover { color: var(--brand); gap: 14px; }
.nav-toggle-bars {
    position: relative;
    width: 22px; height: 12px;
    display: block;
    flex-shrink: 0;
}
.nav-toggle-bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1),
                top 0.3s cubic-bezier(.4,0,.2,1),
                opacity 0.2s, width 0.3s;
}
.nav-toggle-bars span:nth-child(1) { top: 2px; }
.nav-toggle-bars span:nth-child(2) { top: 50%; transform: translateY(-50%); width: 70%; }
.nav-toggle-bars span:nth-child(3) { top: calc(100% - 2px); width: 85%; }
.nav-toggle:hover .nav-toggle-bars span:nth-child(2),
.nav-toggle:hover .nav-toggle-bars span:nth-child(3) { width: 100%; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
    top: 50%; transform: translateY(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
    opacity: 0; width: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
    top: 50%; transform: translateY(-50%) rotate(-45deg); width: 100%;
}
.nav-toggle-label { white-space: nowrap; }
@media (max-width: 560px) { .nav-toggle-label { display: none; } }

/* CTA "Preventivo" — più rifinita */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 11px 20px;
    border-radius: 999px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.25s;
    box-shadow: 0 6px 18px -6px rgba(192, 82, 46, 0.8),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    justify-self: end;
    position: relative;
    overflow: hidden;
}
.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 40%);
    pointer-events: none;
}
.nav-cta:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -6px rgba(192, 82, 46, 0.85),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.nav-cta svg { transition: transform 0.25s; position: relative; }
.nav-cta:hover svg { transform: translateX(3px); }

/* === MENU OVERLAY (full-screen, raffinato) === */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 250;             /* sopra il cookie banner (200) */
    background:
        radial-gradient(ellipse 80% 60% at 30% 20%, rgba(44, 93, 138, 0.25), transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(192, 82, 46, 0.12), transparent 60%),
        linear-gradient(165deg, #08111f 0%, #0f1c30 60%, #16273f 100%);
    display: grid;
    grid-template-rows: auto 1fr;
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s cubic-bezier(.4,0,.2,1), visibility .28s;
    overflow-y: auto;
    overscroll-behavior: contain;          /* lo scroll non passa alla pagina sotto */
    -webkit-overflow-scrolling: touch;
}
/* tap rapido su tutti gli elementi interattivi del menu */
.menu-overlay a,
.menu-overlay button { touch-action: manipulation; }
.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Top bar dell'overlay — stesse proporzioni del navbar (3 colonne) */
.menu-overlay-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 22px clamp(24px, 4vw, 48px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.menu-brand {
    display: inline-flex;
    align-items: center;
    color: #fff;
    justify-self: center;
    grid-column: 2;
}
.menu-brand .logo-badge-lg {
    height: 58px;
    width: auto;
    display: inline-flex;
}
.menu-brand .logo-badge-lg img {
    height: 58px;
    width: auto;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
}
.menu-brand strong, .menu-brand em { display: none; }

.menu-close {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.88);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s, gap 0.25s;
    justify-self: start;
    grid-column: 1;
}
.menu-close:hover { color: #fff; gap: 14px; }
.menu-close-label { white-space: nowrap; }

.menu-top-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: rgba(192, 82, 46, 0.12);
    border: 1px solid rgba(192, 82, 46, 0.3);
    border-radius: 999px;
    color: var(--brand);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    justify-self: end;
    grid-column: 3;
}
.menu-top-call:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}
.menu-close-x {
    position: relative;
    width: 14px; height: 14px;
}
.menu-close-x::before,
.menu-close-x::after {
    content: '';
    position: absolute;
    top: 50%; left: 0;
    width: 100%; height: 1.5px;
    background: currentColor;
    border-radius: 1px;
}
.menu-close-x::before { transform: rotate(45deg); }
.menu-close-x::after { transform: rotate(-45deg); }

/* Body dell'overlay — nav grande + aside contatti */
.menu-overlay-body {
    display: grid;
    grid-template-columns: 1fr;
    padding: clamp(24px, 5vw, 72px) clamp(20px, 4vw, 48px);
    gap: clamp(32px, 5vw, 64px);
    align-content: center;
}
@media (min-width: 900px) {
    .menu-overlay-body { grid-template-columns: 1.4fr 1fr; align-items: center; }
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.menu-nav a {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
    padding: clamp(16px, 2.2vw, 24px) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.78);
    font-family: inherit;
    font-size: clamp(30px, 5.2vw, 58px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    opacity: 0;
    transform: translateY(24px);
    transition: color 0.25s, padding 0.3s cubic-bezier(.4,0,.2,1);
}
.menu-overlay.open .menu-nav a {
    animation: menu-item-in .6s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: var(--mi, 0s);
}
@keyframes menu-item-in {
    to { opacity: 1; transform: translateY(0); }
}
.menu-nav a:hover {
    color: #fff;
    padding-left: 18px;
}
.menu-nav a:hover .idx { color: var(--brand); }
.menu-nav a::after {
    content: '→';
    font-size: 0.5em;
    color: var(--brand);
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.3s, transform 0.3s cubic-bezier(.4,0,.2,1);
    align-self: center;
}
.menu-nav a:hover::after { opacity: 1; transform: translateX(0); }
.menu-nav .idx {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: clamp(11px, 1vw, 13px);
    color: rgba(255, 255, 255, 0.32);
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.25s;
}

/* Aside contatti */
.menu-aside {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: clamp(24px, 3vw, 36px);
}
.menu-eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: rgba(192, 82, 46, 0.12);
    padding: 5px 10px;
    border-radius: 6px;
    margin-bottom: 16px;
}
.menu-aside h4 {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
}
.menu-aside p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.menu-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    transition: color 0.2s;
}
.menu-contact:last-of-type { border-bottom: none; }
.menu-contact:hover { color: var(--brand); }
.menu-contact-strong {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.menu-contact-strong:hover { color: var(--brand); }
.menu-address {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    line-height: 1.6;
}

/* Lock scroll a prova di bomba: il body viene fissato così la pagina sotto
   non scrolla mai (nemmeno con Lenis, trackpad, frecce, spazio o scrollbar) */
body.menu-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

/* === SEZIONI FULL-PAGE (restored) === */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0;
}

/* === POLICY PAGES (privacy / cookie-policy) === */
.policy-page {
    padding: 140px 0 80px;
    background: var(--bg);
    min-height: 100vh;
}
.policy-article {
    max-width: 780px;
}
.policy-head {
    margin-bottom: 56px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
}
.policy-back {
    display: inline-block;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
    transition: color 0.2s;
}
.policy-back:hover { color: var(--brand); }
.policy-meta {
    display: block;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}
.policy-head h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 18px;
}
.policy-lead {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.65;
}
.policy-article section {
    margin-bottom: 40px;
}
.policy-article h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 14px;
}
.policy-article h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 24px;
    margin-bottom: 8px;
}
.policy-article p {
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 14px;
}
.policy-article ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
    color: var(--ink-2);
}
.policy-article li {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 6px;
}
.policy-article a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 0.2s;
}
.policy-article a:hover { color: var(--brand-dark); }
.policy-article code {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 13px;
    background: var(--bg-alt);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--ink);
}
.policy-article strong { color: var(--ink); font-weight: 600; }

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 32px 80px;
    color: #fff;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(12, 15, 22, 0.82) 0%, rgba(12, 15, 22, 0.78) 100%),
        url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max);
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    backdrop-filter: blur(8px);
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(40px, 6.5vw, 84px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
    max-width: 1000px;
}
.hero-title-accent {
    color: var(--brand);
    font-style: italic;
    font-weight: 700;
}
.hero-title-logo {
    margin-bottom: 36px;
    line-height: 0;
}
.hero-title-logo img {
    width: clamp(280px, 50vw, 620px);
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.45));
}

.hero-lead {
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 80px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 8px 24px rgba(192, 82, 46, 0.32);
}
.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(192, 82, 46, 0.42);
}
.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 800px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-meta div {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}
.hero-meta strong {
    display: block;
    font-size: clamp(24px, 2.5vw, 32px);
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

/* === SECTIONS background variants === */
.section-about, .section-process, .section-team {
    background: var(--bg);
}
.section-services, .section-reviews, .section-faq {
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    max-width: 720px;
    margin-bottom: 64px;
}
.section-num {
    display: inline-block;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 13px;
    color: var(--brand);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    padding: 4px 10px;
    background: rgba(192, 82, 46, 0.08);
    border-radius: 6px;
}
.section-title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 20px;
    text-wrap: balance;
}
.section-lead {
    font-size: clamp(15px, 1.2vw, 17px);
    color: var(--muted);
    line-height: 1.6;
    max-width: 580px;
}

/* === 01 ABOUT === */
.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: start;
}
.about-text p {
    color: var(--ink-2);
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.7;
}
.about-lead {
    font-size: 19px !important;
    color: var(--ink) !important;
    font-weight: 500;
    line-height: 1.55 !important;
}
.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
}
.about-points li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 20px;
    border-top: 2px solid var(--brand);
}
.about-points li strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.about-points li > span {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
}

/* === 02 SERVICES === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 36px 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
    border-color: var(--blue);
}
.service-num {
    display: inline-block;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 13px;
    color: var(--brand);
    margin-bottom: 16px;
    font-weight: 500;
}
.service-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.service-card > p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.service-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.service-card li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.5;
}
.service-card li::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 14px; height: 2px;
    background: var(--brand);
}

/* === SERVICES CTA — bridge alla pagina completa === */
.services-cta {
    margin-top: 48px;
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(192, 82, 46, 0.06), rgba(44, 93, 138, 0.04));
    border: 1px solid var(--line);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.services-cta p {
    font-size: 16px;
    color: var(--ink-2);
    margin: 0;
}
.services-cta strong {
    color: var(--ink);
    font-weight: 600;
}
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s, gap 0.25s;
    white-space: nowrap;
}
.btn-link:hover {
    background: var(--brand);
    transform: translateY(-1px);
    gap: 14px;
}
.btn-link svg { transition: transform 0.25s; flex-shrink: 0; }

/* === SERVICES DETAIL PAGE === */
.services-page {
    padding: 140px 0 80px;
    background: var(--bg);
}
.services-page-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 72px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line);
}
.services-page-head .eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
    padding: 5px 12px;
    background: rgba(192, 82, 46, 0.08);
    border-radius: 6px;
}
.services-page-head h1 {
    font-size: clamp(38px, 5.5vw, 60px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 22px;
    text-wrap: balance;
}
.services-page-head p {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto;
}

.service-category {
    max-width: 1000px;
    margin: 0 auto 72px;
}
.service-category-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 14px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--ink);
}
.service-category-num {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 22px;
    font-weight: 500;
    color: var(--brand);
}
.service-category h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.service-category-lead {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 720px;
}
.service-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 40px;
    list-style: none;
    padding: 0;
}
.service-items li {
    position: relative;
    padding: 6px 0 6px 24px;
    font-size: 15px;
    color: var(--ink-2);
    line-height: 1.55;
}
.service-items li::before {
    content: '';
    position: absolute;
    left: 0; top: 14px;
    width: 14px;
    height: 2px;
    background: var(--brand);
    border-radius: 1px;
}

/* CTA finale nella pagina servizi */
.services-page-cta {
    max-width: 1000px;
    margin: 80px auto 0;
    padding: 48px 40px;
    background: var(--ink);
    color: #fff;
    border-radius: 18px;
    text-align: center;
}
.services-page-cta h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 12px;
}
.services-page-cta p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.services-page-cta .cta-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* === 03 PROCESS === */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    counter-reset: process;
}
.process-step {
    position: relative;
    padding-top: 64px;
}
.process-step::before {
    content: '';
    position: absolute;
    top: 24px; left: 0; right: 0;
    height: 1px;
    background: var(--line);
}
.process-step:first-child::before { left: 24px; }
.process-step:last-child::before { right: 24px; }
.process-num {
    position: absolute;
    top: 0; left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    background: var(--ink);
    color: #fff;
    border-radius: 50%;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 14px;
    font-weight: 600;
}
.process-step h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.process-step p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* === REVIEWS === */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
/* Marquee orizzontale infinito (mobile, costruito da JS) */
@keyframes review-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.review {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.review-stars {
    color: #f59e0b;
    font-size: 16px;
    letter-spacing: 2px;
}
.review p {
    font-size: 15px;
    color: var(--ink-2);
    line-height: 1.6;
    font-style: italic;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.review-author strong {
    display: block;
    font-size: 14px;
    color: var(--ink);
    font-weight: 600;
}
.review-author span {
    font-size: 12px;
    color: var(--muted);
}

/* === 05 TEAM === */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 720px;
}
.team-card {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 40px;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.team-avatar {
    width: 96px; height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--ink));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
}
.team-info strong {
    display: block;
    font-size: 22px;
    color: var(--ink);
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.team-info > span {
    display: block;
    font-size: 13px;
    color: var(--brand);
    font-weight: 500;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.team-info p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
}

/* === 06 FAQ === */
.faq-list {
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq-list details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px 26px;
    transition: border-color 0.2s, background 0.2s;
}
.faq-list details[open] {
    border-color: var(--blue);
    background: #fff;
}
.faq-list summary {
    list-style: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--muted);
    transition: transform 0.2s, color 0.2s;
}
.faq-list details[open] summary::after {
    content: '−';
    color: var(--brand);
}
.faq-list details p {
    margin-top: 14px;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.65;
}

/* === 07 CONTACT === */
.section-contact { background: var(--bg-dark); color: #fff; }
.section-contact .section-num { background: rgba(192, 82, 46, 0.15); }
.section-contact .section-title { color: #fff; }
.section-contact .section-lead { color: rgba(255, 255, 255, 0.65); }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.contact-card {
    display: flex;
    flex-direction: column;
    padding: 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}
.contact-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}
.contact-card-primary {
    background: var(--brand);
    border-color: var(--brand);
}
.contact-card-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}
.contact-card-info {
    cursor: default;
}
.contact-card-info:hover {
    transform: none;
}
.contact-card-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 12px;
    font-weight: 600;
}
.contact-card-label svg { flex-shrink: 0; }
.contact-card-whatsapp .contact-card-label svg { color: #25D366; }
.contact-card-primary .contact-card-label { color: rgba(255, 255, 255, 0.8); }
.contact-card-value {
    font-size: clamp(20px, 2vw, 26px);
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    word-break: break-word;
}
.contact-card-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}
.contact-card-primary .contact-card-hint { color: rgba(255, 255, 255, 0.8); }

/* === FOOTER === */
.footer {
    background: #fff;
    padding: 80px 0 32px;
    border-top: 1px solid var(--line);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 56px;
}
.footer-brand img {
    height: 60px;
    width: auto;
    mix-blend-mode: multiply;
    margin-bottom: 16px;
}
.footer-brand p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 280px;
}
.footer h6 {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}
.footer a, .footer span {
    display: block;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 10px;
    transition: color 0.15s;
}
.footer a:hover { color: var(--brand); }
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-legal {
    display: flex;
    gap: 22px;
}
.footer-legal a {
    display: inline-block;
    margin: 0;
}

/* === CONSENT / COOKIE / MODAL === */
.cookie-banner {
    position: fixed;
    bottom: 24px; left: 24px; right: 24px;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 22px;
    z-index: 200;
    display: none;
}
.cookie-banner.show { display: block; animation: slideUp 0.4s ease-out; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.cookie-content {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 300px; }
.cookie-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.cookie-text p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.cookie-text a { color: var(--blue); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
    padding: 11px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.cookie-reject {
    background: transparent;
    color: var(--muted);
    border-color: var(--line);
}
.cookie-reject:hover { background: var(--bg-alt); color: var(--ink); }
.cookie-settings { background: var(--bg-alt); color: var(--ink); }
.cookie-settings:hover { background: #ecedef; }
.cookie-accept { background: var(--ink); color: #fff; }
.cookie-accept:hover { background: var(--brand); }

.modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.show { display: flex; }
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
}
.modal-box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    max-width: 520px;
    width: 100%;
    max-height: 86vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.modal-box-wide { max-width: 720px; }
.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg-alt);
    font-size: 22px;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s;
}
.modal-close:hover { background: #ecedef; }
.modal-box h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; color: var(--ink); letter-spacing: -0.01em; }
.modal-box h5 { font-size: 14px; font-weight: 700; margin-top: 18px; margin-bottom: 6px; color: var(--ink); }
.modal-desc { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.modal-box p { font-size: 14px; color: var(--ink-2); line-height: 1.65; margin-bottom: 10px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.cookie-option:last-of-type { border-bottom: none; }
.cookie-option h5 { margin-top: 0; margin-bottom: 4px; }
.cookie-option p { font-size: 13px; color: var(--muted); margin: 0; }
.switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #cbd5e1;
    border-radius: 999px;
    transition: background 0.2s;
}
.switch .slider::before {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    left: 3px; bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
.switch input:checked + .slider { background: var(--brand); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:disabled + .slider { opacity: 0.6; cursor: not-allowed; }

/* === REVEAL ANIMATIONS (intersection-observer, stesso pattern di FY) === */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity .9s cubic-bezier(.22,1,.36,1),
        transform .9s cubic-bezier(.22,1,.36,1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
[data-reveal="rise"] { transform: translateY(44px); }
[data-reveal="fade"] { transform: translateY(14px); }
[data-reveal="scale"] { transform: translateY(20px) scale(.96); transform-origin: center bottom; }
[data-reveal].is-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* === HERO ENTRANCE — typewriter + cascade controllati da JS === */
.hero-title.typewriter {
    /* il titolo è subito visibile (vuoto), il JS scrive i caratteri */
    min-height: 1.1em;
}
.type-text { white-space: pre-wrap; }
.type-caret {
    display: inline-block;
    width: 3px;
    height: 0.78em;
    background: var(--brand);
    margin-left: 5px;
    vertical-align: -2%;
    border-radius: 1px;
    animation: caret-pulse .9s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(192, 82, 46, 0.5);
}
@keyframes caret-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* Lead e CTA partono nascosti, si svelano quando il JS marca .is-typed */
.hero-content .hero-lead,
.hero-content .hero-cta {
    opacity: 0;
    transform: translateY(22px);
    pointer-events: none;        /* evita tap accidentali mentre è invisibile */
    transition:
        opacity .85s cubic-bezier(.22,1,.36,1),
        transform .85s cubic-bezier(.22,1,.36,1);
}
.hero-content.is-typed .hero-lead,
.hero-content.is-typed .hero-cta {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.hero-content.is-typed .hero-cta { transition-delay: .18s; }

/* fallback: se per qualche motivo il typewriter non parte, mostra subito */
.no-js .hero-content .hero-lead,
.no-js .hero-content .hero-cta {
    opacity: 1; transform: none; pointer-events: auto;
}

/* === NAVBAR ENTRANCE === */
@keyframes nav-drop {
    from { opacity: 0; transform: translate(-50%, -16px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}
.navbar { animation: nav-drop .7s cubic-bezier(.22,1,.36,1) .1s both; }

/* === FAQ smooth open === */
.faq-list details p {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .25s ease, transform .25s ease;
}
.faq-list details[open] p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .08s;
}

/* === Riduzione movimento === */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    .navbar { animation: none !important; opacity: 1 !important; }
    .hero-content .hero-lead,
    .hero-content .hero-cta { opacity: 1 !important; transform: none !important; }
    .type-caret { display: none !important; }
}

/* === RESPONSIVE === */
/* === TABLET (≤960px) === */
@media (max-width: 960px) {
    .container { padding: 0 24px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .process-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
    .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .team-card { flex-direction: column; text-align: center; gap: 20px; padding: 32px 24px; }
    .menu-overlay-body { grid-template-columns: 1fr; gap: 32px; }
}

/* === MOBILE (≤640px) === */
@media (max-width: 640px) {
    html { scroll-padding-top: 0; }
    .container { padding: 0 18px; }

    /* Navbar capsule — più compatta su mobile */
    .navbar { top: 10px; width: calc(100% - 16px); }
    .navbar.scrolled { top: 8px; }
    .nav-inner { height: 58px; padding: 0 14px 0 16px; gap: 8px; }
    .navbar.scrolled .nav-inner { height: 54px; }
    .logo-badge { height: 40px; }
    .navbar.scrolled .logo-badge { height: 36px; }
    .nav-toggle { padding: 8px 2px; gap: 0; }
    .nav-toggle-bars { width: 20px; }
    .nav-cta { padding: 9px 14px; font-size: 12px; gap: 6px; }
    .nav-cta span { display: inline; }
    .nav-cta svg { display: none; }

    /* Hero */
    .hero { padding: 110px 20px 70px; min-height: 100vh; align-items: center; text-align: center; }
    .hero-title { font-size: clamp(32px, 9vw, 44px); line-height: 1.05; margin-bottom: 18px; }
    .hero-title-logo { margin: 0 auto 28px; }
    .hero-title-logo img { width: clamp(240px, 78vw, 380px); margin: 0 auto; }
    .hero-title-accent { display: inline; }
    .hero-lead { font-size: 15px; line-height: 1.55; margin: 0 auto 28px; max-width: 480px; }
    .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 0; }
    .btn { justify-content: center; padding: 14px 20px; font-size: 14px; }

    /* Sezioni */
    .section { padding: 80px 0; min-height: auto; }
    .section-head { margin-bottom: 40px; }
    .section-title { font-size: clamp(28px, 7vw, 36px); }
    .section-lead { font-size: 14px; }
    .section-num { font-size: 12px; margin-bottom: 14px; }

    /* About */
    .about-lead { font-size: 17px !important; }
    .about-text p { font-size: 15px; }
    .about-points { grid-template-columns: 1fr; gap: 20px; }
    .about-points li { padding-top: 16px; }
    .about-points li strong { font-size: 15px; }
    .about-points li > span { font-size: 13.5px; }

    /* Services CTA */
    .services-cta { flex-direction: column; align-items: flex-start; padding: 22px 22px; gap: 14px; }
    .services-cta p { font-size: 14px; }
    .btn-link { width: 100%; justify-content: center; }

    /* Services detail page */
    .services-page { padding: 110px 0 60px; }
    .services-page-head { margin-bottom: 48px; padding-bottom: 32px; }
    .services-page-head h1 { font-size: 32px; }
    .services-page-head p { font-size: 15px; }
    .service-category { margin-bottom: 52px; }
    .service-category-head { gap: 12px; padding-bottom: 12px; }
    .service-items { grid-template-columns: 1fr; gap: 4px; }
    .services-page-cta { padding: 32px 22px; margin-top: 56px; }

    /* Servizi */
    .service-card { padding: 28px 24px; }
    .service-card h3 { font-size: 22px; }

    /* Processo */
    .process-grid { grid-template-columns: 1fr; gap: 28px; }
    .process-step { padding-top: 56px; }
    .process-step::before { display: none; }

    /* Reviews mobile — marquee infinito */
    .reviews-grid.is-marquee {
        display: block;
        overflow: hidden;
        margin-inline: -18px;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
                mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    }
    .reviews-marquee-track {
        display: flex;
        width: max-content;
        gap: 14px;
        animation: review-marquee var(--marquee-dur, 36s) linear infinite;
        animation-play-state: paused;
    }
    .reviews-grid.is-marquee.is-visible .reviews-marquee-track { animation-play-state: running; }
    .reviews-marquee-track .review {
        flex: 0 0 auto;
        width: 78vw;
        max-width: 320px;
        padding: 26px 22px;
    }
    .review { padding: 26px 22px; }

    /* Team */
    .team-card { padding: 28px 22px; }
    .team-avatar { width: 80px; height: 80px; font-size: 24px; }

    /* FAQ */
    .faq-list details { padding: 18px 20px; }
    .faq-list summary { font-size: 15px; }
    .faq-list details p { font-size: 14px; }

    /* Contatti */
    .contact-grid { grid-template-columns: 1fr; gap: 12px; }
    .contact-card { padding: 24px; }
    .contact-card-value { font-size: 18px; }

    /* Footer */
    .footer { padding: 60px 0 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
    .footer-brand img { height: 50px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
    .footer-legal { flex-wrap: wrap; gap: 14px; }

    /* Menu overlay — su mobile niente stagger, le voci appaiono subito col fade del pannello */
    .menu-nav a { opacity: 1 !important; transform: none !important; animation: none !important; }
    .menu-overlay-top { padding: 14px 16px; gap: 8px; }
    .menu-brand .logo-badge-lg,
    .menu-brand .logo-badge-lg img { height: 42px; }
    .menu-close { padding: 8px 2px; font-size: 12px; gap: 8px; }
    .menu-close-label { display: none; }
    .menu-top-call { padding: 8px 12px; font-size: 11px; }
    .menu-top-call span { display: none; }
    .menu-overlay-body { padding: 28px 22px 44px; gap: 32px; }
    .menu-nav a { font-size: clamp(28px, 8vw, 40px); padding: 14px 0; gap: 16px; }
    .menu-nav .idx { font-size: 11px; }
    .menu-aside { padding: 24px 20px; border-radius: 14px; }
    .menu-aside h4 { font-size: 19px; }
    .menu-aside p { font-size: 13px; }
    .menu-contact-strong { font-size: 16px; }

    /* Policy page */
    .policy-page { padding: 110px 0 60px; }
    .policy-head { margin-bottom: 40px; padding-bottom: 24px; }
    .policy-head h1 { font-size: 32px; }
    .policy-lead { font-size: 15px; }
    .policy-article h2 { font-size: 20px; }
    .policy-article p, .policy-article li { font-size: 15px; }
    .policy-article section { margin-bottom: 32px; }

    /* Cookie banner / Modal */
    .cookie-banner { bottom: 10px; left: 10px; right: 10px; padding: 16px; border-radius: 12px; }
    .cookie-content { flex-direction: column; align-items: stretch; gap: 14px; }
    .cookie-text h4 { font-size: 14px; }
    .cookie-text p { font-size: 12.5px; }
    .cookie-actions { flex-direction: column; gap: 8px; }
    .cookie-btn { width: 100%; padding: 12px 16px; }
    .modal { padding: 12px; }
    .modal-box { padding: 28px 22px; max-height: 90vh; border-radius: 14px; }
    .modal-box h3 { font-size: 20px; }
    .cookie-option { flex-direction: column; align-items: flex-start; gap: 12px; }
    .modal-actions { flex-direction: column-reverse; }
    .modal-actions .cookie-btn { width: 100%; }
}

/* === SMALL MOBILE (≤380px) === */
@media (max-width: 380px) {
    .nav-cta span { display: none; }
    .nav-cta { padding: 9px 11px; }
    .logo-badge { height: 36px; }
    .nav-inner { padding: 0 12px 0 14px; }
    .hero-title { font-size: 30px; }
    .hero-title-logo img { width: 90%; }
    .section-title { font-size: 26px; }
    .menu-nav a { font-size: 26px; }
}
