/* =========================================
   WEDDING SMART PLANNER - QUIZ 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: #22a45d;
    --success-soft: #d1fae5;
    --warning: #f59e0b;
    --warning-soft: #fef3c7;
    --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; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg) 0%, var(--pink-lighter) 100%);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}
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; }
input, textarea, select { font: inherit; 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;
}
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-pink);
}
.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.btn-ghost {
    background: var(--white);
    color: var(--text);
    border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }
.btn-block-mobile { width: 100%; }
.arrow, .arrow-l { display: inline-flex; font-size: 1.05rem; }

/* ===== 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;
}
.main-nav a:hover { color: var(--primary); }

.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.btn { border: 2px solid var(--primary); padding: 12px 22px; }
}

/* ===== QUIZ MAIN ===== */
.quiz-main {
    position: relative;
    padding: 50px 0 60px;
    overflow: hidden;
}
.floral-decoration {
    position: absolute;
    top: 100px;
    width: 200px;
    pointer-events: none;
    opacity: 0.6;
}
.floral-decoration.left { left: 0; }
.floral-decoration.right { right: 0; }
.floral-decoration svg { width: 100%; height: auto; }

.quiz-container {
    position: relative;
    z-index: 1;
}

/* ===== QUIZ HEADER ===== */
.quiz-header {
    text-align: center;
    margin-bottom: 40px;
}
.quiz-badge {
    display: inline-block;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.quiz-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.quiz-sub {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 36px;
}

/* ===== STEPPER ===== */
.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 720px;
    margin: 0 auto;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
}
.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    transition: color 0.3s ease;
}
.step-bar {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0;
    margin-bottom: 28px;
    min-width: 30px;
    transition: background 0.3s ease;
}

/* Stato attivo */
.step-item.active .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: scale(1.08);
    box-shadow: var(--shadow-pink);
}
.step-item.active .step-label {
    color: var(--primary);
    font-weight: 700;
}
/* Stato completato */
.step-item.completed .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.step-item.completed .step-label {
    color: var(--text);
    font-weight: 600;
}
.step-bar.completed { background: var(--primary); }

/* ===== QUIZ CARD ===== */
.quiz-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: 50px 50px;
    max-width: 1100px;
    margin: 0 auto 30px;
    position: relative;
}
.quiz-card.screen { display: none; }
.quiz-card.screen.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card-step-info {
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.card-title {
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 12px;
    line-height: 1.3;
}
.card-sub {
    text-align: center;
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 36px;
}

/* ===== OPTIONS ===== */
.options-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 28px;
}

.options-style { grid-template-columns: repeat(4, 1fr); }
.options-priorities { grid-template-columns: repeat(3, 1fr); }
.options-budget { grid-template-columns: repeat(3, 1fr); }
.options-org { grid-template-columns: repeat(4, 1fr); }

.option {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.option:hover {
    border-color: var(--pink-light);
    background: var(--pink-lighter);
}
.option input { position: absolute; opacity: 0; pointer-events: none; }

.option.selected {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 4px 16px rgba(230, 0, 92, 0.10);
}

/* Option with image */
.option-image { padding: 0; overflow: hidden; }
.option-image-wrap {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    background-size: cover;
    background-position: center;
}
.option-image-wrap[data-img="romantico"] {
    background-image: linear-gradient(135deg, rgba(252,228,236,0.6), rgba(248,187,208,0.6)), radial-gradient(circle at 30% 50%, #fff5f8 0%, #f8bbd0 60%, #ec407a 100%);
}
.option-image-wrap[data-img="moderno"] {
    background-image: linear-gradient(135deg, rgba(207,232,242,0.5), rgba(187,222,251,0.5)), radial-gradient(circle at 50% 60%, #fff 0%, #e3f2fd 60%, #90caf9 100%);
}
.option-image-wrap[data-img="boho"] {
    background-image: linear-gradient(135deg, rgba(255,224,178,0.6), rgba(215,204,200,0.7)), radial-gradient(circle at 50% 70%, #fff8e1 0%, #d7ccc8 60%, #8d6e63 100%);
}
.option-image-wrap[data-img="originale"] {
    background-image: linear-gradient(135deg, rgba(225,190,231,0.5), rgba(206,147,216,0.5)), radial-gradient(circle at 50% 60%, #fff 0%, #f3e5f5 50%, #ab47bc 100%);
}
.option-image .option-body { padding: 18px 18px 22px; flex-grow: 1; }
.option-image .option-body h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    text-align: center;
}
.option-image .option-body p {
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
    line-height: 1.5;
}
.option-image .radio-circle {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
}

/* Option with icon (priorità, budget) */
.option-icon {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
}
.option-icon-circle {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.option-icon-circle.euro { font-size: 0.85rem; letter-spacing: -1px; }
.option-icon .option-body { flex: 1; }
.option-icon .option-body h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}
.option-icon .option-body p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
}

/* Option vertical (organizzazione) */
.option-vertical {
    align-items: center;
    text-align: center;
    padding: 28px 22px 50px;
}
.option-icon-large {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.option-vertical h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}
.option-vertical p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}
.option-vertical .radio-circle {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
}

/* Radio circles */
.radio-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    flex-shrink: 0;
    display: inline-block;
    transition: all 0.2s ease;
    position: relative;
}
.option.selected .radio-circle {
    border-color: var(--primary);
    background: var(--primary);
}
.option.selected .radio-circle::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--white);
}

/* Check squares */
.check-square {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid var(--border);
    background: var(--white);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.option.selected .check-square {
    border-color: var(--primary);
    background: var(--primary);
}
.option.selected .check-square::after {
    content: '';
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg) translate(1px, -1px);
}

/* Option-icon with checkbox/radio inline (right side) */
.option-icon .check-square,
.option-icon .radio-circle {
    align-self: flex-start;
    margin-top: 12px;
}

/* ===== INFO/WARNING ===== */
.info-message, .warning-message {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.warning-message {
    color: var(--primary);
    background: var(--pink-soft);
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.info-icon { font-size: 1rem; }

/* ===== CARD ACTIONS ===== */
.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.card-actions.single { justify-content: flex-end; }
.back-link {
    display: block;
    text-align: center;
    color: var(--text);
    font-weight: 600;
    margin-top: 16px;
    text-decoration: underline;
    font-size: 0.9rem;
}

/* ===== FORM ===== */
.contact-form {
    max-width: 760px;
    margin: 0 auto;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}
.form-field input {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: all 0.15s ease;
    font-size: 0.95rem;
}
.form-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--pink-light);
}
.form-field input.error { border-color: #ef4444; }
.field-error {
    font-size: 0.8rem;
    color: #ef4444;
    min-height: 1em;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 8px;
}
.form-checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.check-mark {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid var(--border);
    background: var(--white);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 2px;
}
.form-checkbox input:checked + .check-mark {
    border-color: var(--primary);
    background: var(--primary);
}
.form-checkbox input:checked + .check-mark::after {
    content: '';
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg) translate(1px, -1px);
}
.form-checkbox a { color: var(--primary); text-decoration: underline; }

/* ===========================================
   RESULT — STRATEGICA (3 col + banner)
   =========================================== */
.result-strategica { padding: 0; overflow: hidden; }
.strat-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr 1fr;
    gap: 0;
    padding: 50px;
}
.strat-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pink-lighter);
    border-radius: var(--radius-lg);
    padding: 30px;
}
.strat-illustration svg { width: 100%; max-width: 240px; height: auto; }

.strat-content { padding: 0 36px; }
.strat-intro {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 8px;
}
.strat-title {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
}
.strat-desc {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-soft);
}
.strat-bullets li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 10px 0;
    color: var(--text);
    font-size: 0.95rem;
}
.bullet-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.bullet-check.green { background: var(--success); }

.strat-sidebar {
    background: var(--pink-soft);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: left;
}
.sidebar-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.sidebar-tag {
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.strat-sidebar h4 {
    font-size: 1.15rem;
    margin-bottom: 18px;
    line-height: 1.3;
}
.sidebar-list { margin-bottom: 22px; }
.sidebar-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 6px 0;
    color: var(--text-soft);
    font-size: 0.85rem;
    line-height: 1.4;
}
.li-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 1px;
}
.strat-sidebar .btn { margin-bottom: 12px; line-height: 1.3; }
.strat-sidebar .back-link {
    display: block;
    text-align: center;
    color: var(--text);
    font-weight: 600;
    text-decoration: underline;
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Banner valore (sotto la card) */
.value-banner {
    background: var(--pink-soft);
    border-radius: var(--radius-md);
    padding: 22px 28px;
    display: flex;
    gap: 16px;
    align-items: center;
    text-align: left;
}
.value-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.value-banner p { font-size: 0.95rem; color: var(--text-soft); line-height: 1.5; }
.value-banner strong { color: var(--primary); }

.result-banner {
    margin: 0 50px 50px;
    background: var(--pink-soft);
}

/* ===========================================
   RESULT — A→Z (2 col)
   =========================================== */
.result-az { padding: 50px; }
.az-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.az-content { padding: 12px 0; }
.az-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border: 2px solid var(--pink-light);
}
.az-title {
    font-size: 1.7rem;
    line-height: 1.25;
    margin-bottom: 18px;
}
.az-accent {
    color: var(--primary);
    font-weight: 800;
}
.az-desc {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border-soft);
}
.az-bullets {
    margin-bottom: 28px;
}
.az-bullets li {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 8px 0;
    color: var(--text);
    font-size: 0.95rem;
}

.az-package {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px 0;
    border-top: 1px solid var(--border-soft);
    margin-bottom: 22px;
}
.az-package-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--pink-light);
}
.az-package .rec-tag {
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0;
}
.az-package .rec-name {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.1;
}
.az-package .rec-desc {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}
.btn-az {
    padding: 16px 28px;
    font-size: 1rem;
}

.az-visual { display: flex; flex-direction: column; gap: 18px; }
.az-photo {
    width: 100%;
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.az-photo svg { width: 100%; height: 100%; display: block; }
.az-banner {
    background: var(--pink-soft);
    margin: 0;
}

/* ===========================================
   THANK YOU PAGE
   =========================================== */
.thanks-screen {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.thanks-hero {
    text-align: center;
    padding: 30px 20px 10px;
}
.thanks-icon {
    position: relative;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: var(--pink-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}
.sparkle {
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.7;
}
.sparkle.s1 { top: -8px; left: 20%; }
.sparkle.s2 { top: 8px; right: -8px; }
.sparkle.s3 { bottom: -4px; right: 20%; }
.sparkle.s4 { bottom: 12px; left: -8px; }
.thanks-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.thanks-sub {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto;
}

/* Card generica */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: 32px 36px;
}

/* Card assegnazione planner */
.assignment-card {
    display: flex;
    gap: 24px;
    align-items: center;
    background: var(--pink-lighter);
    border: 1px solid var(--pink-light);
    box-shadow: none;
}
.assignment-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);
}
.assignment-text { flex: 1; }
.assignment-intro {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 6px;
}
.assignment-area {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}
.assignment-region {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}
.region-icon {
    color: var(--primary);
    display: inline-flex;
    vertical-align: middle;
    margin-right: 4px;
}
.region-sub { color: var(--muted); font-size: 0.85rem; }

/* Card profilo planner */
.planner-profile-card {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: flex-start;
}
.planner-left { text-align: center; }
.planner-big-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background:
        linear-gradient(135deg, rgba(252,228,236,0.5), rgba(248,187,208,0.4)),
        radial-gradient(circle at 50% 40%, #fff5e6 0%, #f5d4b8 60%, #c97a4a 100%);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.planner-big-photo::before {
    /* Capelli */
    content: '';
    position: absolute;
    top: 30px; left: 50%;
    transform: translateX(-50%);
    width: 130px; height: 90px;
    background: linear-gradient(180deg, #5d4037 0%, #8d6e63 100%);
    border-radius: 60% 60% 40% 40%;
}
.planner-big-photo::after {
    /* Volto */
    content: '';
    position: absolute;
    top: 60px; left: 50%;
    transform: translateX(-50%);
    width: 100px; height: 110px;
    background: radial-gradient(ellipse at 50% 40%, #f5d4b8, #e0a878);
    border-radius: 50% 50% 45% 45%;
}
.planner-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.planner-role {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 14px;
}
.planner-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    margin-bottom: 4px;
}
.planner-rating .stars { color: var(--warning); font-size: 1.1rem; }
.planner-rating strong { color: var(--text); font-size: 1.05rem; }
.rating-count {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 18px;
}
.planner-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pink-light);
    color: var(--text);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: left;
}
.tag-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.planner-right h4 {
    font-size: 1.2rem;
    margin-bottom: 14px;
}
.work-desc {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.quote-box {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--border-soft);
    position: relative;
}
.quote-mark {
    color: var(--primary);
    opacity: 0.4;
    margin-bottom: 8px;
    display: inline-flex;
}
.quote-text {
    font-style: italic;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}
.quote-author {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Card "Ecco cosa succede ora" */
.next-steps-card { padding: 40px 36px; }
.next-title {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 36px;
}
.next-steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 14px;
    align-items: start;
    margin-bottom: 28px;
}
.next-step {
    text-align: center;
    padding: 0 8px;
}
.next-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.next-step h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.3;
}
.next-step p {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
}
.step-arrow {
    color: var(--pink-light);
    font-size: 2rem;
    font-weight: 300;
    align-self: center;
    margin-top: 18px;
}

.thanks-value {
    background: var(--pink-soft);
    margin: 0;
}

/* Card contatti + team */
.contacts-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    padding: 40px 36px;
}
.contacts-left h4 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}
.contacts-sub {
    color: var(--muted);
    margin-bottom: 18px;
}
.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
}
.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--pink-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-row a {
    color: var(--text);
    font-weight: 500;
    transition: color 0.15s ease;
}
.contact-row a:hover { color: var(--primary); }

.contacts-right {
    text-align: center;
    padding: 16px 0;
    border-left: 1px solid var(--border-soft);
    padding-left: 40px;
}
.team-icon {
    color: var(--primary);
    margin-bottom: 14px;
    display: inline-flex;
}
.team-text {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 18px;
}
.team-signature {
    font-family: var(--font-script);
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 700;
}

.thanks-cta {
    text-align: center;
    margin-top: 16px;
}

/* ===== BENEFITS ===== */
.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 30px auto;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.benefit {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.benefit-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.benefit h4 { font-size: 1rem; margin-bottom: 4px; }
.benefit p { font-size: 0.88rem; color: var(--muted); line-height: 1.4; }

/* ===== SOCIAL PROOF BAR ===== */
.social-proof-bar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    text-align: center;
}
.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-text {
    color: var(--text-soft);
    font-size: 0.95rem;
    font-weight: 500;
}
.rating-block {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--muted);
}
.rating-block .stars { color: var(--warning); font-size: 1rem; }
.rating-block strong { color: var(--text); }
.rating-text { color: var(--muted); }

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

    .quiz-title { font-size: 1.9rem; }
    .quiz-card { padding: 36px 28px; }
    .card-title { font-size: 1.4rem; }

    .options-style { grid-template-columns: 1fr 1fr; }
    .options-priorities { grid-template-columns: 1fr 1fr; }
    .options-budget { grid-template-columns: 1fr 1fr; }
    .options-org { grid-template-columns: 1fr 1fr; }

    .step-label { font-size: 0.8rem; }
    .floral-decoration { width: 100px; opacity: 0.4; }

    .form-grid { grid-template-columns: 1fr 1fr; }

    /* Result Strategica tablet */
    .strat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 36px;
    }
    .strat-illustration { grid-column: 1 / -1; }
    .strat-illustration svg { max-width: 200px; }
    .strat-content { padding: 0; }
    .result-banner { margin: 0 36px 36px; }

    /* Result A→Z tablet */
    .az-grid { grid-template-columns: 1fr; gap: 32px; }
    .az-photo { aspect-ratio: 16/10; }
    .result-az { padding: 36px; }

    /* Thank you tablet */
    .planner-profile-card { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
    .next-steps-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .step-arrow { display: none; }
    .contacts-card { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
    .contacts-right {
        border-left: none;
        border-top: 1px solid var(--border-soft);
        padding-left: 0;
        padding-top: 28px;
    }
}

/* =========================================
   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; }

    .quiz-main { padding: 30px 0 50px; }
    .floral-decoration { display: none; }

    .quiz-title { font-size: 1.5rem; }
    .quiz-sub { font-size: 0.95rem; margin-bottom: 28px; }
    .quiz-badge { font-size: 0.72rem; }

    /* Stepper compatto mobile */
    .stepper {
        max-width: 100%;
        gap: 0;
    }
    .step-circle {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    .step-label {
        font-size: 0.65rem;
        margin-top: 4px;
    }
    .step-bar {
        min-width: 12px;
        margin-bottom: 22px;
    }

    /* Quiz card */
    .quiz-card { padding: 28px 20px; border-radius: var(--radius-lg); margin: 0 0 20px; }
    .card-title { font-size: 1.2rem; }
    .card-sub { font-size: 0.9rem; margin-bottom: 24px; }
    .card-step-info { font-size: 0.85rem; }

    /* Tutte le opzioni in lista verticale su mobile */
    .options-grid { grid-template-columns: 1fr !important; gap: 12px; }

    /* Style: lista orizzontale compatta */
    .option-image {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 12px;
    }
    .option-image .option-image-wrap {
        width: 70px;
        height: 70px;
        border-radius: var(--radius-sm);
        flex-shrink: 0;
    }
    .option-image .option-body {
        padding: 0;
        flex: 1;
        text-align: left;
    }
    .option-image .option-body h3,
    .option-image .option-body p { text-align: left; }
    .option-image .option-body h3 { font-size: 0.95rem; }
    .option-image .option-body p { font-size: 0.8rem; }
    .option-image .radio-circle {
        position: static;
        transform: none;
        align-self: center;
    }

    /* Priorità: compact */
    .option-icon {
        padding: 14px 16px;
        gap: 12px;
        align-items: center;
    }
    .option-icon-circle { width: 40px; height: 40px; }
    .option-icon .option-body h3 { font-size: 0.95rem; margin-bottom: 0; }
    .option-icon .option-body p { display: none; }
    .option-icon .check-square,
    .option-icon .radio-circle { margin-top: 0; align-self: center; }

    /* Mostra descrizioni su organizzazione (importanti) */
    .options-org .option-icon .option-body p { display: block; font-size: 0.8rem; }

    /* Vertical -> horizontal compact */
    .option-vertical {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 16px;
        gap: 14px;
    }
    .option-vertical .option-icon-large {
        width: 48px; height: 48px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .option-vertical h3 {
        font-size: 0.95rem;
        margin-bottom: 4px;
        text-align: left;
    }
    .option-vertical h3 br { display: none; }
    .option-vertical p { font-size: 0.8rem; margin-bottom: 0; flex: 1; }
    .option-vertical .radio-circle {
        position: static;
        transform: none;
        align-self: center;
    }

    /* Card actions mobile */
    .card-actions {
        flex-direction: column-reverse;
        gap: 12px;
        margin-top: 28px;
    }
    .card-actions .btn { width: 100%; }
    .card-actions.single { flex-direction: column; }

    /* Form mobile */
    .form-grid { grid-template-columns: 1fr; gap: 16px; }
    .planner-card { flex-direction: column; text-align: center; }
    .planner-rating { justify-content: center; }
    .steps-list { grid-template-columns: 1fr; }

    /* Result Strategica mobile */
    .strat-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
    .strat-illustration { padding: 20px; }
    .strat-illustration svg { max-width: 160px; }
    .strat-content { padding: 0; text-align: center; }
    .strat-bullets li { text-align: left; }
    .strat-title { font-size: 1.6rem; }
    .strat-sidebar { text-align: center; }
    .sidebar-list li { text-align: left; }
    .result-banner { margin: 0 16px 24px; padding: 18px 20px; }

    /* Result A→Z mobile */
    .result-az { padding: 24px; }
    .az-grid { gap: 24px; }
    .az-title { font-size: 1.4rem; text-align: center; }
    .az-icon { display: flex; margin: 0 auto 18px; }
    .az-desc { text-align: center; }
    .az-package { flex-direction: column; align-items: center; text-align: center; }
    .az-package .rec-name { font-size: 1.3rem; }

    /* Value banner generic mobile */
    .value-banner { flex-direction: column; text-align: center; padding: 18px; }

    /* Benefits stacked */
    .benefits {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 18px;
    }

    /* Social proof */
    .social-proof-bar { gap: 16px; }
    .proof-text { font-size: 0.9rem; }

    /* Thank you mobile */
    .thanks-screen { gap: 16px; }
    .thanks-hero { padding: 16px 8px 0; }
    .thanks-icon { width: 80px; height: 80px; }
    .thanks-title { font-size: 1.5rem; }
    .thanks-sub { font-size: 0.9rem; }
    .card { padding: 24px 20px; border-radius: var(--radius-lg); }
    .assignment-card { flex-direction: column; gap: 16px; text-align: center; padding: 24px 20px; }
    .assignment-icon { width: 56px; height: 56px; }
    .assignment-area { font-size: 1.15rem; }
    .planner-profile-card { padding: 24px 20px; }
    .planner-big-photo { width: 140px; height: 140px; }
    .planner-big-photo::before { width: 90px; height: 60px; top: 22px; }
    .planner-big-photo::after { width: 70px; height: 76px; top: 40px; }
    .next-title { font-size: 1.3rem; margin-bottom: 24px; }
    .next-steps-grid { grid-template-columns: 1fr; gap: 8px; padding: 0; }
    .next-step {
        display: flex;
        gap: 14px;
        align-items: center;
        text-align: left;
        background: var(--pink-lighter);
        padding: 16px;
        border-radius: var(--radius-md);
    }
    .next-icon { margin-bottom: 0; flex-shrink: 0; width: 44px; height: 44px; }
    .next-step h4 { font-size: 0.95rem; margin-bottom: 2px; }
    .next-step p { font-size: 0.82rem; }
    .next-step::after {
        content: '\203A';
        margin-left: auto;
        color: var(--muted);
        font-size: 1.5rem;
    }
    .contacts-card { padding: 24px 20px; }
    .team-signature { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .step-label {
        font-size: 0; /* Nascondi etichette su molto piccoli */
    }
    .step-item.active .step-label,
    .step-item.completed .step-label {
        font-size: 0.7rem;
    }
}

/* ===== 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;
}

/* === 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; }
}
