/* ========================================
   VERMARC - NON SOLO CARNE
   Stile Caldo & Artigianale
   ======================================== */

/* -----------------------------------------
   CSS VARIABLES - Design Tokens
   ----------------------------------------- */
:root {
    /* Color Palette */
    --color-primary: #8B2635;        /* Borgogna — coerenza col logo */
    --color-primary-dark: #6E1E2A;
    --color-primary-light: #A83345;
    --color-secondary: #7B8B6F;      /* Verde oliva — natura, freschezza */
    --color-secondary-dark: #637157;
    --color-accent: #3D2B1F;         /* Marrone scuro caldo */

    /* Neutral Colors */
    --color-cream: #FAF6F1;
    --color-cream-dark: #F0E8DF;
    --color-white: #FFFFFF;
    --color-black: #1A1A1A;
    --color-gray-100: #F7F7F7;
    --color-gray-200: #E5E5E5;
    --color-gray-300: #D4D4D4;
    --color-gray-400: #A3A3A3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.4rem + 2.4vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.5rem + 3.75vw, 3.5rem);
    --text-5xl: clamp(3rem, 2rem + 5vw, 4.5rem);
    --text-6xl: clamp(3.5rem, 2.5rem + 5vw, 5.5rem);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 30px rgba(123, 139, 111, 0.2);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-popover: 500;
    --z-tooltip: 600;
}

/* -----------------------------------------
   RESET & BASE STYLES
   ----------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-gray-700);
    background-color: var(--color-cream);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* -----------------------------------------
   TYPOGRAPHY
   ----------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-accent);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

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

.lead {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--color-gray-600);
}

/* -----------------------------------------
   LAYOUT
   ----------------------------------------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-2xl);
    }
}

/* -----------------------------------------
   NAVIGATION
   ----------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--space-lg) 0;
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-md) 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: var(--z-fixed);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.1;
}

.logo-tagline {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
    text-transform: none;
    letter-spacing: 2px;
}

.nav-logo-img {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: none;
    gap: var(--space-2xl);
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: var(--space-sm) 0;
    transition: color var(--transition-base);
}

.navbar.scrolled .nav-link {
    color: var(--color-gray-700);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

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

.nav-phone {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .nav-phone {
        display: flex;
    }
}

.phone-icon {
    font-size: 1.2rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: var(--z-fixed);
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: all var(--transition-base);
}

.navbar.scrolled .hamburger span {
    background: var(--color-accent);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-cream);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-xl);
        transition: right var(--transition-base);
    }

    .nav-menu.active {
        display: flex;
        right: 0;
    }

    .nav-link {
        font-size: var(--text-2xl);
        color: var(--color-gray-700);
    }
}

/* -----------------------------------------
   HERO SECTION
   ----------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-5xl) var(--space-lg);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1607623814075-e51df1bdc82f?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.35) 100%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
    animation: fadeInDown 0.8s ease;
}

.hero-badge span {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 2px;
    color: white;
}

.hero-title {
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.title-line {
    display: block;
    color: white;
}

.title-highlight {
    color: var(--color-primary);
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(212, 165, 116, 0.4);
    z-index: -1;
    transform: skewX(-5deg);
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-3xl);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    text-transform: none;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--color-gray-300);
    display: none;
}

@media (min-width: 768px) {
    .stat-divider {
        display: block;
    }
}

/* -----------------------------------------
   BUTTONS
   ----------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(139, 38, 53, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 6px 20px rgba(139, 38, 53, 0.4);
}

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

.btn-secondary:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-dark {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-dark:hover {
    background: var(--color-black);
}

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

.btn-white:hover {
    background: var(--color-cream);
}

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

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

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-base);
}

.btn-full {
    width: 100%;
}

.btn-icon {
    font-size: 1.2rem;
}

/* -----------------------------------------
   FEATURES BAR
   ----------------------------------------- */
.features-bar {
    background: var(--color-secondary-dark);
    color: white;
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: background var(--transition-base);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.feature-text p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* -----------------------------------------
   SECTION COMPONENTS
   ----------------------------------------- */
.section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
    max-width: 600px;
}

.section-divider {
    width: 40px;
    height: 2px;
    background: var(--color-secondary);
    margin-bottom: var(--space-xl);
}

.section-header {
    margin-bottom: var(--space-3xl);
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-subtitle {
    margin: 0 auto;
}

.section-header.light .section-tag,
.section-header.light .section-title,
.section-header.light .section-subtitle {
    color: var(--color-white);
}

.section-header.light em {
    color: var(--color-secondary);
}

/* -----------------------------------------
   CHI SIAMO SECTION
   ----------------------------------------- */
.chi-siamo {
    padding: var(--space-5xl) 0;
    background: var(--color-white);
    position: relative;
}

.chi-siamo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .chi-siamo-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4xl);
    }
}

.chi-siamo-images {
    position: relative;
}

.image-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-placeholder {
    background:
        linear-gradient(135deg, rgba(139, 38, 53, 0.05) 0%, rgba(123, 139, 111, 0.08) 100%);
    background-size: cover;
    background-position: center;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    position: relative;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(44, 24, 16, 0.3) 100%);
}

.image-placeholder span {
    font-size: 4rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    display: none;
}

.image-placeholder p {
    font-size: var(--text-sm);
    color: var(--color-white);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
    display: none;
}

.image-placeholder.small {
    aspect-ratio: 1;
    background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=400&q=80');
}

.image-placeholder.product {
    aspect-ratio: 1;
    background-image: url('https://images.unsplash.com/photo-1603048297172-c92544798d5a?auto=format&fit=crop&w=600&q=80');
}

.image-placeholder.product span {
    font-size: 3rem;
}

.image-placeholder.specialita {
    aspect-ratio: 16/10;
    background-image: url('https://images.unsplash.com/photo-1529694157872-4e0c0f3b238b?auto=format&fit=crop&w=800&q=80');
}

.image-placeholder.gallery {
    height: 100%;
    min-height: 200px;
    background-image: url('https://images.unsplash.com/photo-1551028150-64b9f398f678?auto=format&fit=crop&w=600&q=80');
}

/* Specific product images */
.product-card:nth-child(1) .image-placeholder.product {
    background-image: url('https://images.unsplash.com/photo-1615937722923-67f6deaf2cc9?auto=format&fit=crop&w=600&q=80');
}

.product-card:nth-child(2) .image-placeholder.product {
    background-image: url('https://images.unsplash.com/photo-1588347818036-558601350947?auto=format&fit=crop&w=600&q=80');
}

.product-card:nth-child(3) .image-placeholder.product {
    background-image: url('https://images.unsplash.com/photo-1603048297172-c92544798d5a?auto=format&fit=crop&w=600&q=80');
}

.product-card:nth-child(4) .image-placeholder.product {
    background-image: url('https://images.unsplash.com/photo-1592686092916-672fa9e86866?auto=format&fit=crop&w=600&q=80');
}

.product-card:nth-child(5) .image-placeholder.product {
    background-image: url('https://images.unsplash.com/photo-1602470520998-f4a52199a3d6?auto=format&fit=crop&w=600&q=80');
}

.product-card:nth-child(6) .image-placeholder.product {
    background-image: url('https://images.unsplash.com/photo-1588168333986-5078d3ae3976?auto=format&fit=crop&w=600&q=80');
}

/* Suino images */
.product-card[data-category="suino"]:nth-of-type(1) .image-placeholder.product {
    background-image: url('https://images.unsplash.com/photo-1623241899239-14d tried?auto=format&fit=crop&w=600&q=80');
}

/* Specialita images variations */
.specialita-card:nth-child(1) .image-placeholder.specialita {
    background-image: url('https://images.unsplash.com/photo-1568901346375-23c9450c58cd?auto=format&fit=crop&w=800&q=80');
}

.specialita-card:nth-child(2) .image-placeholder.specialita {
    background-image: url('https://images.unsplash.com/photo-1529694157872-4e0c0f3b238b?auto=format&fit=crop&w=600&q=80');
}

.specialita-card:nth-child(3) .image-placeholder.specialita {
    background-image: url('https://images.unsplash.com/photo-1598103442097-8b74394b95c6?auto=format&fit=crop&w=600&q=80');
}

.specialita-card:nth-child(4) .image-placeholder.specialita {
    background-image: url('https://images.unsplash.com/photo-1544025162-d76694265947?auto=format&fit=crop&w=600&q=80');
}

.specialita-card:nth-child(5) .image-placeholder.specialita {
    background-image: url('https://images.unsplash.com/photo-1622944925277-2cf454c68d64?auto=format&fit=crop&w=600&q=80');
}

.specialita-card:nth-child(6) .image-placeholder.specialita {
    background-image: url('https://images.unsplash.com/photo-1547050605-2f268cd8b4f3?auto=format&fit=crop&w=600&q=80');
}

.specialita-card:nth-child(7) .image-placeholder.specialita {
    background-image: url('https://images.unsplash.com/photo-1604908176997-125f25cc6f3d?auto=format&fit=crop&w=600&q=80');
}

/* Gallery specific images */
.gallery-item:nth-child(1) .image-placeholder.gallery {
    background-image: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?auto=format&fit=crop&w=800&q=80');
}

.gallery-item:nth-child(2) .image-placeholder.gallery {
    background-image: url('https://images.unsplash.com/photo-1607623814075-e51df1bdc82f?auto=format&fit=crop&w=600&q=80');
}

.gallery-item:nth-child(3) .image-placeholder.gallery {
    background-image: url('https://images.unsplash.com/photo-1588347818036-558601350947?auto=format&fit=crop&w=600&q=80');
}

.gallery-item:nth-child(4) .image-placeholder.gallery {
    background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=600&q=80');
}

.gallery-item:nth-child(5) .image-placeholder.gallery {
    background-image: url('https://images.unsplash.com/photo-1626200419199-391ae4be7a41?auto=format&fit=crop&w=600&q=80');
}

.gallery-item:nth-child(6) .image-placeholder.gallery {
    background-image: url('https://images.unsplash.com/photo-1551028150-64b9f398f678?auto=format&fit=crop&w=600&q=80');
}

.image-badge {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    text-align: center;
}

.badge-year {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: var(--text-xs);
    text-transform: none;
    letter-spacing: 1px;
    opacity: 0.9;
}

.image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 180px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--color-white);
    display: none;
}

@media (min-width: 768px) {
    .image-secondary {
        display: block;
    }
}

.chi-siamo-content p {
    margin-bottom: var(--space-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

.value-item {
    text-align: center;
}

.value-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.value-item h4 {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.value-item p {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    margin: 0;
}

/* -----------------------------------------
   PRODOTTI SECTION
   ----------------------------------------- */
.prodotti {
    padding: var(--space-5xl) 0;
    background: var(--color-cream);
    position: relative;
}

.product-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-3xl);
}

.tab-btn {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 1px;
    color: var(--color-gray-600);
    background: var(--color-white);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.tab-btn:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.tab-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image .image-placeholder {
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image .image-placeholder {
    transform: none;
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    color: var(--color-white);
}

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

.product-badge.bestseller {
    background: var(--color-primary);
    color: white;
}

.product-badge.bio {
    background: #5a8a5e;
    color: white;
}

.product-badge.artigianale {
    background: var(--color-accent);
    color: white;
}

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

.product-content h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.product-content p {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    margin-bottom: var(--space-md);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-200);
}

.product-price {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
}

.product-price small {
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--color-gray-500);
}

.product-origin {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
}

.products-cta {
    text-align: center;
    margin-top: var(--space-3xl);
    padding: var(--space-2xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
}

.products-cta p {
    margin-bottom: var(--space-lg);
    color: var(--color-gray-600);
}

/* -----------------------------------------
   SPECIALITA SECTION
   ----------------------------------------- */
.specialita {
    padding: var(--space-5xl) 0;
    background: var(--color-accent);
    color: white;
    position: relative;
    overflow: hidden;
}

.specialita-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    position: relative;
}

@media (min-width: 768px) {
    .specialita-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .specialita-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.specialita-card {
    background: var(--color-white);
    color: var(--color-accent);
    backdrop-filter: none;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.specialita-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.specialita-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .specialita-card.featured {
        grid-template-columns: 1fr 1fr;
    }
}

.specialita-image {
    overflow: hidden;
}

.specialita-content {
    padding: var(--space-xl);
}

.specialita-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-secondary);
    color: var(--color-accent);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.specialita-content h3 {
    font-size: var(--text-2xl);
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.specialita-content p {
    color: var(--color-gray-600);
    margin-bottom: var(--space-md);
}

.specialita-details {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.detail {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

.detail strong {
    color: var(--color-secondary);
}

.specialita-price {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-primary);
}

.specialita-price small {
    font-size: var(--text-base);
    font-weight: 400;
}

/* -----------------------------------------
   GALLERIA SECTION
   ----------------------------------------- */
.galleria {
    padding: var(--space-5xl) 0;
    background:
        linear-gradient(180deg, var(--color-white) 0%, var(--color-cream) 100%);
    position: relative;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 200px;
    }
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item:hover .image-placeholder {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-gray-100) 100%);
}

@media (min-width: 768px) {
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item.tall {
        grid-row: span 2;
    }
}

/* -----------------------------------------
   TESTIMONIALS SECTION
   ----------------------------------------- */
.testimonials {
    padding: var(--space-5xl) 0;
    background: var(--color-cream);
    position: relative;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .testimonials-slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border-left: 3px solid var(--color-secondary);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-stars {
    color: #D4A574;
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: var(--text-base);
    font-style: italic;
    color: var(--color-gray-700);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-lg);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--color-accent);
}

.author-info span {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

/* -----------------------------------------
   CTA SECTION
   ----------------------------------------- */
.cta-section {
    padding: var(--space-5xl) 0;
    background: var(--color-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: var(--text-4xl);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.cta-content em {
    color: var(--color-secondary);
}

.cta-content p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

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

/* -----------------------------------------
   CONTATTI SECTION
   ----------------------------------------- */
.contatti {
    padding: var(--space-5xl) 0;
    background: var(--color-cream);
    position: relative;
}

.contatti-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

@media (min-width: 1024px) {
    .contatti-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.info-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.info-content p {
    color: var(--color-gray-600);
    margin-bottom: var(--space-xs);
}

.info-content a {
    color: var(--color-gray-700);
}

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

.info-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary) !important;
}

.orari-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xs) var(--space-md);
    margin-top: var(--space-sm);
}

.giorno {
    font-weight: 500;
    color: var(--color-gray-700);
}

.orario {
    color: var(--color-gray-600);
}

.orario.closed {
    color: var(--color-primary);
    font-weight: 500;
}

.social-links h4 {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.social-icons {
    display: flex;
    gap: var(--space-md);
}

.social-icon {
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--color-gray-600);
    transition: fill var(--transition-base);
}

.social-icon:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-icon:hover svg {
    fill: var(--color-white);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-xl);
}

.map-placeholder {
    aspect-ratio: 16/9;
    background: var(--color-cream-dark);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    position: relative;
}


.map-placeholder span {
    font-size: 4rem;
    position: relative;
    z-index: 1;
}

.map-placeholder p {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.map-placeholder small {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.quick-contact {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.quick-contact h4 {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    background: var(--color-cream);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* -----------------------------------------
   FOOTER
   ----------------------------------------- */
.footer {
    background: var(--color-accent);
    color: var(--color-white);
    position: relative;
}

.footer-top {
    padding: var(--space-4xl) 0;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer-logo .logo-name {
    color: var(--color-white);
}

.footer-logo .logo-tagline {
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}

.footer-links h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.footer-newsletter h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    border: none;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
    color: var(--color-secondary);
}

/* -----------------------------------------
   BACK TO TOP BUTTON
   ----------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
}

/* -----------------------------------------
   ANIMATIONS
   ----------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations for grid items */
.products-grid .product-card,
.specialita-grid .specialita-card,
.gallery-grid .gallery-item,
.testimonials-slider .testimonial-card {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.products-grid .product-card.animated,
.specialita-grid .specialita-card.animated,
.gallery-grid .gallery-item.animated,
.testimonials-slider .testimonial-card.animated {
    opacity: 1;
    transform: translateY(0);
}

/* -----------------------------------------
   RESPONSIVE UTILITIES
   ----------------------------------------- */
@media (max-width: 767px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .values-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

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

    .value-item .value-icon {
        margin-bottom: 0;
    }
}

/* -----------------------------------------
   FLOATING WHATSAPP BUTTON
   ----------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all var(--transition-base);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--color-black);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-base);
    pointer-events: none;
}

.whatsapp-float .whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--color-black);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Move back-to-top above WhatsApp button */
.back-to-top {
    bottom: calc(var(--space-xl) + 75px) !important;
}

/* -----------------------------------------
   HERO WHATSAPP BUTTON
   ----------------------------------------- */
.btn-whatsapp-hero {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.btn-whatsapp-hero svg {
    width: 20px;
    height: 20px;
}

.hero-title .title-highlight {
    color: var(--color-white);
}

/* -----------------------------------------
   CONSEGNE A DOMICILIO SECTION
   ----------------------------------------- */
.consegne {
    padding: var(--space-5xl) 0;
    background: linear-gradient(135deg, var(--color-cream) 0%, #FFF5E6 50%, var(--color-cream-dark) 100%);
    position: relative;
    overflow: hidden;
}

.consegne::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(212, 165, 116, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(139, 38, 53, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.consegne-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin: var(--space-3xl) 0;
}

@media (min-width: 768px) {
    .consegne-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .consegne-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.consegna-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.consegna-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-secondary);
}

.consegna-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: block;
}

.consegna-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.consegna-card p {
    color: var(--color-gray-600);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.consegna-card strong {
    color: var(--color-primary);
    font-size: var(--text-xl);
}

.consegne-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

.consegne-cta p {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
    margin-bottom: var(--space-lg);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: #25D366 !important;
    border-color: #25D366 !important;
}

.btn-whatsapp:hover {
    background: #1EBE5A !important;
    border-color: #1EBE5A !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
    width: 24px;
    height: 24px;
}

/* -----------------------------------------
   IMPROVED PRODUCT CARD HOVER
   ----------------------------------------- */
.product-card {
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* -----------------------------------------
   IMPROVED TESTIMONIAL CARDS
   ----------------------------------------- */
.testimonial-card {
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.testimonial-card:hover {
    border-color: var(--color-secondary);
}

/* -----------------------------------------
   SOCIAL ICON WHATSAPP
   ----------------------------------------- */
.social-icon-whatsapp:hover {
    background: #25D366 !important;
}

/* -----------------------------------------
   CHI SIAMO IMAGES
   ----------------------------------------- */
.chi-siamo-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.image-main {
    position: relative;
}

.image-main img {
    aspect-ratio: 4/3;
}

.image-secondary img {
    aspect-ratio: 16/9;
    margin-top: var(--space-lg);
}

/* -----------------------------------------
   FOOTER LOGO IMAGE
   ----------------------------------------- */
.footer-logo-img {
    height: 60px;
    width: auto;
}

/* -----------------------------------------
   WHATSAPP CTA CARD (Contatti)
   ----------------------------------------- */
.whatsapp-cta-card {
    text-align: center;
    padding: var(--space-2xl);
}

.whatsapp-cta-card h4 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

.whatsapp-cta-card > p {
    color: var(--color-gray-600);
    margin-bottom: var(--space-lg);
}

.whatsapp-number {
    margin-top: var(--space-md);
    color: var(--color-gray-500);
    font-size: var(--text-sm);
}

/* -----------------------------------------
   CONSEGNA ICON SVG
   ----------------------------------------- */
.consegna-icon {
    color: var(--color-primary);
}

.consegna-icon svg {
    width: 32px;
    height: 32px;
    margin-bottom: var(--space-sm);
}

/* -----------------------------------------
   FEATURE ICON SVG
   ----------------------------------------- */
.feature-icon svg {
    stroke: currentColor;
}

/* -----------------------------------------
   INFO ICON SVG
   ----------------------------------------- */
.info-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

/* -----------------------------------------
   PRODOTTI CTA SECTION (Home)
   ----------------------------------------- */
.prodotti-cta-section {
    padding: var(--space-5xl) 0;
    background: var(--color-cream);
}

.prodotti-cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

@media (min-width: 768px) {
    .prodotti-cta-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.prodotti-cta-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.prodotti-cta-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.prodotti-cta-card:hover img {
    transform: scale(1.05);
}

.prodotti-cta-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin: 0;
}

/* -----------------------------------------
   PRODOTTI PAGE BANNER
   ----------------------------------------- */
.page-banner {
    background: var(--color-accent);
    color: white;
    padding: var(--space-2xl) 0 var(--space-3xl);
    text-align: center;
}


.page-banner h1 {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
    color: white;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.page-banner .back-link {
    display: block;
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
}

.page-banner .back-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* -----------------------------------------
   PRODOTTI PAGE
   ----------------------------------------- */
.prodotti-page {
    padding: var(--space-3xl) 0;
}

.prodotto-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
    .prodotto-item {
        grid-template-columns: 1fr 1fr;
    }

    .prodotto-item.reverse .prodotto-img {
        order: 2;
    }

    .prodotto-item.reverse .prodotto-info {
        order: 1;
    }
}

.prodotto-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.prodotto-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

.prodotto-info h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.prodotto-info p {
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

/* -----------------------------------------
   GALLERY PAGE (Masonry + Lazy Loading)
   ----------------------------------------- */
.galleria-page {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-cream) 100%);
    min-height: 60vh;
}

.gallery-masonry {
    columns: 2;
    column-gap: var(--space-md);
}

@media (min-width: 768px) {
    .gallery-masonry {
        columns: 3;
    }
}

@media (min-width: 1200px) {
    .gallery-masonry {
        columns: 4;
    }
}

.gallery-masonry-item {
    break-inside: avoid;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    background: var(--color-cream-dark);
}

.gallery-masonry-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-masonry-item.loaded img {
    opacity: 1;
}

/* Skeleton placeholder */
.gallery-skeleton {
    width: 100%;
    padding-bottom: 100%;
    background: linear-gradient(110deg, var(--color-cream-dark) 30%, var(--color-cream) 50%, var(--color-cream-dark) 70%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-lg);
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Loader */
.gallery-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-2xl) 0;
    color: var(--color-gray-500);
}

.loader-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--color-cream-dark);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* -----------------------------------------
   LIGHTBOX
   ----------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    transition: opacity 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-xl);
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all var(--transition-fast);
    z-index: 10;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: var(--space-lg);
}

.lightbox-next {
    right: var(--space-lg);
}

.lightbox-counter {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    font-family: var(--font-body);
}

@media (max-width: 767px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-prev { left: var(--space-sm); }
    .lightbox-next { right: var(--space-sm); }
}

/* -----------------------------------------
   VIDEO SECTION
   ----------------------------------------- */
.video-section {
    padding: var(--space-5xl) 0;
    background: var(--color-cream);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

@media (min-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.video-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-accent);
    aspect-ratio: 9/16;
    max-height: 500px;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-dark) 100%);
    cursor: pointer;
}

.video-placeholder svg {
    opacity: 0.5;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.video-item:hover .video-placeholder svg {
    opacity: 0.9;
    transform: scale(1.1);
}

/* -----------------------------------------
   PRINT STYLES
   ----------------------------------------- */
@media print {
    .navbar,
    .back-to-top {
        display: none !important;
    }

    body {
        background: white;
    }

    .hero {
        min-height: auto;
        padding: 2rem;
    }
}
