/* ===================================================================
   CSS OTTIMIZZATO - Sistema di Design Unificato
   
   STRUTTURA:
   0. CSS Custom Properties (Variabili)
   1. Reset e Base Styles
   2. Sistema Tipografico Responsivo
   3. Utilità e Helpers
   4. Header e Navigazione
   5. Top Bar
   6. Menu Principale
   7. Off-Canvas Menu
   8. Bottoni
   9. Footer
   10. Sovrascritture Specifiche
   11. Media Queries Consolidate
=================================================================== */

/* ===================================================================
   0. CSS CUSTOM PROPERTIES - Design System
=================================================================== */
:root {
  --color-primary: #CD9F63;        /* Oro caldo principale */
  --color-primary-light: #EBD9C5;  /* Oro chiaro luminoso */
  --color-primary-dark: #9A7B3D;   /* Oro antico scuro */
  --color-primary-muted: #D4BC82;  /* Oro soft attenuato */
  
  /* === ACCENTI CARATTERISTICI === */
  /* Rosa/Magenta (bordo logo) */
  --color-accent-pink: #D77FA1;    /* Rosa magenta */
  --color-accent-pink-light: #E8A8BF; /* Rosa chiaro */
  --color-accent-pink-dark: #B85D7F;  /* Rosa scuro */
  
  /* Viola (ciglia logo) */
  --color-accent-purple: #8B6F9E;  /* Viola ametista */
  --color-accent-purple-light: #A98FB5; /* Viola chiaro */
  --color-accent-purple-dark: #6D5780;  /* Viola scuro */
  
  /* Verde Petrolio (Giada) */
  --color-accent-teal: #658F9D;    /* Verde petrolio elegante */
  --color-accent-teal-light: #4A8E8E; /* Verde petrolio chiaro */
  --color-accent-teal-dark: #1F4D4D;  /* Verde petrolio scuro */
  
  /* === NEUTRI ELEGANTI === */
  --color-dark: #2C2C2C;           /* Grigio antracite (quasi nero) */
  --color-gray: #f0ede6;           /* Grigio medio elegante */
  --color-gray-light: #eee;     /* Grigio chiaro */
  --color-white: #FDFBF7;          /* Bianco caldo avorio */
  --color-bg: #f4efe9;             /* Crema chiarissimo background */
  
  /* === OVERLAY E TRASPARENZE === */
  --overlay-dark: rgba(44, 44, 44, 0.85);        /* Overlay lusso */
  --overlay-header: rgba(255, 255, 255, 0.85);      /* Header scuro */
  --blur-bg-gold: rgba(201, 169, 97, 0.15);      /* Blur oro leggero */
  --blur-bg-pink: rgba(215, 127, 161, 0.15);     /* Blur rosa leggero */
  --blur-bg-purple: rgba(139, 111, 158, 0.15);   /* Blur viola leggero */
  --blur-bg-teal: rgba(45, 106, 106, 0.15);      /* Blur verde leggero */
  
  /* === GRADIENTI === */
  --gradient-gold: linear-gradient(135deg, #C9A961 0%, #E8D4A0 100%);
  --gradient-luxury: linear-gradient(135deg, #D77FA1 0%, #8B6F9E 50%, #2D6A6A 100%);
  --gradient-hero: linear-gradient(135deg, 
    rgba(201, 169, 97, 0.9) 0%, 
    rgba(215, 127, 161, 0.8) 50%, 
    rgba(45, 106, 106, 0.9) 100%
  );
  --gradient-overlay: linear-gradient(
    to bottom,
    rgba(44, 44, 44, 0.9) 0%,
    transparent 70%,
    rgba(44, 44, 44, 0.3) 100%
  );

  
  /* === TIPOGRAFIA === */
  --font-primary: "Jost", sans-serif;
  --font-display: "Marcellus", serif;
 
  
  /* Font Sizes Fluidi - Sistema Ottimizzato */
  /* Body text: 16px mobile → 18px desktop */
  --fs-body: clamp(1.05rem, 1.8vw, 1.3rem);
  
  /* H1: 2.5rem (40px) mobile → 4rem (64px) desktop */
  --fs-h1: clamp(2.5rem, 1.5rem + 4vw, 4rem);
  
  /* H2: 2rem (32px) mobile → 3rem (48px) desktop */
  --fs-h2: clamp(2rem, 1.25rem + 3vw, 3rem);
  
  /* H3: 1.75rem (28px) mobile → 2.25rem (36px) desktop */
  --fs-h3: clamp(1.75rem, 1.25rem + 2vw, 2.25rem);
  
 /* H4: 1.375rem (22px) mobile → 1.625rem (26px) desktop */
--fs-h4: clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem);
  
 /* Menu: 14px mobile → 17px desktop */
--fs-menu: clamp(0.875rem, 0.75rem + 0.469vw, 1.0625rem);

  /* Small: 14px mobile → 16px desktop */
  --fs-small: clamp(0.775rem, 0.65rem + 0.45vw, 1.275rem);
  
  /* === SPAZIATURE === */
  /* Sistema basato su 8px */
  --space-xs: clamp(0.5rem, 1vw, 1rem);      /* 8-16px */
  --space-sm: clamp(1rem, 2vw, 1.5rem);       /* 16-24px */
  --space-md: clamp(1.5rem, 3vw, 2.5rem);     /* 24-40px */
  --space-lg: clamp(2rem, 4vw, 4rem);         /* 32-64px */
  --space-xl: clamp(3rem, 6vw, 7.5rem);       /* 48-120px */
  
       /* === SPACING === */
            --spacing-xs: clamp(0.5rem, 1vw, 0.75rem);
            --spacing-sm: clamp(0.75rem, 1.5vw, 1rem);
            --spacing-md: clamp(1.25rem, 2.5vw, 2rem);
            --spacing-lg: clamp(2rem, 4vw, 3rem);
            --spacing-xl: clamp(3rem, 6vw, 5rem);
  
  /* Padding Sezioni */
  --section-padding: clamp(1.875rem, 5vw, 7.5rem); /* 30-120px */
  --section-padding-sm: clamp(1.175rem, 2vw, 1.175rem); /* 30px costante */
  
  
  /* Container */
  --container-padding: clamp(0.938rem, 4vw, 1.875rem); /* 15-30px */
  
  /* === ALTEZZE === */
  --header-height: 180px;
  --header-height-sticky: 80px;
  --header-height-mobile: 110px;
  --header-height-sticky-mobile: 70px;
  --logo-height: 170px;
  --logo-height-sticky: 70px;
  --logo-height-mobile: 90px;
  --logo-height-sticky-mobile: 60px;
  
  /* === TRANSIZIONI === */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.78, 0.13, 0.15, 0.86);
  
  /* === BORDI === */
  --border-radius: 2px;
  --border-width: 1px;
  
  /* === Z-INDEX === */
  --z-header: 100;
  --z-overlay: 1;
  --z-content: 2;
  --z-fixed-btn: 999;
}

/* ===================================================================
   1. IMPORT & RESET BASE
=================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Marcellus&display=swap');
/* === BODY === */
body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: 1.8;
          font-weight: 300;
  color: var(--color-dark) !important;
  background-color: var(--color-bg) !important;

}

/* === CONTAINER === */
.container-fluid {
  padding-left: var(--container-padding) !important;
  padding-right: var(--container-padding) !important;
}

/* === LINKS === */
a {
  color: var(--color-primary) !important;
  transition: color var(--transition-fast);
}

a:hover,
a:focus,
a:active {
  text-decoration: none;
  color: var(--color-primary-dark) !important;
}

/* === SCROLL TO TOP === */
.sp-scroll-up {
  color: var(--color-white) !important;
  background: var(--color-primary);
}

/* ===================================================================
   2. SISTEMA TIPOGRAFICO RESPONSIVO
=================================================================== */

/* === FONT DISPLAY === */
h1, .h1,
h2, .h2,
h3, .h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin-bottom: 0.5em;
  font-weight: 400;
}

/* === HEADING SIZES === */
h1, .h1 {
  font-size: var(--fs-h1);
  letter-spacing: 0.05em;
  font-weight: 700;
}

h2, .h2 {
  font-size: var(--fs-h2);
  letter-spacing: 0.035em;
}

h3, .h3 {
  font-size: var(--fs-h3);
  letter-spacing: 0.02em;
  color: var(--color-primary-dark);
}

h4, .h4 {
  font-size: var(--fs-h4);
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin-bottom: 0;
}

.small h2, .small {
  font-size: var(--fs-small)!important;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  line-height: 1.3;
  margin-bottom: 0;
  color: var(--color-primary-dark);
}

/* === UTILITY TYPOGRAPHY === */

.hero-subtitle h2, .hero-subtitle {
    font-size: var(--fs-small)!important;
    font-weight: 400;
    color: var(--color-accent-purple);
    letter-spacing: 0.15em;
    text-transform: uppercase!important;
    margin-bottom: var(--space-sm);
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
       font-family: var(--font-primary);
}

.section-subtitle {
    font-family: var(--font-primary);
    font-size: var(--fs-small);
    font-weight: 400;
    color: var(--color-accent-purple);
    letter-spacing: 0.15em;
    text-transform: uppercase!important;
    margin-bottom: var(--space-sm);
}

.section-title h3 {
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: 400;
    color: var(--color-accent-teal-dark)!important;
    margin-bottom: var(--space-md);
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: 400;
    color: var(--color-accent-teal-dark);
    line-height: 1.2;
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.hero-title .accent {
    color: var(--color-primary);
    font-style: italic;
    display: block;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(139, 111, 158, 0.2);
}

.hero-image-placeholder {
     background: linear-gradient(135deg, var(--color-accent-teal-light) 0%, var(--color-accent-purple-light) 50%, var(--color-accent-pink-light) 100%);
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: var(--color-white);
    text-align: center;
    padding: var(--space-lg);
}

.section-divider span {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--color-accent-purple);
    opacity: 0.3;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.divider-section {
    background: linear-gradient(135deg, var(--color-accent-teal-light) 0%, var(--color-accent-purple) 50%, var(--color-accent-pink) 100%);
    padding: 1.5rem clamp(1rem, 4vw, 3rem)!important;
    text-align: center;
}
.divider-section p {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-style: italic;
    color: var(--color-white);
    letter-spacing: 0.03em;
    max-width: 900px;
    margin: 0 auto;
}
.features-section {
    background: var(--color-white);

}
.itemid-112  .feature-card {
  
    background: var(--color-white);
    
}
.feature-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-bg);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card {
            text-align: center;
            padding: var(--space-lg);
            background: var(--color-bg);
            border-radius: 15px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(101, 143, 157, 0.05) 0%,
                rgba(139, 111, 158, 0.05) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 40px rgba(139, 111, 158, 0.15);
            border-color: var(--color-primary-light);
        }

        .feature-card:hover::before {
            opacity: 1;
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto var(--space-md);
            background: linear-gradient(135deg, 
                var(--color-accent-teal-light) 0%,
                var(--color-accent-purple-light) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: var(--color-white);
            position: relative;
            z-index: 1;
        }

        .feature-title {
            font-family: var(--font-display);
            font-size: clamp(1.3rem, 2vw, 1.8rem);
            font-weight: 500;
            color: var(--color-accent-purple-dark);
            margin-bottom: var(--space-sm);
            position: relative;
            z-index: 1;
        }

        .feature-description {
            font-size: clamp(0.95rem, 1.3vw, 1.05rem);
            line-height: 1.7;
            color: var(--color-dark);
            position: relative;
            z-index: 1;
        }
.intro-section {
  
    background: var(--color-white)!important;
}
     .treatments-section {
    padding: var(--section-padding) clamp(1rem, 5vw, 4rem);
    background: var(--color-bg);
}   

/* ===== ARTISTA SECTION ===== */
        .artist-section {
            padding: var(--section-padding) clamp(1rem, 5vw, 4rem);
            background: var(--color-white);
        }

        .artist-inner {
            max-width: 1348px;
            margin: 0 auto;
        }

        .artist-card {
            background: linear-gradient(135deg, var(--color-accent-teal-dark) 0%, var(--color-accent-purple-dark) 100%);
            border-radius: 20px;
            padding: clamp(2.5rem, 5vw, 4rem);
            position: relative;
          
            align-items: center;
        }

        .artist-card::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 60%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
        }

        .artist-card::after {
            content: '✦';
            position: absolute;
            bottom: 1.5rem;
            right: 2rem;
            font-size: 4rem;
            color: var(--color-primary);
            opacity: 0.15;
        }

        .artist-label {
            font-family: var(--font-primary);
            font-size: var(--fs-small);
            font-weight: 500;
            color: var(--color-accent-pink-light);
            letter-spacing: 0.18em;
            text-transform: uppercase;
            margin-bottom: 0.8rem;
            position: relative;
            z-index: 1;
        }

        .artist-name {
            font-family: var(--font-display);
            font-size: clamp(1.8rem, 3vw, 2.8rem);
            font-weight: 400;
            color: var(--color-white);
            line-height: 1.1;
            margin-bottom: 1.2rem;
            position: relative;
            z-index: 1;
        }

        .artist-desc {
            color: rgba(253,251,247,0.8);
            font-weight: 300;
            line-height: 1.85;
            position: relative;
            z-index: 1;
            max-width: 560px;
            margin-bottom: 2rem;
        }

        .artist-contacts {
            display: flex;
            flex-direction: column;
            gap: 0.7rem;
            position: relative;
            z-index: 1;
        }

        .contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: clamp(0.88rem, 1.2vw, 1rem);
}

.contact-item .contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-item a {
    color: rgba(253, 251, 247, 0.85) !important;
    transition: color 0.3s ease;
    font-weight: 400;
}
.artist-cta-title {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.4vw, 1.1rem);
    color: rgba(253, 251, 247, 0.7);
    text-align: center;
    font-style: italic;
}

.quote-section {
    background: linear-gradient(135deg, var(--color-accent-teal-dark) 0%, var(--color-primary-dark) 100%);
    padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '"';
    font-family: var(--font-display);
    font-size: clamp(10rem, 20vw, 18rem);
    color: rgba(255, 255, 255, 0.04);
    position: absolute;
    top: -2rem;
    left: 2rem;
    line-height: 1;
    pointer-events: none;
}
.quote-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 2.1rem);
    font-style: italic;
    color: var(--color-white);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.quote-ornament {
    color: var(--color-primary);
    font-size: 1.5rem;
    letter-spacing: 0.3em;
    opacity: 0.6;
}

.member-name {
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: 400;
    color: var(--color-accent-teal-dark);
    line-height: 1.15;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.8rem;
}


.tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    border: 1px solid;
      white-space: nowrap;
}


.member:nth-child(1) .tag {
    border-color: var(--color-accent-teal);
    color: var(--color-accent-teal-dark);
}

.member:nth-child(1) .member-eyebrow {
    color: var(--color-accent-teal);
}

.member-eyebrow {
    font-size: var(--fs-small);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.member-role-badge {
    position: absolute;
    bottom: -16px;
    right: 24px;
    background: var(--color-white);
    border-radius: 50px;
    padding: 0.6rem 1.4rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-primary-light);
    white-space: nowrap;
}

.member:nth-child(1) .badge-role {
    color: var(--color-accent-teal-dark);
}
.member:nth-child(2) .member-eyebrow {
    color: var(--color-accent-purple);
}

.member:nth-child(2) .tag {
    border-color: var(--color-accent-purple);
    color: var(--color-accent-purple-dark);
}

.member:nth-child(2) .badge-role {
    color: var(--color-accent-purple-dark);
}
.member:nth-child(even) {
    background: var(--color-white);
}

.member:nth-child(3) .member-eyebrow {
     color: var(--color-primary); 
}

.member:nth-child(3) .badge-role {
    color: var(--color-primary-dark);
}
.member:nth-child(3) .tag {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
}

.member:nth-child(5) .badge-role {
    color: var(--color-accent-pink);
}

.member:nth-child(4) .badge-role {
    color: var(--color-accent-teal-dark);
}

.member:nth-child(5) .member-eyebrow {
    color: var(--color-accent-pink);
}

.member:nth-child(4) .member-eyebrow {
    color: var(--color-accent-teal);
}

.member:nth-child(4) .tag {
    border-color: var(--color-accent-teal);
    color: var(--color-accent-teal-dark);
}

.member:nth-child(5) .tag {
    border-color: var(--color-accent-pink);
    color: var(--color-accent-pink);
}
     /* ===== TREATMENT CARD ===== */
        .treatment-card {
            background: var(--color-white);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(31,77,77,0.06);
            border: 1px solid transparent;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        .treatment-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .treatment-card.labbra::before {
            background: linear-gradient(90deg, var(--color-accent-pink) 0%, var(--color-primary) 100%);
        }

        .treatment-card.sopracciglia::before {
            background: linear-gradient(90deg, var(--color-accent-teal) 0%, var(--color-accent-purple) 100%);
        }

        .treatment-card.rimozione::before {
            background: linear-gradient(90deg, var(--color-primary-dark) 0%, var(--color-accent-teal-dark) 100%);
        }

        .treatment-card:hover {
            transform: translateY(-6px)!important;
            box-shadow: 0 12px 40px rgba(31,77,77,0.12)!important;
            border-color: var(--color-primary-light)!important;
        }

        .treatment-card:hover::before { opacity: 1; }

        .card-header {
            padding: 2rem 2rem 1.2rem;
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            border-bottom: 0px;
            background: transparent;
        }

        .card-icon {
            width: 52px;
            height: 52px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            flex-shrink: 0;
        }

        .labbra .card-icon {
            background: linear-gradient(135deg, rgba(215,127,161,0.15) 0%, rgba(205,159,99,0.15) 100%);
            color: var(--color-accent-pink);
        }

        .sopracciglia .card-icon {
            background: linear-gradient(135deg, rgba(101,143,157,0.15) 0%, rgba(139,111,158,0.15) 100%);
            color: var(--color-accent-teal);
        }

        .rimozione .card-icon {
            background: linear-gradient(135deg, rgba(154,123,61,0.15) 0%, rgba(31,77,77,0.15) 100%);
            color: var(--color-primary-dark);
        }

        .card-title-wrap {}

        .card-category {
            font-family: var(--font-primary);
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            margin-bottom: 0.2rem;
        }

        .labbra .card-category { color: var(--color-accent-pink); }
        .sopracciglia .card-category { color: var(--color-accent-teal); }
        .rimozione .card-category { color: var(--color-primary-dark); }

        .card-name {
            font-family: var(--font-display);
            font-size: clamp(1.2rem, 1.8vw, 1.55rem);
            font-weight: 400;
            color: var(--color-accent-teal-dark);
            line-height: 1.2;
        }

        .card-body {
            padding: 0 2rem 2rem;
        }

        .techniques-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.85rem;
        }

        .techniques-list li {
            padding-left: 1.4rem;
            position: relative;
            font-size: clamp(0.88rem, 1.2vw, 0.98rem);
            line-height: 1.65;
            color: var(--color-dark);
            font-weight: 300;
        }

        .techniques-list li::before {
            content: '◆';
            position: absolute;
            left: 0;
            top: 0.3em;
            font-size: 0.45em;
            transition: all 0.3s ease;
        }

        .labbra .techniques-list li::before { color: var(--color-accent-pink); }
        .sopracciglia .techniques-list li::before { color: var(--color-accent-teal); }
        .rimozione .techniques-list li::before { color: var(--color-primary); }

        .technique-name {
            font-weight: 600;
            font-family: var(--font-display);
            font-size: 1em;
        }

        .card-divider {
            margin: 0 2rem 1.5rem;
            height: 1px;
            background: linear-gradient(90deg, var(--color-primary-light) 0%, transparent 100%);
        }


.technique-name {
    font-weight: 600;
    font-family: var(--font-display);
    font-size: 1em;
}
.card-name {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    font-weight: 400;
    color: var(--color-accent-teal-dark);
    line-height: 1.2;
}
.card-divider {
    margin: 0 2rem 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, var(--color-primary-light) 0%, transparent 100%);
}
.card-body {
    padding: 0 2rem 2rem;
}

.techniques-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-left: 0px;
}
.techniques-list li {
    padding-left: 1.4rem;
    position: relative;
    font-size: clamp(0.88rem, 1.2vw, 0.98rem);
    line-height: 1.65;
    color: var(--color-dark);
    font-weight: 300;
}
        /* ===================================================================
           SEZIONE 3: SERVIZI
        =================================================================== */
        .services-home {
            background: linear-gradient(135deg, 
                var(--color-bg) 0%, 
                var(--color-gray) 100%);
            padding: var(--section-padding) 0;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
            gap: var(--space-xl);
            margin-top: var(--space-xl);
        }

        .service-card {
            background: var(--color-white);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 50px rgba(139, 111, 158, 0.2);
        }

        .service-image {
            width: 100%;
            aspect-ratio: 16/10;
            background: linear-gradient(135deg, 
                var(--color-accent-pink-light) 0%,
                var(--color-accent-purple-light) 50%,
                var(--color-accent-teal-light) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-display);
            font-size: clamp(1.5rem, 2.5vw, 2rem);
            color: var(--color-white);
            position: relative;
            overflow: hidden;
        }

        .service-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(180deg, 
                transparent 0%, 
                rgba(0, 0, 0, 0.3) 100%);
        }

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

        .service-title {
            font-family: var(--font-display);
            font-size: clamp(1.5rem, 2.5vw, 2.2rem);
            font-weight: 500;
            color: var(--color-accent-teal-dark);
            margin-bottom: var(--space-md);
        }

        .service-description {
            font-size: clamp(0.95rem, 1.3vw, 1.1rem);
            line-height: 1.8;
            color: var(--color-dark);
            margin-bottom: var(--space-lg);
        }

        .sppb-btn-info {
            display: inline-flex!important;
            align-items: center!important;
            gap: 0.5rem!important;
            color: var(--color-accent-purple-dark)!important;
            text-decoration: none!important;
            font-weight: 500!important;
            transition: all 0.3s ease!important;
            background: transparent!important;
            border-color:var(--color-accent-purple-dark)!important;
        }

        .sppb-btn-info:hover {
            color: var(--color-primary)!important;
            gap: 1rem!important;
            border-color:var(--color-primary)!important;
            
        }

        .sppb-btn-info::after {
            content: '→'!important;
            transition: transform 0.3s ease!important;
        }

        .sppb-btn-info:hover::after {
            transform: translateX(5px)!important;
        }

        /* ===================================================================
           SEZIONE 4: FILOSOFIA
        =================================================================== */
        .philosophy-nutrizionista-section {
            background: var(--color-primary-dark);
            color: var(--color-white);
            padding: var(--section-padding) 0;
            position: relative;
            overflow: hidden;
        }
        
        .philosophy-section {
            background: var(--color-accent-teal-dark);
            color: var(--color-white);
            padding: var(--section-padding) 0;
            position: relative;
            overflow: hidden;
        }

        .philosophy-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -25%;
            width: 100%;
            height: 200%;
            background: radial-gradient(circle, 
                rgba(255, 255, 255, 0.08) 0%, 
                transparent 70%);
            animation: shimmer 15s linear infinite;
        }

        .philosophy-container {
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .philosophy-quote {
            font-family: var(--font-display);
            font-size: clamp(1.5rem, 3vw, 2.5rem);
            font-weight: 400;
            font-style: italic;
            line-height: 1.6;
      
            position: relative;
        }

        .philosophy-quote::before {
            content: '"';
            font-size: 4rem;
            color: var(--color-primary);
            position: absolute;
            top: -20px;
            left: -30px;
            opacity: 0.5;
        }

        .philosophy-text {
            font-size: clamp(1rem, 1.5vw, 1.2rem);
            line-height: 1.9;
            font-weight: 300;
        }

        /* ===================================================================
           SEZIONE 5: CALL TO ACTION
        =================================================================== */
        .cta-home {
            background: linear-gradient(135deg, 
                var(--color-primary-light) 0%, 
                var(--color-gray) 100%);
            padding: var(--section-padding) 0;
            text-align: center;
        }

        .cta-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .cta-title {
            font-family: var(--font-display);
            font-size: var(--fs-h2);
            font-weight: 400;
            color: var(--color-accent-teal-dark);
            margin-bottom: var(--space-md);
        }

        .cta-description {
            font-size: clamp(1rem, 1.5vw, 1.2rem);
            line-height: 1.8;
            color: var(--color-dark);
            margin-bottom: var(--space-lg);
            font-weight: 300;
        }

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

/* ===================================================================
   3. CLASSI UTILITY
=================================================================== */


/* Box Recensioni Google - Stile Pulito */
.google-reviews-box {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
}

.reviews-box-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 50px;
    padding: 12px 20px 12px 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid #e8eaed;
}

.reviews-box-link:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transform: translateY(-3px);
}

/* Logo Google */
.google-logo-box {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* Contenuto a destra del logo */
.reviews-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Rating Number */
.rating-number {
    font-size: 24px;
    font-weight: 700;
    color: #202124;
    line-height: 1;
}

/* Stelle */
.stars-display {
    color: #fbbc04;
    font-size: 16px;
    letter-spacing: 1px;
}

/* Testo Recensioni */
.reviews-text {
    font-size: 13px;
    color: #5f6368;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

.reviews-label {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .google-reviews-box {
        right: 15px;
        bottom: 15px;
    }
    
    .reviews-box-link {
        padding: 10px 16px 10px 12px;
        gap: 10px;
    }
    
    .google-logo-box {
        width: 28px;
        height: 28px;
    }
    
    .rating-number {
        font-size: 20px;
    }
    
    .stars-display {
        font-size: 14px;
    }
    
    .reviews-text {
        font-size: 12px;
    }
}

/* Animazione pulse leggera */
@keyframes pulse-soft {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    }
    50% {
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }
}

.reviews-box-link {
    animation: pulse-soft 3s ease-in-out infinite;
}

.reviews-box-link:hover {
    animation: none;
}

/* === SPACING === */
.pt { padding-top: var(--section-padding); }
.pb { padding-bottom:var(--section-padding); }

.pb-sm { margin-bottom:var(--section-padding)!important; }

.sezione {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.box-scegliere {
    text-align: center;
    border: 1px solid #fff;
    border-radius: 270px;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    overflow: hidden; 
   
}

.box-scegliere .flip-box-inner {    padding-left: var(--container-padding) !important;
    padding-right: var(--container-padding) !important;}

.box-scegliere img {
 filter: brightness(0) invert(1);
   padding-top: var(--section-padding-sm);
  padding-bottom: var(--section-padding-sm);
  text-align:center; 
  margin: 0 auto;
}

.white  .sppb-divider {

    border-bottom-color: var(--color-white)!important;
}

.white img{filter: brightness(0) invert(1);}


.sp-page-builder .page-content #video-section {

  
 
}

body:not(.home-page) #sp-title {
    min-height: auto !important;
    height: auto !important;
    background-color: transparent !important;
    background-image: none !important;
    background: none !important;
}


.immagine-box {
 width: 100%;
    aspect-ratio: 16 / 10;  /* ✅ Forza ratio 16:9 */
    overflow: hidden;
}
.immagine-box img {
 width: 100%;
    aspect-ratio: 16 / 10;  /* ✅ Forza ratio 16:9 */
    overflow: hidden;
}
.sezione-normale {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.sezione-testi {
  padding: var(--section-padding-sm) clamp(0.938rem, 5vw, 7.5rem);
}

/* === COLORS === */
.white, .white h3 { color: var(--color-white)!important; }
.petrolio {color: var(--color-accent-teal)!important;}
.viola {color: var(--color-accent-purple-dark)!important;}
.gold { color: var(--color-primary); }
.sfondo-gold { background: var(--color-primary-light)!important; }
.sfondo-gold-scuro { background: var(--color-primary)!important; }

.sfondo-petrolio {background: var(--color-accent-teal-light)!important;}

ul.social-icons>li {
    display: inline-block;
  margin: 5px 7px; 
}

/* Solo l'ultimo li */
ul.social-icons > li:last-child {
    margin-right: 0; /* Esempio: rimuovi margine destro */
}

 
 
 .sp-contact-info li {
  margin: 0;
  display: inline-block !important;
}

.sp-contact-info li:last-child {
  margin-right: clamp(0px, 2vw, 30px) ;
  display: inline-block !important;}
  
  @keyframes rotate {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }
        
        /* Classe per rotazione infinita */
        .rotate-infinite img {
            animation: rotate 4s linear infinite;
        }
        
        /* Velocità variabili */
        .rotate-slow img {
            animation: rotate 8s linear infinite;
        }
        
        
/* ===================================================================
   4. HEADER
=================================================================== */
 .treatment-category {
            background: var(--color-white);
            border-radius: 12px;
            padding: var(--space-lg);
            box-shadow: 
                0 4px 20px rgba(141, 111, 158, 0.08),
                0 1px 4px rgba(141, 111, 158, 0.05);
            border: 1px solid rgba(205, 159, 99, 0.15);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            margin-bottom: 30px;
        }
        
        .treatment-category::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, 
                var(--color-accent-teal) 0%,
                var(--color-accent-purple) 50%,
                var(--color-accent-pink) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        .treatment-category:hover {
            transform: translateY(-4px);
            box-shadow: 
                0 8px 30px rgba(141, 111, 158, 0.15),
                0 2px 8px rgba(141, 111, 158, 0.1);
        }
        
        .treatment-category:hover::before {
            opacity: 1;
        }
        
        .category-title {
            font-family: var(--font-heading);
            font-size: clamp(1.5rem, 3vw, 1.95rem);
            font-weight: 500;
            color: var(--color-accent-purple-dark);
            margin-bottom: var(--spacing-md);
            padding-bottom: var(--spacing-sm);
            border-bottom: 1px solid var(--color-primary-light);
            position: relative;
        }
        
        .category-title::after {
            content: '✦';
            position: absolute;
            right: 0;
            top: 0;
            color: var(--color-primary);
            font-size: 1.2em;
            opacity: 0.6;
        }
        
        .treatments-list {
            list-style: none;
        }
        
        .treatment-item {
            padding: var(--spacing-xs) 0;
            padding-left: var(--spacing-md);
            position: relative;
           line-height: 1.6;
            color: var(--color-dark);
            transition: all 0.3s ease;
                border-bottom: 1px solid #efebeb;
        }
        
      .treatment-item span.prezzo {
    float: right;
    min-width: 10%;
    text-align: right;
    font-weight: 500;
    font-style: oblique;
    color: #cd9f63;
    font-size: smaller;
}

#sp-footer a {
    color: var(--color-white)!important;
    font-weight: normal;
    font-size: small !important;
}


#sp-footer #sp-footer1 .sp-module {
   float: none!important;
}
        
   ul.treatments-list {
    padding-left: 0rem!important;
}
        
        .treatment-item::before {
            content: '◆';
            position: absolute;
            left: 0;
            color: var(--color-primary);
            font-size: 0.7em;
            top: 50%;
            transform: translateY(-50%);
            transition: all 0.3s ease;
        }
        
        .treatment-item:hover {
            padding-left: calc(var(--spacing-md) + 8px);
            color: var(--color-accent-teal-dark);
        }
        
        .treatment-item:hover::before {
            color: var(--color-accent-pink);
            transform: translateY(-50%) scale(1.3);
        }
        
        /* CATEGORY NOTE */
        .category-note {
            margin-top: var(--spacing-md);
            padding: var(--spacing-md);
            background: linear-gradient(135deg, 
                rgba(235, 217, 197, 0.3) 0%, 
                rgba(212, 188, 130, 0.2) 100%);
            border-radius: 8px;
            font-size: clamp(0.85rem, 1.3vw, 0.95rem);
            line-height: 1.7;
            color: var(--color-accent-teal-dark);
            font-style: italic;
            border-left: 3px solid var(--color-primary);
        }
        
        /* SPECIAL SECTION */
        .spa-section {
            background: linear-gradient(135deg, 
                var(--color-accent-teal-dark) 0%, 
                var(--color-accent-purple-dark) 100%);
            color: var(--color-white);
            padding: var(--spacing-xl);
    
            text-align: center;
            box-shadow: 
                0 10px 40px rgba(31, 77, 77, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
        }
        
        .spa-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, 
                rgba(255, 255, 255, 0.1) 0%, 
                transparent 70%);
            animation: shimmer 8s linear infinite;
        }
        
        @keyframes shimmer {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .spa-title {
            font-family: var(--font-heading);
          color: var ( --color-accent-pink-light);
            font-weight: 500;
            margin-bottom: var(--spacing-md);
            position: relative;
            z-index: 1;
        }
        
        .spa-description {
        
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
            font-weight: 300;
        }
        
        /* RESPONSIVE ADJUSTMENTS */
        @media (max-width: 768px) {
            .treatments-grid {
                grid-template-columns: 1fr;
                gap: var(--spacing-md);
            }
            
            .category-title::after {
                display: none;
            }
        }
        
        /* SUBTLE ANIMATIONS */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .treatment-category {
            animation: fadeInUp 0.6s ease forwards;
            opacity: 0;
        }
        
        .treatment-category:nth-child(1) { animation-delay: 0.1s; }
        .treatment-category:nth-child(2) { animation-delay: 0.2s; }
        .treatment-category:nth-child(3) { animation-delay: 0.3s; }
        .treatment-category:nth-child(4) { animation-delay: 0.4s; }
        
        .spa-section {
            animation: fadeInUp 0.6s ease 0.5s forwards;
            opacity: 0;
        }
        
        .floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-white);
    padding: var(--space-md);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}
.badge-rating {
            font-family: var(--font-display);
            font-size: clamp(1.8rem, 3vw, 2.5rem);
            font-weight: 600;
            color: var(--color-primary);
            margin-bottom: 0.25rem;
        }

        .badge-stars {
            color: #FFD700;
            font-size: 1.2rem;
            margin-bottom: 0.25rem;
        }

        .badge-text {
            font-size: 0.85rem;
            color: var(--color-dark);
            font-weight: 500;
        }

        
        
/* === BASE HEADER === */
#sp-header {
  background: transparent!important;
  height: var(--header-height) !important;
  transition: transform var(--transition-smooth),
              background-color var(--transition-smooth),
              box-shadow var(--transition-smooth),
              height var(--transition-smooth);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0) !important;
  z-index: var(--z-header);
}

/* === STICKY HEADER === */
#sp-header.header-sticky {
  background: var(--overlay-header) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .1);
  height: var(--header-height-sticky) !important;
  padding-bottom: 0 !important;
}



/* === LOGO === */
#sp-header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
}

.logo-image {
    height: var(--logo-height) !important;
    padding: 10px!important;
    transition: height var(--transition-smooth);
    background: #fff;
 
    border-radius: 50%;
    margin-top: 40px;
}

#sp-header.header-sticky .logo-image {
  height: var(--logo-height-sticky) !important;
      margin-top: auto;
      background: transparent!important;
    border-radius:0px!important;
      padding:0px!important;
}

/* === RESET LOGO SP === */
#sp-header #sp-logo {
  border-bottom: 0 !important;
}

#sp-header #sp-logo::before,
#sp-header #sp-logo::after,
#sp-header.header-sticky #sp-logo::before,
#sp-header.header-sticky #sp-logo::after {
  display: none !important;
}

/* === ALLINEAMENTO === */
#sp-header > div > div > div.row {
  align-items: center !important;
}

#sp-header .row > div {
  padding: 0;
  align-items: stretch;
}

#sp-header.lg-header {
  box-shadow: none;
}

#sp-header-topbar .container-inner {
  border: 0;
}

/* ===================================================================
   5. TOP BAR
=================================================================== */

#sp-top-bar {
  color: var(--color-white);
  background: var(--color-primary-muted);
}

#sp-top1 > .sp-column {
  align-items: center;
}

/* === CONTACT INFO === */
.sp-contact-info {
  margin: 0 !important;
}

#sp-top2 {
  position: relative;
  z-index: 100;
  height: 70px !important;
  display: flex !important;
  align-items: center !important;
  width: 100%;
  justify-content: flex-end;
}

.sp-contact-info span,
.social-icons span,
#content-address span {

  font-size: var(--fs-menu) !important;
}

#content-address {
  text-align: center;
  margin: 0;
}

/* === ICONS === */
#sp-top1 ul.sp-contact-info li span.fa,
#sp-top1 ul.social-icons li span.fa,
#sp-top2 ul.sp-contact-info li span.fa,
#sp-top2 ul.social-icons li span.fa,
#sp-top1 #content-address span.fa {
  margin-right: 0px !important;
  font-size: var(--fs-menu) !important;
}

/* === SOCIAL ICONS - Cerchi === */
[class*="social-icon-"] a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  transition: all 0.3s ease;
}

ul.social-icons {
  list-style: none;
  padding-left: 20px !important;
  margin: -5px;
  display: inline-block;
}

/* === STICKY HEADER === */
#sp-header.header-sticky #sp-top2 ul.sp-contact-info li span.fa,
#sp-header.header-sticky #sp-top2 ul.social-icons li span.fa,
#sp-header.header-sticky #sp-top2 ul.sp-contact-info li span,
#sp-header.header-sticky #sp-top2 ul.sp-contact-info li a,
#sp-header.header-sticky #sp-top2 ul.social-icons li span,
#sp-header.header-sticky [class*="social-icon-"] a {
  color: var(--color-accent-purple-dark);
}

#sp-header.header-sticky [class*="social-icon-"] a {
  border-color: var(--color-accent-purple-dark);
}

/* === LINKS === */
#sp-top1 ul.sp-contact-info li a,
#sp-top2 a {
  color: var(--color-white) !important;
}

/* === HOVER EFFECTS === */
.social-icon-facebook a:hover,

#sp-header.header-sticky .social-icon-facebook a:hover{
  background-color: #1877f2;
  color: var(--color-white) !important;
  border-color: #1877f2;
}

.social-icon-instagram a:hover,
#sp-header.header-sticky .social-icon-instagram a:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--color-white) !important;
  border-color: #f09433;
}

#sp-header.header-sticky .social-icon-instagram a:hover span,
#sp-header.header-sticky .social-icon-whatsapp a:hover span,
#sp-header.header-sticky .social-icon-facebook a:hover span  {
 color: var(--color-white) !important;
}

.social-icon-whatsapp a:hover,
#sp-header.header-sticky .social-icon-whatsapp a:hover {
  background-color: #25d366;
  color: var(--color-white) !important;
  border-color: #25d366;
}


/* ===================================================================
   6. NAVIGAZIONE PRINCIPALE
=================================================================== */

img.leaflet-marker-icon  {
    margin-left: -30px!important;
    margin-top: -74px!important;
    width: 60px!important;
    height: 74px!important;
    transform: translate3d(322px, 250px, 0px);
    z-index: 250;
}

/* === WRAPPER === */
.sp-megamenu-wrapper {
  height: 55px !important;
}

.sp-megamenu-wrapper > ul {
  border: 0 !important;
  width: 100%;
  display: flex;
  margin-bottom: 0;
}

/* === VOCI MENU === */
.sp-megamenu-parent > li,
.menu > li {
  display: inline-flex;
  flex: auto !important;
  flex-wrap: nowrap;
}
.close-offcanvas {
    position: absolute;
    top: 15px;
    z-index: 1;
    border-radius: 100%;
    width: 34px!important;
    height: 34px!important;
    line-height: 34px!important;
    text-align: center;
    font-size: 16px!important;
    background: transparent!important;
    color: var( --color-primary)!important;
}
.offcanvas-menu {
    background-color:var(--color-bg)!important;;
    color: var(--color-accent-purple-dark)!important;
}
.offcanvas-menu .offcanvas-inner .sp-module ul>li a {
    border-bottom: 1px solid var( --color-primary-muted)!important;
    padding: 10px 0px !important;
    position: relative;
}


.offcanvas-menu .menu li.active>a {
 color:var(--color-accent-purple-dark)!important;
}

.menu > li > a,
.menu > li > span  {
  padding: 0 !important;
  line-height: 45px;
  letter-spacing: clamp(1px, 0.15vw, 2px)!important;
  font-size: var(--fs-menu)!important;
margin: 0px clamp(1.175rem, 2vw, 1.175rem)!important;

  text-transform: uppercase;
  color: var(--color-accent-purple-dark)!important;
  font-weight: 500 !important;
  display: inline-block !important;
  width: auto;
  transition: color var(--transition-base);
}


.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  padding: 0 !important;
  line-height: 45px;
  letter-spacing: clamp(1px, 0.15vw, 2px)!important;
  font-size: var(--fs-menu)!important;
margin: 0px clamp(1.175rem, 2vw, 1.175rem)!important;

  text-transform: uppercase;
  color: var(--color-white) !important;
  font-weight: 500 !important;
  display: inline-block !important;
  width: auto;
  transition: color var(--transition-base);
}

/* Solo PRIMO elemento */
.sp-megamenu-parent > li:first-child > a,
.sp-megamenu-parent > li:first-child > span,
.menu > li:first-child > a,
.menu > li:first-child > span {
  margin-left: 0px!important;
}

/* Solo ULTIMO elemento */
.sp-megamenu-parent > li:last-child > a,
.sp-megamenu-parent > li:last-child > span,
.menu > li:last-child > a,
.menu > li:last-child > span {
  margin-right: 0px!important;
}

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    background: var(--color-gray-light)!important;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a,.sp-megamenu-parent .sp-dropdown li.sp-menu-item span:not(.sp-menu-badge) {
    font-size:var(--fs-menu) !important;
    line-height: 1;
    cursor: pointer;
    padding: 15px 15px;
    display: block;
    transition: 0.3s;
    position: relative
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover > a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover span:not(.sp-menu-badge) {
    background-color: var(--color-primary);
    color: var(--color-white)!important;
}


.header-sticky .sp-megamenu-parent > li > a,
.header-sticky .sp-megamenu-parent > li > span,
.header-sticky .menu > li > a,
.header-sticky .menu > li > span {
 
  color: var(--color-accent-purple-dark) !important;
  transition: color var(--transition-base);
}


/* === ALLINEAMENTO === */
#sp-menu .sp-megamenu-parent > li,
#sp-menu .menu > li {
  text-align: left;
}

#sp-menu2 .sp-megamenu-parent > li,
#sp-menu2 .menu > li {
  text-align: right;
}

/* === EFFETTO HOVER === */
.sp-megamenu-parent > li > a::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0!important;
  top:auto!important;
  left: 50% !important;
  background: var(--color-primary) !important;
  transition: all var(--transition-smooth);
   display: none!important;
}

.sp-megamenu-parent > li > a:hover::before {
  width: 100% !important;
  left: 0 !important;
  display: none!important;
}

.sp-megamenu-parent > li > a:hover {
  color: var(--color-primary) !important;
}

/* === VOCE ATTIVA === */
.sp-megamenu-parent > li.active > a {
  padding: 0 !important;
  font-weight: 500 !important;
}

.sp-megamenu-wrapper > ul > li.active > a {
  border-bottom: 0;
  background: none !important;
}

/* === DROPDOWN === */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover {
  color: var(--color-white) !important;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a::before {

  display: none!important;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover::before,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item span:not(.sp-menu-badge):hover::before,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover::after,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item span:not(.sp-menu-badge):hover::after {
  width: 100% !important;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a::before,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > span:not(.sp-menu-badge)::before {
  width: 0 !important;
}

/* === RESET === */
.sp-megamenu-wrapper > ul > li:not(:last-child) > a {
  border-right: 0 !important;
}

.sp-megamenu-parent {
  margin: auto !important;
}

.sp-megamenu-parent > ul,
.menu > ul {
  position: relative;
  display: inline-block;
  width: 100%;
  vertical-align: middle;
  height: 100%;
}

#header .sp-megamenu-wrapper > ul {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.sp-module ul > li > a {
  color: var(--color-white);
  padding: 10px;
}

/* ===================================================================
   7. OFF-CANVAS MENU
=================================================================== */

/* === TOGGLER === */
#offcanvas-toggler {
   
        align-items: center;
    height: 70px!important;
    line-height: 70px!important;
    font-size: 30px;
   margin-top: 0px!important;
}
.offcanvas-menu .offcanvas-inner .sp-module ul>li a {
    border-bottom: 1px solid #eaeaea;
    padding: 10px 0px !important;
    position: relative;
     width: 100%!important;
}
.offcanvas-menu .offcanvas-inner .sp-module ul>li.active>a:before, .offcanvas-menu .offcanvas-inner .sp-module ul>li a:hover:before,.offcanvas-menu .offcanvas-inner .sp-module ul>li a:focus:before {
    width: 100%!important;
}



.offcanvas-menu .offcanvas-inner .sp-module ul>li a:before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0px;
    height: 1px;
    background-color: var(--color-primary-muted)!important;
    transition: 0.3s;
}


body.ltr #offcanvas-toggler.offcanvas-toggler-left {
    float: left;
 margin-right: 0px!important;
}

#sp-header #offcanvas-toggler > .fa {
  color: var(--color-white) !important;
  

}

#sp-header.header-sticky #offcanvas-toggler > .fa {
  color: var(--color-white) !important;
 background: var( --color-accent-purple) !important;
 
}



.fa-bars::before {
  content: "\f7a4" !important;
   padding: 8px 5px!important;
  
}






/* === HOVER EFFECTS === */


/* ===================================================================
   8. BOTTONI
=================================================================== */

/* === BASE === */
.sppb-btn {
  text-transform: uppercase;
  height: 47px;
  line-height: 47px;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1.3px;
  color: var(--color-white);
  padding: 0 25px;
  transition: all var(--transition-base);
}

/* === PRIMARY === */
.btn-primary, .btn-primary, .sppb-btn-primary {
            position: relative;
            display: inline-block!important;
       
            background: transparent!important;
            border: 2px solid var(--color-primary)!important;
            color: var(--color-primary)!important;
            font-size: 14px!important;
            font-weight: 600!important;
            text-transform: uppercase!important;
            letter-spacing: 2px!important;
            text-decoration: none!important;
  
            transition: all 0.4s ease!important;
    
            z-index: 1;
  
        }
        
        .btn-primary::before, .sppb-btn-primary:before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: var(--color-primary)!important;
            transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: -1;
        }
        
        .btn-primary:hover, .sppb-btn-primary:hover {
            color: var(--color-white)!important;
        }
        
        .btn-primary:hover::before, .sppb-btn-primary:hover::before {
            width: 100%;
        }
        

/* === SECONDARY (OUTLINE) === */
.btn-secondary,
.sppb-btn-secondary {
  border: var(--border-width) solid var(--color-primary) !important;
  color: var(--color-primary) !important;
  background-color: transparent;
}

.btn-secondary:hover,
.sppb-btn-secondary:hover {
  color: var(--color-white) !important;
  border-color: var(--color-primary) !important;
  background-color: var(--color-primary) !important;
}



.sppb-btn.sppb-btn-link {
    padding: 0!important;
    border: none!important;
    height: auto!important;
    line-height: 1.8!important;
    display: block!important;
    text-align: left;
}


/* ===================================================================
   9. FOOTER & BOTTOM
=================================================================== */

/* === SP BOTTOM === */
#sp-bottom {
padding: 0px 15px!important;
  font-size: var(--fs-body) !important;
  line-height: 1.5 !important;
  color: var(--color-white) !important;
  background: linear-gradient(0deg, 
    var(--color-accent-teal-dark) 0%, 
    var(--color-accent-teal-dark) 50%, 
    var(--color-accent-teal-dark) 100%
  );
}



#sp-bottom a {
  color: var(--color-white)!important;
}

#sp-bottom .sp-module ul > li {
  margin-bottom: 0;
}

#sp-bottom .sp-module ul > li > a {
  display: inline;
}

/* === FOOTER === */
#sp-footer {
  color: var(--color-white);
  line-height: 25px;
  padding: 20px;
  background: var(--color-accent-teal-dark);
  text-align: center;
}

#sp-footer a {
  color: var(--color-white);
}

#sp-footer .container-inner {
  border-top: 0 !important;
  padding: 0px 0px 30px 0px;
  text-align: center;
}
#sp-footer1 > div > span > a > img{text-align: center; display: initial }

#sp-footer #sp-footer2 a {
  font-size: 0.75rem;
}

#sp-footer #sp-footer2 .sp-module-content {
  text-align: center;
}

/* === MENU INFO === */
.menu-info > ul {
  border: var(--border-width) solid rgba(255, 255, 255, 0.7);
  width: 100% !important;
  display: flex !important;
  margin-bottom: 0;
}

/* ===================================================================
   10. SOVRASCRITTURE SPECIFICHE
=================================================================== */

/* === PAGE TITLE / HERO === */
.sp-page-title {
  padding: 300px 0 0 !important;
  background-repeat: no-repeat !important;
  background-position: 50% 50% !important;
  background-size: cover!important;
  background-attachment: scroll !important;
  position: relative;
}

.sp-page-title::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
background: linear-gradient(
    color-mix(in srgb, var(--color-accent-teal-dark) 95%, transparent) 50%,
  color-mix(in srgb, var(--color-accent-teal) 55%, transparent) 86%,
 color-mix(in srgb, var(--color-accent-teal) 89%, transparent) 100%
);
  z-index: var(--z-overlay);
}


#video-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
background: linear-gradient(
    color-mix(in srgb, var(--color-accent-teal) 70%, transparent) 30%,
    transparent 70%,
    color-mix(in srgb, var(--color-accent-teal) 15%, transparent) 86%,
    color-mix(in srgb, var(--color-accent-teal) 30%, transparent) 93%,
    color-mix(in srgb, var(--color-accent-teal) 39%, transparent) 100%
);
  z-index: var(--z-overlay);
}


.sp-page-title .container {
  position: relative;
  top: 0 !important;
  background: transparent !important;
  padding: 0 0 30px 0 !important;
  max-width: 1200px;
  border-radius: 0 !important;
  z-index: var(--z-content);
}

.sp-page-title .sp-page-title-heading {
  font-size: var(--fs-small) !important;
 font-weight: 300!important; letter-spacing: 0.13em!important;
    line-height: 1.3!important;
  color: var(--color-primary-light) !important;
  text-align: center !important;
  text-transform:uppercase!important;
}

.sp-page-title .sp-page-title-sub-heading {
    
    margin-top:var(--space-sm)!important;
     font-size: var(--fs-h2) !important;
  letter-spacing: 0.05em !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  color: var(--color-white) !important;
  text-align: center !important;
}


.breadcrumb-item .fa-home:before {
display: none;
}
.sp-page-title .breadcrumb>span, .sp-page-title .breadcrumb>li, .sp-page-title .breadcrumb>li+li:before, .sp-page-title .breadcrumb>li>a {
    color: #fff!Important;
}

.sp-page-title .breadcrumb > li:first-child + li:before {
    display:none;
}


.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0;
    margin-bottom: 1rem;
    list-style: none;
    justify-content: center;
}
#sp-page-builder > div.page-header,
.itemid-101 #sp-page-builder > div.page-header {position: absolute; top:-99999999px}

.intro-visual-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--color-primary-light);
    border-radius: 15px;
    padding: 1.2rem 1.8rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.intro-visual-badge .badge-label {
    font-family: var(--font-primary);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary-dark);
    font-weight: 600;
}
.intro-visual-badge .badge-value {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--color-accent-teal-dark);
    line-height: 1.1;
}
/*FORM*/

/* === PERSONALIZZAZIONE FORM L'ESSENZA DI GIADA === */

/* Container principale */
#bfPage1.bfQuickMode {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}



/* Wrapper fieldset con gap tra righe */
.bfQuickMode .bfFieldset-wrapper.bfWrapperInline {
    margin-bottom: 15px;
}



/* Input e textarea styling */
.bfQuickMode .ff_elem,
.bfQuickMode input[type="text"],
.bfQuickMode textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}
/* Fix box-sizing per layout corretto */
.bfQuickMode *,
.bfQuickMode *:before,
.bfQuickMode *:after {
    box-sizing: border-box !important;
}
.bfQuickMode fieldset.bfInline {

    width: 100%!important;

}



.bfQuickMode .ff_elem:focus,
.bfQuickMode input[type="text"]:focus,
.bfQuickMode textarea:focus {
    border-color: var(--color-accent-teal);
    box-shadow: 0 0 0 3px rgba(var(--color-accent-teal), 0.1);
    outline: none;
}

.bfQuickMode .ff_elem::placeholder {
    color: #999;
    opacity: 1;
}

/* Textarea specifica */
.bfQuickMode textarea.ff_elem {
    min-height: 120px;
    resize: vertical;
}

/* Background giallo email (rimuovi se non serve) */
.bfQuickMode .bfRolloverBg {
    background: transparent !important;
}

/* Sezione reCAPTCHA */
.bfQuickMode #bfElemWrap17 {
    display: flex;
    justify-content: center;
    margin: 25px 0;
    padding: 0;
}

/* Privacy checkbox */
.bfQuickMode #bfElemWrap18 {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 25px 0;
    padding: 0;
    flex-direction: row-reverse;
}

.bfQuickMode #bfElemWrap18 input[type="checkbox"] {
    width: auto !important;
    min-width: auto !important;
    margin-top: 4px;
    flex-shrink: 0;
    cursor: pointer;
}

.bfQuickMode #bfElemWrap18 label {
    flex: 1;
    width: auto !important;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.bfQuickMode #bfElemWrap18 a {
    color: var(--color-accent-teal);
    text-decoration: underline;
    transition: color 0.3s;
}

.bfQuickMode #bfElemWrap18 a:hover {
    color: color-mix(in srgb, var(--color-accent-teal) 80%, black);
}

/* Required asterisk */
.bfQuickMode .bfRequired {
    color: #e74c3c;
    margin-left: 2px;
    font-weight: 600;
}

/* Pulsante submit */
.bfQuickMode .bfSubmitButton {
    width: 100%;
  
    background-color: var(--color-accent-teal)!important;
    color: #fff!important;
    border: none!important;
    border-radius: 8px!important;
    font-size: 17px!important;
    font-weight: 600!important;
    cursor: pointer!important;
    transition: all 0.3s ease!important;
    margin-top: 30px!important;
    text-transform: uppercase!important;
    letter-spacing: 0.5px;
}

.bfQuickMode .bfSubmitButton:hover {
    background-color: color-mix(in srgb, var(--color-accent-teal) 85%, black)!important;
    transform: translateY(-2px)!important;
    box-shadow: 0 4px 12px rgba(var(--color-accent-teal), 0.3)!important;
    border-radius: 8px!important;
}

.bfQuickMode .bfSubmitButton:active {
    transform: translateY(0);
}

/* Error message */
.bfQuickMode .bfErrorMessage {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #c62828;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 767px) {
  
  .sp-page-title {
  padding: 150px 0 0 !important;
  background-repeat: no-repeat !important;
  background-position: 50% 50% !important;
  background-size: contain !important;
  background-attachment: scroll !important;
  position: relative;
}


    .bfQuickMode fieldset.bfInline {
        flex-direction: column;
        gap: 0;
    }
    
    .bfQuickMode fieldset.bfInline .bfElemWrap {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .bfQuickMode .ff_elem,
    .bfQuickMode input[type="text"],
    .bfQuickMode textarea {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    #bfPage1.bfQuickMode {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .bfQuickMode .bfSubmitButton {
        font-size: 16px;
        padding: 14px 24px;
    }
}


/* === COOKIE CONSENT === */
.cc-revoke.cc-top {
  left: 0 !important;
  font-size: 0.75rem;
  top: auto !important;
  bottom: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* ===================================================================
   11. MEDIA QUERIES - RESPONSIVE
=================================================================== */

/* === MOBILE FIRST - MAX 992px === */
@media (max-width: 992px) {
  
  .sp-contact-phone a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    transition: all 0.3s ease;
    margin: 0px!important;
}

 #sp-header.header-sticky .sp-contact-phone a {

    border: 2px solid var(--color-accent-purple);
  
}


.sp-contact-info li:last-child {
    margin-right: 0px;
    display: inline-block !important;
}

  #sp-header {
    height: auto;
    padding: 0 !important;
  }
  
  .sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span,
.menu > li > a,
.menu > li > span {

 margin: 0px clamp(0rem, 0vw, 0rem) !important;
 
}
}

/* === TABLET & MOBILE - MAX 1365px === */
@media (max-width: 1365px) {
  
  .image-layout-preset-style-card .sppb-addon-image-layout-content {
    background: 0 0;
    padding: 15px;
}


  #sp-header {
  background: transparent!important;
  height: var(--header-height-mobile) !important;
  transition: transform var(--transition-smooth),
              background-color var(--transition-smooth),
              box-shadow var(--transition-smooth),
              height var(--transition-smooth);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0) !important;
  z-index: var(--z-header);
}

/* === STICKY HEADER === */
#sp-header.header-sticky {
  background: var(--overlay-header) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .1);
  height: var(--header-height-sticky) !important;
  padding-bottom: 0 !important;
}


  /* Article Details */
  .article-details {
    margin-top: 150px !important;
  }
  
  /* Header Sticky Mobile */
  #sp-header.header-sticky {
    height: var(--header-height-sticky-mobile) !important;
    background: var(--overlay-header) !important;
  }
  
  #sp-header.header-sticky .logo-image {
    height: var(--logo-height-sticky-mobile) !important;
  }
  

  
  /* Logo */
  #sp-header .mod-languages,
  #sp-header .sp-top2-wrapper,
  #sp-header #sp-logo {
    margin-right: 0 !important;
  }
  

  
  .logo-image {
    height: var(--logo-height-mobile) !important;
    padding: 5px 0 0 0;
    margin: 0 !important;
    margin-top: 2px !important;
  }
  
  /* Images */
  .size-full img,
  .size-full2 img {
    aspect-ratio: 16 / 9;
  }
}

/* === TABLET VERTICALE - 768px to 1023px === */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Aggiungi regole specifiche per tablet verticale se necessario */
}

/* === TABLET ORIZZONTALE & IPAD PRO VERTICALE - 1024px to 1365px === */
@media (min-width: 1024px) and (max-width: 1365px) {
  /* Aggiungi regole specifiche per tablet orizzontale se necessario */
  .sp-megamenu-wrapper>ul>li>a {
 
    letter-spacing: .49px!important;
    padding: 0 15px;
   
}
}

/* === DESKTOP - MIN 1366px === */
@media (min-width: 1366px) {
  /* Nascondi voci menu oltre la 5a */
  #sp-menu > div > nav > ul > li:nth-child(n + 6) {
    display: none !important;
  }
  .sp-contact-info li:last-child {
  margin-right: 0px !important;
 
        
}}

/* === DESKTOP MEDIUM - 1400px to 1679px === */
@media (min-width: 1400px) and (max-width: 1679px) {
  
    .sp-contact-info li:last-child {
  margin-right: 0px !important;
 
        
}
  body .sppb-row-container,
  body .sppb-container,
  .container {
    max-width: 1348px !important;
  }
  #sp-header:not(.header-sticky) #sp-menu:after, #sp-header:not(.header-sticky) #sp-menu2:after {
    content: "";
    width: 100%;
    opacity: .3;
    color: var(--color-accent-purple);
    left: 0px;
    height: 1px;
    position: absolute;
   

    border-bottom: 1px solid;
}
}

/* === DESKTOP LARGE - MIN 1680px === */
@media (min-width: 1680px) {
  body .sppb-row-container,
  body .sppb-container,
  .container {
    max-width: 1348px !important;
  }
  #sp-header:not(.header-sticky) #sp-menu:after, #sp-header:not(.header-sticky) #sp-top2:after {
    content: "";
    width: 100%;
    opacity: .3;
    color: var(--color-bg);
    left: 0px;
    height: 1px;
    position: absolute;
    border-bottom: 1px solid;
    bottom:0px;
}
}

/* ===================================================================
   FINE STYLESHEET
=================================================================== */