/* =========================================
   WEDDING SMART PLANNER - CHI SIAMO STYLES
   ========================================= */

/* ===== TOKENS ===== */
:root {
    --primary: #e6005c;
    --primary-dark: #c9004f;
    --pink-soft: #fff2f7;
    --pink-light: #ffe6f0;
    --pink-lighter: #fff8fb;
    --text: #111827;
    --text-soft: #374151;
    --muted: #5f6470;
    --border: #ececf0;
    --border-soft: #f3f4f6;
    --success: #24a85a;
    --success-soft: #d1fae5;
    --warning: #f59e0b;
    --white: #ffffff;
    --bg: #fffaf7;

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);
    --shadow-pink: 0 10px 28px rgba(230, 0, 92, 0.22);
    --shadow-card: 0 12px 40px rgba(17, 24, 39, 0.06);

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-script: 'Dancing Script', cursive;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--text); font-weight: 700; }

.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-pink);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block-mobile { width: 100%; }
.arrow { display: inline-flex; }

/* ===== HEADER ===== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}
.logo-script {
    font-family: var(--font-script);
    color: var(--primary);
    font-size: 1.7rem;
    font-weight: 700;
}
.logo-block { display: flex; flex-direction: column; line-height: 1; }
.logo-bold { font-weight: 800; letter-spacing: 1px; font-size: 1rem; }
.logo-sub { font-size: 0.55rem; letter-spacing: 3px; color: var(--muted); font-weight: 500; margin-top: 2px; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.15s ease;
    position: relative;
    padding: 4px 0;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a.active {
    color: var(--primary);
    font-weight: 600;
}
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.profile-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-soft);
    transition: background 0.2s ease;
}
.profile-btn:hover { background: var(--pink-light); }

.hamburger {
    display: none;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.25s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; }
@media (max-width: 1023px) {
    .mobile-nav.open {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 24px;
        background: var(--white);
        border-top: 1px solid var(--border-soft);
    }
    .mobile-nav a {
        color: var(--text);
        font-weight: 600;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-soft);
    }
    .mobile-nav a.active { color: var(--primary); }
    .mobile-nav a.btn { border: 2px solid var(--primary); padding: 12px 22px; }
}

/* ===== HERO CHI SIAMO ===== */
.hero-chi {
    padding: 60px 0 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--pink-lighter) 100%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 56px;
}
.badge {
    display: inline-block;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}
.hero-left h1 {
    font-size: 2.6rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}
.text-accent { color: var(--primary); }
.lead {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 520px;
}

.hero-right {
    display: flex;
    justify-content: center;
}
.hero-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--pink-soft);
}
.hero-photo svg { width: 100%; height: 100%; display: block; }

/* Valori in riga */
.values-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 28px 0 60px;
    max-width: 720px;
}
.value {
    flex: 1;
    padding: 0 32px 0 0;
    text-align: left;
}
.value:first-child { padding-left: 0; }
.value:last-child { padding-right: 0; }
.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--pink-light);
    color: var(--primary);
    margin-bottom: 14px;
}
.value h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 700;
}
.value p {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
}
.value-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
    margin: 8px 32px 8px 0;
}

/* ===== PROBLEMI / SOLUZIONI ===== */
.problems-solutions {
    background: var(--pink-lighter);
    padding: 60px 0;
}
.ps-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.ps-header h2 {
    font-size: 1.9rem;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.4px;
}
.ornament {
    display: inline-flex;
    margin-top: 8px;
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.ps-column {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
}
.ps-headers {
    display: grid;
    grid-template-columns: 1fr 32px 1fr;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--border-soft);
}
.ps-col-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding-left: 56px;
}
.ps-col-label.success { color: var(--success); padding-left: 36px; }

.ps-row {
    display: grid;
    grid-template-columns: 1fr 32px 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-soft);
}
.ps-row:last-child { border-bottom: none; }

.problem, .solution {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.problem-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--pink-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.solution-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--success);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.problem h4, .solution h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    font-weight: 700;
}
.problem p, .solution p {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.45;
}
.ps-arrow {
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== CTA BANNER ===== */
.cta-banner { padding: 30px 0; background: var(--bg); }
.cta-shell {
    background: var(--pink-soft);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.cta-content {
    display: flex;
    gap: 22px;
    align-items: center;
    flex: 1;
    min-width: 260px;
}
.cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.cta-text h3 {
    font-size: 1.4rem;
    line-height: 1.25;
    margin-bottom: 8px;
}
.cta-text p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ===== SOCIAL PROOF FINALE ===== */
.social-proof-final {
    padding: 30px 0 60px;
    background: var(--bg);
}
.social-proof-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px 24px;
}
.proof-left {
    display: flex;
    align-items: center;
    gap: 18px;
}
.avatars { display: flex; }
.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid var(--white);
    margin-left: -10px;
    box-shadow: var(--shadow-sm);
}
.avatar:first-child { margin-left: 0; }
.avatar.a1 { background: linear-gradient(135deg, #f48fb1, #ec407a); }
.avatar.a2 { background: linear-gradient(135deg, #ce93d8, #ab47bc); }
.avatar.a3 { background: linear-gradient(135deg, #ffcdd2, #ef5350); }
.avatar.a4 { background: linear-gradient(135deg, #f8bbd0, #e91e63); }
.avatar.a5 { background: linear-gradient(135deg, #d1c4e9, #7e57c2); }
.proof-info p { margin: 0; }
.proof-text {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 4px;
}
.rating-block {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--muted);
}
.rating-block .stars { color: var(--warning); font-size: 1rem; }
.rating-block strong { color: var(--text); }

.proof-right {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    gap: 12px;
    align-items: center;
}
.trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pink-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.trust-item strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 2px;
}
.trust-item span {
    font-size: 0.8rem;
    color: var(--muted);
}

/* =========================================
   RESPONSIVE — TABLET
   ========================================= */
@media (max-width: 1023px) {
    .main-nav, .header-actions { display: none; }
    .hamburger { display: flex; }

    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-left h1 { font-size: 2.1rem; }
    .hero-right { order: -1; }
    .hero-photo { aspect-ratio: 16/10; }

    .values-row { max-width: 100%; padding: 24px 0 50px; }

    .ps-grid { grid-template-columns: 1fr; gap: 20px; }
    .ps-header h2 { font-size: 1.6rem; }

    .cta-shell { gap: 20px; }
    .cta-text h3 { font-size: 1.2rem; }

    .social-proof-shell { flex-direction: column; align-items: flex-start; }
    .proof-right { width: 100%; justify-content: space-between; }
}

/* =========================================
   RESPONSIVE — MOBILE
   ========================================= */
@media (max-width: 767px) {
    .container { padding: 0 16px; }
    .header-inner { padding: 12px 16px; }
    .logo-script { font-size: 1.4rem; }
    .logo-bold { font-size: 0.9rem; }

    /* Hero */
    .hero-chi { padding: 40px 0 0; }
    .hero-grid { gap: 28px; margin-bottom: 32px; }
    .hero-right { order: 0; }
    .hero-photo { aspect-ratio: 4/3; }
    .hero-left h1 { font-size: 1.7rem; line-height: 1.2; }
    .lead { font-size: 0.95rem; }
    .badge { font-size: 0.72rem; }

    /* Valori in riga compatti su mobile */
    .values-row {
        gap: 8px;
        padding: 16px 0 40px;
    }
    .value {
        padding: 0 4px 0 0;
        text-align: left;
    }
    .value:last-child { padding-right: 0; }
    .value-icon { width: 38px; height: 38px; margin-bottom: 10px; }
    .value h3 { font-size: 0.85rem; margin-bottom: 4px; }
    .value p { font-size: 0.72rem; }
    .value-divider { display: none; }

    /* Problemi/Soluzioni — mobile lista compatta */
    .problems-solutions { padding: 40px 0; }
    .ps-header h2 { font-size: 1.35rem; }

    .ps-grid {
        background: var(--white);
        border-radius: var(--radius-lg);
        padding: 12px 16px;
        gap: 0;
    }
    .ps-column {
        background: transparent;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
    }
    .ps-headers { display: none; }

    .ps-row {
        grid-template-columns: 1fr 24px 22px;
        gap: 12px;
        padding: 16px 0;
        align-items: center;
    }
    .problem-icon { width: 36px; height: 36px; }
    .problem h4 { font-size: 0.9rem; margin-bottom: 0; }
    .problem p { display: none; }
    .ps-arrow { color: var(--primary); }
    /* Su mobile la "soluzione" si riduce a solo il check verde a destra */
    .solution {
        gap: 0;
    }
    .solution > div { display: none; }
    .solution-check { margin-top: 0; }

    /* CTA Banner mobile */
    .cta-banner { padding: 20px 0; }
    .cta-shell {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        padding: 24px 22px;
    }
    .cta-content { gap: 16px; min-width: 0; }
    .cta-icon { width: 52px; height: 52px; }
    .cta-text h3 { font-size: 1.15rem; }
    .cta-text p { font-size: 0.85rem; }
    .cta-shell .btn { width: 100%; }

    /* Social proof mobile */
    .social-proof-final { padding: 16px 0 40px; }
    .social-proof-shell { gap: 20px; padding: 16px; }
    .proof-left { gap: 14px; flex-wrap: wrap; }
    .avatar { width: 32px; height: 32px; }
    .proof-text { font-size: 0.88rem; }

    .proof-right {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--border-soft);
    }
    .trust-item { width: 100%; }
}

@media (max-width: 380px) {
    .values-row { flex-direction: column; gap: 16px; }
    .value { padding: 0; }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* === Header adattivo: voci nav su una riga sola === */
.site-header > .container { max-width: 1360px; }
.header-inner { flex-wrap: nowrap; }
.main-nav { flex-wrap: nowrap; }
.main-nav a { white-space: nowrap; }
.logo { flex-shrink: 0; }
.header-actions { flex-shrink: 0; }

@media (min-width: 769px) and (max-width: 1100px) {
    .site-header > .container { padding-left: 18px; padding-right: 18px; }
    .header-inner { gap: 14px; }
    .main-nav { gap: 18px; }
    .main-nav a { font-size: 0.88rem; }
    .header-actions .btn { padding: 11px 18px; font-size: 0.86rem; }
}

/* === Hamburger menu — 3 linee visibili === */
.hamburger {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    gap: 4px;
    flex-shrink: 0;
}
.hamburger span {
    width: 22px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
}

/* === Bottone Accedi (ghost / outline neutro) === */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text);
    font-weight: 700;
    font-size: 0.92rem;
    transition: border-color .2s, color .2s, background .2s;
    white-space: nowrap;
    text-decoration: none;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* === Standardizzazione header + voci menu (uniformità su tutto il sito) === */
.header-inner {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    height: 76px !important;
    padding: 0 24px !important;
    margin: 0 auto !important;
    max-width: 1360px !important;
    gap: 20px !important;
    box-sizing: border-box !important;
}
.header-inner > .logo,
.header-inner > a.logo { justify-self: start !important; grid-column: 1 !important; }
.header-inner > .main-nav { justify-self: center !important; grid-column: 2 !important; }
.header-inner > .header-actions { justify-self: end !important; grid-column: 3 !important; }
.header-inner > .hamburger { justify-self: end !important; grid-column: 3 !important; }
/* Bottoni header (Accedi + Prenota) — dimensioni identiche su tutte le pagine */
.header-actions { display: flex !important; align-items: center !important; gap: 12px !important; flex-shrink: 0 !important; }
.header-actions .btn,
.header-actions .btn-ghost,
.header-actions .btn-primary {
    padding: 11px 22px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    border-radius: 999px !important;
    border-width: 1.5px !important;
    border-style: solid !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background .2s, color .2s, border-color .2s !important;
}
.header-actions .btn-primary {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}
.header-actions .btn-primary:hover {
    background: var(--primary-dark, #c9004f) !important;
    border-color: var(--primary-dark, #c9004f) !important;
    color: #fff !important;
}
.header-actions .btn-ghost,
.header-actions a.btn-ghost {
    background: #fff !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
}
.header-actions .btn-ghost:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

/* === Logo uniforme su tutto il sito (no flicker / no layout shift) === */
.logo {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
    min-width: 175px !important;
    min-height: 40px !important;
}
.logo-script {
    font-family: 'Dancing Script', 'Brush Script MT', cursive !important;
    color: var(--primary) !important;
    font-size: 1.7rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
}
.logo-block {
    display: inline-flex !important;
    flex-direction: column !important;
    line-height: 1 !important;
    gap: 1px !important;
}
.logo-bold {
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    font-size: 1rem !important;
    color: var(--text) !important;
    line-height: 1 !important;
}
.logo-sub {
    font-size: 0.55rem !important;
    letter-spacing: 3px !important;
    color: var(--muted) !important;
    font-weight: 500 !important;
    margin-top: 2px !important;
    line-height: 1 !important;
}

/* === Mobile header (≤768px): solo logo a sinistra + hamburger a destra === */
@media (max-width: 768px) {
    .header-inner > .main-nav,
    .header-inner > .header-actions,
    .main-nav,
    .header-actions,
    .btn-mini-mobile { display: none !important; }

    .hamburger { display: flex !important; }

    /* Layout FLEX semplice (più robusto del grid in mobile) */
    .header-inner {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        height: 64px !important;
        padding: 0 16px !important;
        gap: 12px !important;
        /* Reset grid template per evitare residui dal desktop */
        grid-template-columns: none !important;
        grid-template-rows: none !important;
    }
    /* Reset grid placement su tutti i figli */
    .header-inner > * {
        grid-column: auto !important;
        grid-row: auto !important;
        justify-self: auto !important;
    }
    .header-inner > .logo,
    .header-inner > a.logo {
        order: 0 !important;
        margin: 0 !important;
        flex-shrink: 1 !important;
    }
    .header-inner > .hamburger {
        order: 99 !important;
        flex-shrink: 0 !important;
    }
    .logo { min-width: auto !important; }

    /* Bottoni nel menu a tendina mobile (Accedi + Prenota) */
    .mobile-nav .btn,
    .mobile-nav a.btn,
    .mobile-nav .btn-ghost,
    .mobile-nav a.btn-ghost,
    .mobile-nav .btn-primary,
    .mobile-nav a.btn-primary {
        display: block !important;
        width: 100% !important;
        padding: 14px 22px !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        border-radius: 999px !important;
        text-align: center !important;
        text-decoration: none !important;
        box-shadow: none !important;
        margin-top: 8px !important;
        box-sizing: border-box !important;
        transition: background .2s, color .2s, border-color .2s !important;
    }
    .mobile-nav .btn-primary,
    .mobile-nav a.btn-primary {
        background: var(--primary) !important;
        color: #fff !important;
        border: 0 !important;
        margin-top: 16px !important;
    }
    .mobile-nav .btn-primary:hover,
    .mobile-nav a.btn-primary:hover {
        background: var(--primary-dark, #c9004f) !important;
        color: #fff !important;
    }
    .mobile-nav .btn-ghost,
    .mobile-nav a.btn-ghost {
        background: #fff !important;
        color: var(--text) !important;
        border: 1.5px solid var(--border) !important;
    }
    .mobile-nav .btn-ghost:hover,
    .mobile-nav a.btn-ghost:hover {
        border-color: var(--primary) !important;
        color: var(--primary) !important;
    }

    /* Drawer mobile: full-screen fixed, no body scroll, no scrollbar desktop */
    .mobile-nav {
        position: fixed !important;
        top: 64px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        background: #fff !important;
        z-index: 999 !important;
        padding: 24px 18px 40px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        border-top: 1px solid var(--border) !important;
        flex-direction: column !important;
        gap: 4px !important;
        margin: 0 !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .mobile-nav.open { display: flex !important; }
    .mobile-nav a {
        padding: 14px 16px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        color: var(--text) !important;
        border-radius: 12px !important;
        border-bottom: 0 !important;
        text-decoration: none !important;
        display: block !important;
    }
    .mobile-nav a.active {
        background: rgba(230, 0, 92, 0.08) !important;
        color: var(--primary) !important;
    }
}

/* Lock body + html scroll quando il menu mobile è aperto */
html.menu-open,
body.menu-open {
    overflow: hidden !important;
    height: 100% !important;
    touch-action: none !important;
}

/* Nasconde la scrollbar visiva del drawer mobile (mantiene scroll touch) */
.mobile-nav::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
.mobile-nav { scrollbar-width: none !important; -ms-overflow-style: none !important; }
.main-nav { gap: 30px !important; align-items: center !important; flex-wrap: nowrap !important; padding: 0 !important; margin: 0 !important; }
.main-nav a {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--text) !important;
    line-height: 1 !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: color .2s !important;
    background: none !important;
    border: 0 !important;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--primary) !important;
    font-weight: 600 !important;
}
/* Rimuove la barretta sotto la voce attiva */
.main-nav a::before,
.main-nav a::after,
.main-nav a.active::before,
.main-nav a.active::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    border: 0 !important;
    height: 0 !important;
}
@media (max-width: 1100px) {
    .main-nav { gap: 22px !important; }
    .main-nav a { font-size: 0.9rem !important; }
}
