/* ==========================================================================
   NADALINI - Landing Page Natale 2025
   CSS Principale - VERSIONE PULITA
   
   Struttura:
   1. Variables & Brand Colors
   2. Reset & Base
   3. Typography
   4. Buttons
   5. Layout Components
   6. Header & Navigation
   7. Hero Section
   8. Products Section
   9. Recipe Section (Instagram)
   10. Panettone Section
   11. Social Proof Section (Recensioni)
   12. Locations Section
   13. About Section
   14. Final CTA
   15. Footer
   16. Animations
   17. Responsive Breakpoints
   ========================================================================== */


/* ==========================================================================
   1. VARIABLES & BRAND COLORS
   ========================================================================== */

:root {
    /* Colori Primari */
    --nadalini-zucca: #FD5A23;
    --nadalini-verde: #004939;
    
    /* Neutri */
    --latte: #f6f5f1;
    --bianco: #FFFFFF;
    --terra: #4B4439;
    --liquerizia: #2A2A22;
    --alabastro: #E3DFD5;
    
    /* Accenti */
    --oro-tuorlo: #EBAA03;
    --fiore-zucca: #F7D21E;
    --cappello-prete: #9BAC94;
    --viridiana: #3C8465;
    --foglia-te: #0E695D;
    --ceralacca: #E42328;
    
    /* Mapping Semantico */
    --color-primary: var(--nadalini-zucca);
    --color-primary-dark: #E04A15;
    --color-secondary: var(--nadalini-verde);
    --color-background: var(--latte);
    --color-text: var(--liquerizia);
    --color-text-light: var(--terra);
    
    /* Typography */
    --font-main: 'Literata', Georgia, 'Times New Roman', serif;
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 60px;
    --space-xxl: 80px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: var(--space-md);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-sm);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

p {
    margin-bottom: var(--space-sm);
}

em {
    color: var(--color-primary);
    font-style: italic;
}


/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--bianco);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 90, 35, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--bianco);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--bianco);
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.0625rem;
}


/* ==========================================================================
   5. LAYOUT COMPONENTS
   ========================================================================== */

section {
    padding: var(--space-xxl) var(--space-xl);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    font-weight: 300;
}


/* ==========================================================================
   6. HEADER & NAVIGATION
   ========================================================================== */

.urgency-bar {
    background: var(--color-secondary);
    color: var(--bianco);
    text-align: center;
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.urgency-bar span {
    color: var(--fiore-zucca);
}

.urgency-bar a {
    color: var(--fiore-zucca);
    text-decoration: underline;
    transition: opacity var(--transition-fast);
}

.urgency-bar a:hover {
    opacity: 0.8;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(246, 245, 241, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--alabastro);
    transition: all var(--transition-normal);
}

.header.scrolled {
    padding: 12px var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.logo {
    max-width: 150px;
}

.nav {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.nav a {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.nav a:hover {
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}


/* ==========================================================================
   7. HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: var(--space-xxl) var(--space-xl);
    background-image: url('../images/nadalini-zucche-assortimento-frutteto-orizzontale.jpg');
    background-size: cover;
    background-position: 70% center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-xl);
    padding-top: calc(var(--space-xl) + 24px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.hero-content h1 {
    line-height: 1.15;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: 20px;
}

.hero-content .subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    font-weight: 300;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-badge {
    position: absolute;
    top: -16px;
    right: var(--space-md);
    background: var(--color-secondary);
    color: var(--bianco);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.hero-badge .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.hero-badge .label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}


/* ==========================================================================
   8. PRODUCTS SECTION
   ========================================================================== */

.products-section {
    background: var(--bianco);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--color-background);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.product-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--alabastro), var(--cappello-prete));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.75rem;
    overflow: hidden;
}

.product-card.featured .product-image {
    aspect-ratio: 1/1;
    font-size: 6.25rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--ceralacca);
    color: var(--bianco);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.limited {
    background: var(--color-secondary);
}

.product-content {
    padding: var(--space-md);
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.product-card.featured .product-title {
    font-size: 1.75rem;
}

.product-description {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
    font-weight: 300;
}

.price-note {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    font-style: italic;
}


/* ==========================================================================
   9. RECIPE SECTION (Instagram)
   ========================================================================== */

.recipe-section {
    background: linear-gradient(135deg, var(--latte) 0%, #FFF5F0 30%, #FFE8E1 70%, #FFD9D0 100%);
    padding: var(--space-xxl) var(--space-xl);
}

.recipe-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    min-height: 600px;
}

.recipe-content .section-label {
    color: var(--ceralacca);
}

.recipe-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: var(--space-sm);
}

.recipe-intro {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    line-height: 1.7;
    font-weight: 300;
}

.recipe-highlights {
    margin-bottom: var(--space-md);
}

.recipe-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--color-text-light);
}

.recipe-highlights li::before {
    content: "🎄";
    flex-shrink: 0;
    font-size: 1.25rem;
}

.recipe-highlights strong {
    color: var(--color-text);
    font-weight: 600;
}

.recipe-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.recipe-embed {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.recipe-embed .instagram-media {
    margin: 0 auto !important;
    border-radius: var(--radius-xl) !important;
    max-width: 100% !important;
}


/* ==========================================================================
   10. PANETTONE SECTION
   ========================================================================== */

.panettone-section {
    background: var(--color-background);
}

.panettone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.panettone-image {
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, var(--oro-tuorlo), var(--color-primary));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.panettone-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panettone-content .description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    font-weight: 300;
    line-height: 1.8;
}

.features-list {
    margin-bottom: var(--space-md);
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--alabastro);
    font-size: 1rem;
    color: var(--color-text-light);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: "✓";
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--color-secondary);
    color: var(--bianco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.panettone-buttons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.panettone-cta-box {
    position: relative;
    flex: 1;
    min-width: 250px;
    padding-top: 20px;
}

.panettone-cta-box .panettone-badge {
    position: absolute;
    top: 10px;
    right: var(--space-sm);
    background: var(--color-secondary);
    color: var(--bianco);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    z-index: 2;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.panettone-cta-box .panettone-badge .label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 1;
}

.panettone-cta-box .btn {
    width: 100%;
}

/* Badge WhatsApp verde per Box Regalo */
.panettone-cta-box .panettone-badge.whatsapp {
    background: #25D366;
}


/* ==========================================================================
   11. SOCIAL PROOF SECTION (Recensioni Google)
   ========================================================================== */

.social-proof-section {
    position: relative;
    background-image: url('../images/zucche-nadalini-02.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--space-xxl) var(--space-xl);
    width: 100%;
}

/* Overlay bianco trasparente - SOLO SUL BACKGROUND */
.social-proof-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85); /* Trasparenza 85% - modifica qui */
    z-index: 0;
    pointer-events: none;
}

/* Container Grid 40/60 - SOPRA L'OVERLAY */
.social-proof-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 60px;
    align-items: center;
}

/* Hero Sinistra (40%) */
.reviews-hero {
    padding-right: 40px;
}

.reviews-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-text);
}

.reviews-stars {
    font-size: 2rem;
    margin-bottom: 8px;
    line-height: 1;
}

.reviews-rating {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--color-text);
}

.reviews-subtitle {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
    font-weight: 300;
    line-height: 1.6;
}

.reviews-google-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid var(--alabastro);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-text-light);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.reviews-google-link:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.reviews-google-link svg {
    flex-shrink: 0;
}

/* Carousel Destra (60%) */
.reviews-carousel-container {
    position: relative;
    width: 100%;
    padding: 0 70px;
}

.reviews-carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

.reviews-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

/* Review Card */
.review-card {
    flex-shrink: 0;
    background: var(--latte);
    padding: 32px;
    border-radius: var(--radius-xl);
    box-sizing: border-box; /* IMPORTANTE per mobile */
}

.review-card-stars {
    font-size: 18px;
    margin-bottom: 12px;
    color: #FDB241;
    line-height: 1;
}

.review-card-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-light);
    font-style: italic;
    font-weight: 300;
    margin-bottom: 20px;
    min-height: 100px;
}

.review-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--alabastro);
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--oro-tuorlo));
    color: var(--bianco);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.review-author-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--color-text);
    margin-bottom: 2px;
}

.review-verified {
    font-size: 13px;
    color: var(--viridiana);
}

/* Arrows */
.reviews-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bianco);
    border: 2px solid var(--alabastro);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: var(--color-text);
    z-index: 10;
    transition: all 0.2s ease;
}

.reviews-arrow:hover {
    background: var(--color-primary);
    color: var(--bianco);
    border-color: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
}

.reviews-arrow-prev {
    left: 0;
}

.reviews-arrow-next {
    right: 0;
}

/* Dots - SOPRA L'OVERLAY */
.reviews-dots {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--alabastro);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.reviews-dot:hover {
    background: var(--color-primary);
    transform: scale(1.2);
}

.reviews-dot.active {
    background: var(--color-primary);
    width: 24px;
    border-radius: 5px;
}


/* ==========================================================================
   12. LOCATIONS SECTION
   ========================================================================== */

.locations-section {
    background: url('../images/Nadalini-Cassa-Zucche-02.jpg');
    background-size: cover;
    background-position: center;
    color: var(--bianco);
    position: relative;
}

.locations-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 73, 57, 0.7);
    z-index: 0;
}

.locations-section > * {
    position: relative;
    z-index: 1;
}

.locations-section .section-label {
    color: var(--fiore-zucca);
}

.locations-section .section-title,
h3.location-name {
    color: var(--bianco);
}

.locations-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 1100px;
    margin: 0 auto;
}

.location-card {
    background: rgba(0, 73, 57, 0.9);
    border-radius: var(--radius-xl);
    padding: var(--space-md);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all var(--transition-normal);
}

.location-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.location-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.location-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.location-address {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.location-card .btn {
    width: 100%;
}

.locations-section .btn-outline {
    border-color: var(--bianco);
    color: var(--bianco);
}

.locations-section .btn-outline:hover {
    background: var(--bianco);
    color: var(--color-secondary);
}


/* ==========================================================================
   13. ABOUT SECTION
   ========================================================================== */

.about-section {
    background: var(--bianco);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--alabastro);
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--bianco);
    font-size: 0.9375rem;
    font-style: italic;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--bianco);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-text);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    z-index: 2;
}

.slider-nav:hover {
    background: var(--color-primary);
    color: var(--bianco);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: var(--space-sm);
}

.slider-nav.next {
    right: var(--space-sm);
}

.slider-dots {
    position: absolute;
    bottom: var(--space-sm);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.slider-dot:hover,
.slider-dot.active {
    background: var(--bianco);
    transform: scale(1.2);
}

.about-content p {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    font-weight: 300;
    line-height: 1.8;
}

.stats-row {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--alabastro);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-top: 4px;
}


/* ==========================================================================
   14. FINAL CTA
   ========================================================================== */

.final-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--bianco);
    text-align: center;
    padding: 100px var(--space-xl);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: "🎃";
    position: absolute;
    left: 10%;
    top: 20%;
    font-size: 3.75rem;
    opacity: 0.15;
}

.final-cta::after {
    content: "🍂";
    position: absolute;
    right: 10%;
    bottom: 20%;
    font-size: 3.75rem;
    opacity: 0.15;
}

.final-cta h2 {
    color: var(--bianco);
    margin-bottom: var(--space-sm);
}

.final-cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta .btn-outline {
    border-color: var(--bianco);
    color: var(--bianco);
}

.final-cta .btn-outline:hover {
    background: var(--bianco);
    color: var(--color-primary);
}


/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.footer {
    background: var(--liquerizia);
    color: var(--bianco);
    padding: var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto var(--space-lg);
}

.footer-brand .logo-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bianco);
    margin-bottom: var(--space-xs);
}

.footer-brand .logo-tagline {
    font-size: 0.75rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--bianco);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}


/* ==========================================================================
   16. ANIMATIONS
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   17. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1200px) {
    /* Social Proof: Stack verticale per tutti i viewport ≤1200px */
    .social-proof-section {
        padding: var(--space-xl) var(--space-md);
    }
    
    .social-proof-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        max-width: 800px;
    }
    
    .reviews-hero {
        text-align: center;
        padding-right: 0;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .reviews-title {
        font-size: 2.5rem;
    }
    
    .reviews-rating {
        font-size: 3.5rem;
    }
    
    /* Carousel: riduci padding frecce */
    .reviews-carousel-container {
        padding: 0 60px;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .reviews-arrow {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    
    .review-card {
        padding: 28px;
    }
    
    .review-card-text {
        font-size: 15px;
        min-height: 90px;
    }
}

@media (max-width: 1024px) {
    .hero {
        min-height: 70vh;
    }
    
    .hero-content {
        max-width: 500px;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .product-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .product-card.featured .product-image {
        aspect-ratio: 16/9;
    }
    
    .recipe-container,
    .panettone-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .recipe-embed {
        order: -1;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 24px;
        --space-xl: 32px;
        --space-xxl: 48px;
    }
    
    section {
        padding: var(--space-xxl) var(--space-md);
    }
    
    .header {
        padding: var(--space-sm) var(--space-md);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-background);
        flex-direction: column;
        padding: var(--space-md);
        border-bottom: 1px solid var(--alabastro);
        box-shadow: var(--shadow-md);
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        padding: var(--space-sm) 0;
        border-bottom: 1px solid var(--alabastro);
    }
    
    .hero {
        padding: var(--space-lg) var(--space-md);
        min-height: 60vh;
    }
    
    .hero-content {
        padding: var(--space-md);
        padding-top: calc(var(--space-md) + 40px);
        max-width: 100%;
    }
    
    .hero-badge {
        top: -10px;
        right: var(--space-sm);
        padding: 8px 14px;
    }
    
    .hero-badge .number {
        font-size: 1.125rem;
    }
    
    .hero-badge .label {
        font-size: 0.5625rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card.featured {
        grid-column: span 1;
    }
    
    .product-card.featured .product-image {
        aspect-ratio: 4/3;
        font-size: 4rem;
    }
    
    .recipe-section {
        overflow-x: hidden;
    }
    
    .recipe-container,
    .recipe-content {
        width: 100%;
        padding: 0;
    }
    
    .recipe-content {
        overflow-wrap: break-word;
    }
    
    .recipe-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .recipe-cta .btn {
        width: 100%;
    }
    
    .recipe-embed {
        width: 100%;
        overflow: hidden;
    }
    
    .recipe-embed .instagram-media {
        min-width: 100% !important;
    }
    
    .panettone-buttons {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .panettone-cta-box {
        min-width: auto;
        width: 100%;
        padding-top: 22px;
    }
    
    .panettone-cta-box .panettone-badge {
        top: 12px;
        right: var(--space-sm);
        padding: 5px 9px;
    }
    
    /* Social Proof Mobile 768px - SOLUZIONE SEMPLICE */
    .social-proof-section {
        padding: var(--space-lg) var(--space-sm);
        overflow: hidden; /* IMPORTANTE: taglia fuori contenuto */
    }
    
    .social-proof-container {
        overflow: hidden; /* IMPORTANTE */
        width: 100%;
    }
    
    .reviews-hero {
        padding: 0 var(--space-sm);
    }
    
    .reviews-title {
        font-size: 1.75rem;
    }
    
    .reviews-rating {
        font-size: 2.5rem;
    }
    
    .reviews-carousel-container {
        padding: 0; /* NIENTE frecce laterali su mobile */
        overflow: hidden; /* IMPORTANTE */
        width: 100%;
    }
    
    .reviews-carousel-wrapper {
        overflow: hidden; /* IMPORTANTE */
        width: 100%;
    }
    
    .reviews-arrow {
        display: none; /* NASCONDI frecce su mobile */
    }
    
    .review-card {
        padding: 20px;
        margin: 0; /* NIENTE margini */
        width: 100%; /* Forza width */
    }
    
    .review-card-text {
        font-size: 14px;
        min-height: auto; /* Lascia altezza naturale */
        word-wrap: break-word; /* Spezza parole lunghe */
    }
    
    .reviews-dots {
        margin-top: 20px;
    }
    
    .stats-row {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .stat {
        flex: 1 1 40%;
    }
    
    .final-cta {
        padding: var(--space-xxl) var(--space-md);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-top: calc(var(--space-md) + 48px);
    }
    
    .hero-badge {
        top: -8px;
        padding: 6px 12px;
    }
    
    .product-image {
        font-size: 2.5rem;
    }
    
    .panettone-cta-box {
        padding-top: 20px;
    }
    
    .panettone-cta-box .panettone-badge {
        top: 14px;
        padding: 4px 8px;
    }
    
    .panettone-cta-box .panettone-badge .label {
        font-size: 0.5625rem;
    }
    
    /* Social Proof 480px */
    .social-proof-section {
        padding: var(--space-lg) var(--space-xs);
    }
    
    .reviews-title {
        font-size: 1.5rem;
    }
    
    .review-card {
        padding: 16px;
    }
    
    .review-card-text {
        font-size: 13px;
    }
    
    .stat {
        flex: 1 1 100%;
    }
}

@media (max-width: 375px) {
    .hero-content {
        padding-top: calc(var(--space-md) + 52px);
    }
    
    .panettone-cta-box .panettone-badge {
        top: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}


/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.hidden { display: none !important; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* ==========================================================================
   ZUCCHE 2026 — Instagram click-to-load (no request to Instagram before the click)
   ========================================================================== */
.ig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
}
.ig-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    border: 0;
    padding: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: var(--alabastro);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.ig-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-card .ig-play {
    position: absolute; inset: 0; margin: auto;
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(253, 90, 35, 0.92); color: var(--bianco);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; padding-left: 4px;
}
.ig-card .ig-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: var(--space-sm);
    background: linear-gradient(transparent, rgba(42,42,34,0.85));
    color: var(--bianco); font-family: var(--font-main); font-size: 15px; text-align: left;
}
.ig-embed { width: 100%; }
.ig-embed .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; }
.ig-note { text-align: center; font-size: 13px; color: var(--terra); margin-top: var(--space-md); }

.event-section { background: var(--nadalini-verde); color: var(--latte); padding: var(--space-xxl) var(--space-md); }
.event-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-xl); align-items: center; }
.event-section .section-label { color: var(--fiore-zucca); }
.event-section h2 { color: var(--latte); }
.event-section h2 em { color: var(--fiore-zucca); }
.event-when { font-size: 22px; font-weight: 700; color: var(--fiore-zucca); margin: var(--space-sm) 0; }
.event-section ul { list-style: none; padding: 0; margin: var(--space-md) 0; }
.event-section li { padding: 6px 0; }
.event-section .ig-card { max-width: 340px; margin: 0 auto; }
@media (max-width: 768px) { .event-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   ZUCCHE 2026 — fixes
   ========================================================================== */
/* «.nav a» painted the header button's text brown on orange (3.05:1).
   White on a deeper orange reads at 5.2:1 (WCAG AA). */
.nav a.btn-primary {
    color: var(--bianco);
    font-weight: 700;
}
.nav a.btn-primary:hover {
    color: var(--bianco);
}

/* «Vieni a trovarci»: same height for the three cards, buttons aligned
   at the bottom and spaced from each other */
.location-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.location-address {
    flex-grow: 1;
}
.location-card .btn + .btn {
    margin-top: 12px;
}


/* ==========================================================================
   ZUCCHE 2026 v2 — the shop is how you order, WhatsApp is how you ask
   Brand colours untouched (Marco, 09/10).
   ========================================================================== */
/* WhatsApp as a text link: underlined, never bold, never a button */
.wa-line { margin-top: var(--space-md); font-size: 0.9375rem; color: var(--terra); }
.wa-line a, .wa-link { color: inherit; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.hero .wa-line a { color: var(--nadalini-verde); }
.locations-section .wa-link { display: block; margin-top: 12px; color: var(--bianco); font-size: 0.875rem; text-decoration: none; }
.locations-section .wa-link:hover { text-decoration: underline; }
.final-cta .wa-line { margin-top: var(--space-lg); margin-bottom: 0; color: var(--bianco); opacity: 1; }
.final-cta .wa-line a { color: var(--bianco); }

/* final CTA sits on orange: its button is white with brand-orange text */
.final-cta .btn-primary { background: var(--bianco); color: var(--color-primary-dark); }
.final-cta .btn-primary:hover { background: var(--latte); color: var(--color-primary-dark); }

/* variety cards */
a.product-image { display: flex; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
/* the box card closes the grid on a full row: photo left, text right */
.product-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.product-card.wide .product-image { aspect-ratio: 16 / 9; height: 100%; }
.product-card.wide .product-badge { z-index: 2; }
.product-card .product-content .btn { margin-top: var(--space-sm); }
@media (max-width: 768px) { .product-card.wide { grid-column: auto; display: block; } }

/* La Zuppa della Strega — on the witch banner; the dark-green veil keeps text readable */
.zuppa-section {
    padding: var(--space-xxl) var(--space-md);
    background:
        linear-gradient(90deg, rgba(0,40,31,0.97) 0%, rgba(0,40,31,0.93) 48%, rgba(0,40,31,0.35) 72%, rgba(0,40,31,0) 100%),
        url('../images/zuppa/strega-sfondo.jpg') right center / cover no-repeat,
        #00281f;
    color: var(--latte);
}
.zuppa-inner { max-width: 1200px; margin: 0 auto; }
.zuppa-section .section-header { text-align: left; margin-left: 0; max-width: 640px; }
.zuppa-section .section-label { color: var(--fiore-zucca); }
.zuppa-section .section-title { color: var(--latte); }
.zuppa-section .section-title em { color: var(--fiore-zucca); }
.zuppa-section .section-subtitle { color: var(--alabastro); margin-left: 0; }
.potion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    max-width: 640px;
}
.potion-card {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 9 / 16;
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
    transition: transform var(--transition-normal);
}
.potion-card:hover { transform: translateY(-6px); }
.potion-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.potion-label {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 10px; font-size: 13px; font-weight: 700; text-align: center;
    color: var(--bianco); background: linear-gradient(transparent, rgba(42,42,34,0.9));
}
@media (max-width: 900px) {
    .zuppa-section { background: linear-gradient(rgba(0,40,31,0.9), rgba(0,40,31,0.9)), url('../images/zuppa/strega-sfondo.jpg') 75% center / cover no-repeat, #00281f; }
    .potion-grid { grid-template-columns: repeat(3, 1fr); max-width: none; }
}

.ig-follow { text-align: center; margin-top: var(--space-lg); }

/* ==========================================================================
   Reviews — verbatim from Google, score with its date
   ========================================================================== */
.reviews-section { background: var(--latte); padding: var(--space-xxl) var(--space-md); }
.reviews-wrap { max-width: 1200px; margin: 0 auto; }
.reviews-head { text-align: center; max-width: 760px; margin: 0 auto var(--space-xl); }
.g-score {
    display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
    margin-top: var(--space-md); padding: 12px 22px; border-radius: 999px;
    background: var(--bianco); box-shadow: 0 4px 18px rgba(0,0,0,0.08); color: var(--liquerizia);
}
.g-score:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.12); }
.g-score-num { font-size: 2rem; font-weight: 700; line-height: 1; }
.g-score-stars { position: relative; display: inline-block; color: var(--alabastro); font-size: 1.25rem; letter-spacing: 2px; }
.g-score-stars span { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--oro-tuorlo); }
.g-score-count { font-size: 0.9375rem; text-decoration: underline; text-underline-offset: 3px; }
.g-score-asof { font-size: 0.8125rem; color: var(--terra); margin-top: 10px; }
.rv-themes { margin-top: var(--space-sm); font-size: 0.9375rem; color: var(--terra); }
.rv-chip { display: inline-block; padding: 3px 10px; margin: 4px 2px; border-radius: 999px; background: var(--bianco); border: 1px solid var(--alabastro); color: var(--liquerizia); }
.rv-chip b { color: var(--color-primary-dark); }

.reviews-grid { columns: 3 320px; column-gap: var(--space-md); }
.rv-card {
    break-inside: avoid; margin: 0 0 var(--space-md);
    background: var(--bianco); border-radius: var(--radius-xl); padding: var(--space-md);
    box-shadow: 0 4px 18px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.04);
}
.rv-hidden { display: none; }
.rv-stars { color: var(--oro-tuorlo); letter-spacing: 2px; margin-bottom: 10px; }
.rv-text {
    margin: 0; font-size: 1rem; line-height: 1.6; color: var(--terra);
    display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden;
}
.rv-open .rv-text { display: block; -webkit-line-clamp: unset; overflow: visible; }
.rv-text strong { color: var(--liquerizia); font-weight: 700; background: linear-gradient(transparent 62%, rgba(247, 210, 30, 0.45) 62%); }
.rv-expand { margin-top: 8px; background: none; border: 0; padding: 0; color: var(--color-primary-dark); font: inherit; font-size: 0.875rem; text-decoration: underline; cursor: pointer; }
.rv-author { display: flex; align-items: center; gap: 12px; margin-top: var(--space-sm); padding-top: var(--space-sm); border-top: 1px solid var(--alabastro); font-size: 0.9375rem; }
.rv-avatar { width: 38px; height: 38px; border-radius: 50%; flex: 0 0 38px; display: flex; align-items: center; justify-content: center; background: var(--color-primary); color: var(--bianco); font-weight: 700; }
.rv-meta { font-size: 0.8125rem; color: var(--terra); }
.rv-meta a { color: inherit; text-decoration: underline; }
.reviews-actions { display: flex; gap: var(--space-md); align-items: center; justify-content: center; flex-wrap: wrap; margin-top: var(--space-sm); }
.reviews-all { color: var(--terra); text-decoration: underline; font-size: 0.9375rem; }

/* ==========================================================================
   Menu v2 — a floating pill: icons, the event date, the section in view lit up
   ========================================================================== */
.header {
    top: 12px;
    width: calc(100% - 32px);
    max-width: 1180px;
    margin: 12px auto 0;
    padding: 10px 12px 10px 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(246, 245, 241, 0.82);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 8px 30px rgba(42, 42, 34, 0.10);
}
.header.scrolled {
    padding: 6px 8px 6px 20px;
    box-shadow: 0 10px 34px rgba(42, 42, 34, 0.16);
}
.header .logo { max-width: 128px; transition: max-width var(--transition-normal); }
.header.scrolled .logo { max-width: 112px; }

.nav { gap: 6px; }
.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--liquerizia);
    font-weight: 500;
    transition: background var(--transition-fast), color var(--transition-fast);
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 50%; right: 50%; bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-primary);
    transition: left var(--transition-normal), right var(--transition-normal);
}
.nav-link:hover::after, .nav-link.is-active::after { left: 18px; right: 18px; }
.nav-link:hover, .nav-link.is-active { background: rgba(253, 90, 35, 0.08); color: var(--liquerizia); }
.nav-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--bianco); box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 15px;
    transition: transform var(--transition-normal);
}
.nav-link:hover .nav-ico { transform: rotate(-12deg) scale(1.08); }
.nav-date {
    padding: 2px 8px; border-radius: 999px;
    background: var(--nadalini-verde); color: var(--fiore-zucca);
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.5px;
}
.nav a.nav-shop {
    margin-left: 6px;
    padding: 10px 22px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(253, 90, 35, 0.35);
}
.nav a.nav-shop:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(253, 90, 35, 0.45); }
.nav-wa { display: none; }

/* hamburger → X */
.menu-toggle span { transition: transform var(--transition-normal), opacity var(--transition-fast); }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
    .nav-link .nav-ico { display: none; }
}

@media (max-width: 768px) {
    .header { border-radius: 24px; padding: 8px 8px 8px 18px; }
    .menu-toggle { position: relative; z-index: 2; }
    .header .logo { position: relative; z-index: 2; }

    /* full-screen sheet */
    .nav {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 1;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 10px;
        padding: 110px 24px 32px;
        background: var(--latte);
        border: 0;
        box-shadow: none;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-12px);
        transition: opacity var(--transition-normal), transform var(--transition-normal), visibility 0s linear 0.3s;
    }
    .nav.active {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity var(--transition-normal), transform var(--transition-normal);
    }
    .nav a { border-bottom: 0; }
    .nav .nav-link {
        font-size: 1.5rem;
        font-weight: 700;
        padding: 14px 16px;
        border-radius: var(--radius-lg);
        background: var(--bianco);
        box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    }
    .nav .nav-link .nav-ico { display: inline-flex; width: 40px; height: 40px; font-size: 20px; }
    .nav .nav-link::after { display: none; }
    .nav-date { margin-left: auto; font-size: 0.875rem; }
    .nav a.nav-shop { margin: 14px 0 0; padding: 16px; font-size: 1.125rem; justify-content: center; }
    .nav-wa { display: block; text-align: center; margin-top: 10px; font-size: 0.9375rem; color: var(--terra); }
    .nav-wa a { color: inherit; text-decoration: underline; padding: 0; }
    html.nav-open, html.nav-open body { overflow: hidden; }
}
/* a backdrop-filter makes the header the containing block of position:fixed —
   drop it while the sheet is open so the sheet covers the viewport */
@media (max-width: 768px) {
    html.nav-open .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--latte); }
}
/* the pill floats over the hero instead of sitting on a band of its own */
.header + .hero { margin-top: -82px; padding-top: calc(var(--space-xxl) + 82px); }
@media (max-width: 768px) { .header + .hero { margin-top: -70px; padding-top: calc(var(--space-lg) + 70px); } }
/* more room for the logo, and the shop button grows with it */
.header { padding: 12px 14px 12px 30px; }
.header .logo { max-width: 168px; }
.header.scrolled { padding: 8px 10px 8px 26px; }
.header.scrolled .logo { max-width: 146px; }
.nav a.nav-shop { padding: 13px 28px; font-size: 1.0625rem; }
.header.scrolled .nav a.nav-shop { padding: 11px 24px; }
.header + .hero { margin-top: -101px; padding-top: calc(var(--space-xxl) + 101px); }
@media (max-width: 768px) {
    .header { padding: 10px 10px 10px 20px; }
    .header .logo { max-width: 140px; }
    .header + .hero { margin-top: -78px; padding-top: calc(var(--space-lg) + 78px); }
}

/* between the hamburger (≤768) and full desktop: one line per item, tighter */
.nav-link, .nav a.nav-shop { white-space: nowrap; }
@media (min-width: 769px) and (max-width: 1100px) {
    .header { padding: 10px 10px 10px 22px; }
    .header .logo { max-width: 140px; }
    .nav { gap: 2px; }
    .nav-link { padding: 8px 10px; font-size: 0.875rem; gap: 6px; }
    .nav-link:hover::after, .nav-link.is-active::after { left: 10px; right: 10px; }
    .nav a.nav-shop { margin-left: 4px; padding: 11px 20px; font-size: 0.9375rem; }
}
@media (min-width: 769px) and (max-width: 920px) {
    .nav-opt, .nav-date { display: none; }
}
@media (min-width: 769px) and (max-width: 1100px) {
    .header + .hero { margin-top: -87px; padding-top: calc(var(--space-xxl) + 87px); }
}
/* measured: header height + 12px top margin at each width */
@media (min-width: 769px) and (max-width: 1100px) {
    .header + .hero { margin-top: -86.5px; padding-top: calc(var(--space-xxl) + 86.5px); }
}
@media (max-width: 768px) {
    .header + .hero { margin-top: -86.5px; padding-top: calc(var(--space-lg) + 86.5px); }
}
.event-section p strong { color: var(--fiore-zucca); }
.event-past { margin-top: 6px; font-size: 0.9375rem; }
.event-past a { color: var(--latte); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   The witch badge — appears after the pumpkins, points to the soup
   ========================================================================== */
.witch-badge {
    position: fixed;
    left: max(20px, env(safe-area-inset-left));
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 90;
    width: 112px;
    height: 112px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(24px) scale(0.6) rotate(-12deg);
    transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.witch-badge.is-shown { opacity: 1; transform: none; pointer-events: auto; }

.witch-badge-link {
    position: absolute; inset: 0;
    display: block;
    border-radius: 50%;
    background: var(--nadalini-verde);
    box-shadow: 0 10px 28px rgba(0, 40, 31, 0.35), 0 0 0 3px rgba(247, 210, 30, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.witch-badge-link:hover, .witch-badge-link:focus-visible {
    transform: scale(1.06) rotate(-4deg);
    box-shadow: 0 14px 34px rgba(0, 40, 31, 0.45), 0 0 0 4px var(--fiore-zucca);
}
.witch-badge-ring {
    position: absolute; inset: 0; width: 100%; height: 100%;
    animation: witch-spin 18s linear infinite;
}
.witch-badge-link:hover .witch-badge-ring { animation-duration: 6s; }
.witch-badge-ring text {
    fill: var(--fiore-zucca);
    font-family: var(--font-main);
    font-size: 8.4px;
    font-weight: 700;
    letter-spacing: 0.6px;
}
.witch-badge-face {
    position: absolute;
    left: 50%; top: 50%;
    width: 64px; height: 64px;
    margin: -32px 0 0 -32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--fiore-zucca);
}
.witch-badge.is-shown .witch-badge-face { animation: witch-nod 1.2s ease 0.6s 1, witch-nod 1.2s ease 14s 1; }

.witch-badge-tip {
    position: absolute;
    left: calc(100% + 12px); top: 50%;
    transform: translate(-6px, -50%);
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--bianco);
    color: var(--liquerizia);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.witch-badge-link:hover .witch-badge-tip, .witch-badge-link:focus-visible .witch-badge-tip { opacity: 1; transform: translate(0, -50%); }
/* the first time it appears, the tip says hello for a moment, then leaves */
.witch-badge.is-shown .witch-badge-tip { animation: witch-tip 4.2s ease 1.1s 1 backwards; }

.witch-badge-close {
    position: absolute; top: -4px; right: -4px;
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 0;
    background: var(--bianco);
    color: var(--liquerizia);
    font-size: 17px; line-height: 26px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.witch-badge:hover .witch-badge-close, .witch-badge-close:focus-visible { opacity: 1; }

@keyframes witch-spin { to { transform: rotate(360deg); } }
@keyframes witch-nod {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-10deg); }
    55% { transform: rotate(7deg); }
    80% { transform: rotate(-3deg); }
}
@keyframes witch-tip {
    0% { opacity: 0; transform: translate(-6px, -50%); }
    12%, 82% { opacity: 1; transform: translate(0, -50%); }
    100% { opacity: 0; transform: translate(-6px, -50%); }
}

@media (max-width: 768px) {
    .witch-badge { width: 84px; height: 84px; left: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
    .witch-badge-face { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
    /* on touch there is no hover: the close button is always there, small */
    .witch-badge-close { opacity: 1; width: 22px; height: 22px; line-height: 22px; font-size: 15px; }
    .witch-badge-tip { font-size: 0.8125rem; }
}
@media (prefers-reduced-motion: reduce) {
    .witch-badge { transition: opacity 0.2s ease; transform: none; }
    .witch-badge-ring, .witch-badge.is-shown .witch-badge-face, .witch-badge.is-shown .witch-badge-tip { animation: none; }
}
/* bottom-right: CookieYes keeps its revisit button bottom-left */
.witch-badge { left: auto; right: max(20px, env(safe-area-inset-right)); transform: translateY(24px) scale(0.6) rotate(12deg); }
.witch-badge.is-shown { transform: none; }
.witch-badge-tip { left: auto; right: calc(100% + 12px); transform: translate(6px, -50%); }
.witch-badge-link:hover .witch-badge-tip, .witch-badge-link:focus-visible .witch-badge-tip { transform: translate(0, -50%); }
.witch-badge-close { right: auto; left: -4px; }
@keyframes witch-tip {
    0% { opacity: 0; transform: translate(6px, -50%); }
    12%, 82% { opacity: 1; transform: translate(0, -50%); }
    100% { opacity: 0; transform: translate(6px, -50%); }
}
@media (max-width: 768px) {
    .witch-badge { left: auto; right: 14px; }
}
@media (prefers-reduced-motion: reduce) { .witch-badge { transform: none; } }

/* the greeting plays once; when the badge comes back it just appears */
.witch-badge.tip-done.is-shown .witch-badge-tip,
.witch-badge.tip-done.is-shown .witch-badge-face { animation: none; }
