/* ╔═══════════════════════════════════════════════════════════════════════════╗ */
/* ║                                                                            ║ */
/* ║   ✨ TUOPROFESSIONISTA — STYLE.CSS — VERSIONE PULITA E ORGANIZZATA ✨     ║ */
/* ║                                                                            ║ */
/* ║   Data:        Aprile 2026                                                ║ */
/* ║   Settore:     Beauty & Wellness Edition                                  ║ */
/* ║   Struttura:   Modulare, senza duplicati, con commenti di sezione         ║ */
/* ║                                                                            ║ */
/* ║   INDICE:                                                                  ║ */
/* ║   01. RESET & BASE                                                         ║ */
/* ║   02. ROOT VARIABLES (palette unificata)                                   ║ */
/* ║   03. TYPOGRAPHY                                                           ║ */
/* ║   04. NAVBAR + LOGO LUXURY                                                 ║ */
/* ║   05. HERO BEAUTY                                                          ║ */
/* ║   06. SEZIONE SETTORI                                                      ║ */
/* ║   07. SEZIONE STRUMENTI                                                    ║ */
/* ║   08. SEZIONE COMPARAZIONE                                                 ║ */
/* ║   09. SEZIONE STORY                                                        ║ */
/* ║   10. SEZIONE TESTIMONIANZE                                                ║ */
/* ║   11. SEZIONE CTA FINALE                                                   ║ */
/* ║   12. ANIMAZIONI                                                           ║ */
/* ║   13. PAGINA REGISTRATI (form luxury)                                      ║ */
/* ║   14. PAGINA TUTTE LE CATEGORIE                                            ║ */
/* ║   15. SEZIONE BLOG / RECENSIONI / SCROLL                                   ║ */
/* ║   16. COOKIE BANNER                                                        ║ */
/* ║   17. RESPONSIVE GENERALE                                                  ║ */
/* ║                                                                            ║ */
/* ╚═══════════════════════════════════════════════════════════════════════════╝ */


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  01. ROOT VARIABLES — UNICA DEFINIZIONE PALETTE                             */
/* ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* === PALETTE BEAUTY LUXURY (principale) === */
    --bty-black:        #0a0a0a;
    --bty-charcoal:     #1a1a1a;
    --bty-navy:         #0D2F47;
    --bty-gold:         #c9a961;
    --bty-gold-light:   #e8d5a0;
    --bty-gold-deep:    #b5952f;
    --bty-rose:         #e91e63;
    --bty-rose-soft:    #fce4ec;
    --bty-magenta:      #d946ef;
    --bty-cream:        #faf8f5;
    --bty-stone:        #f4f1ec;
    --bty-text:         #2c2c2c;
    --bty-text-mute:    #71716c;
    --bty-text-light:   #94a3b8;
    
    /* === COLORI BUSINESS (per sezioni interne / dashboard) === */
    --colore-primario:        #00A1AB;
    --colore-primario-scuro:  #007A8A;
    --colore-primario-chiaro: #E0F7F9;
    --colore-accento:         var(--bty-navy);
    --colore-sfondo:          #FDFEFF;
    --colore-superficie:      #FFFFFF;
    --colore-superficie-leggera: #F4F8F9;
    --colore-testo-principale: var(--bty-navy);
    --colore-testo-secondario: #5B7A8E;
    --colore-bordi:           #DAE4E9;
    
    /* === GRADIENTI SIGNATURE === */
    --grad-luxe:    linear-gradient(135deg, #c9a961 0%, #e8d5a0 50%, #c9a961 100%);
    --grad-rose:    linear-gradient(135deg, #e91e63 0%, #d946ef 100%);
    --grad-dark:    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --grad-navy:    linear-gradient(90deg, #00A1AB 0%, #007A8A 100%);
    --grad-warm:    linear-gradient(135deg, #fce4ec 0%, #faf8f5 50%, #f4f1ec 100%);
    
    /* === TYPOGRAPHY === */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-bold:    'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-base:    var(--font-body);
    --font-heading: var(--font-display);
    
    /* === LAYOUT === */
    --radius:       18px;
    --radius-lg:    28px;
    --radius-sm:    10px;
    
    /* === SHADOWS === */
    --shadow-sm:    0 4px 20px rgba(0,0,0,.06);
    --shadow-md:    0 12px 40px rgba(0,0,0,.10);
    --shadow-lg:    0 24px 70px rgba(0,0,0,.18);
    --shadow-gold:  0 12px 40px rgba(201,169,97,.35);
    --shadow-card:  0 10px 30px rgba(13, 47, 71, 0.07);
    --shadow-card-h:0 15px 40px rgba(13, 47, 71, 0.12);
    
    /* === TRANSIZIONI === */
    --transition:    all .35s cubic-bezier(.25,.8,.25,1);
    --trans-fast:    0.3s ease;
    
    /* === GLASSMORPHISM === */
    --glass-bg:      rgba(255, 255, 255, 0.85);
    --glass-blur:    blur(12px);
    --white-glass:   rgba(255, 255, 255, 0.85);
}


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  01. RESET & BASE                                                           */
/* ═══════════════════════════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--bty-text);
    background: var(--bty-cream);
    line-height: 1.65;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Su mobile/tablet il body blocca lo scroll orizzontale (qualche elemento sfora).
   Su desktop resta libero, così position:sticky della sidebar funziona. */
@media (max-width: 991.98px) {
    body {
        overflow-x: hidden;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  03. TYPOGRAPHY                                                             */
/* ═══════════════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--colore-testo-principale);
    letter-spacing: -0.02em;
}

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

.lead {
    font-weight: 400;
    font-size: 1rem;
}

.text-primary { color: var(--colore-primario) !important; }
.bg-light { background-color: var(--colore-superficie-leggera) !important; }

section .container,
section .container-fluid {
    position: relative;
    z-index: 3;
}

.section-title h2 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--colore-testo-secondario);
}

.section-title.text-white h2,
.section-title.text-white p {
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.text-teal-bright   { color: #00E5FF; }
.text-orange-bright { color: #FFD700; }


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  04. NAVBAR + LOGO LUXURY                                                   */
/* ═══════════════════════════════════════════════════════════════════════════ */

#main-navbar {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,169,97,.15);
    padding: 14px 0;
    transition: var(--transition);
}
#main-navbar.scrolled {
    padding: 10px 0;
    background: rgba(255,255,255,.98);
    box-shadow: 0 4px 30px rgba(0,0,0,.06);
}

/* === LOGO LUXURY (monogramma TP + nome elegante) === */
.brand-luxe-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}
.brand-luxe-nav:hover { transform: translateX(2px); }

.brand-luxe-nav-mark {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}
.brand-luxe-nav:hover .brand-luxe-nav-mark {
    transform: rotate(-8deg) scale(1.05);
}
.brand-luxe-nav-mark svg,
.brand-luxe-nav-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.brand-luxe-nav-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-luxe-nav-name {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--bty-black);
    line-height: 1;
}
.brand-luxe-nav-name em {
    font-style: italic;
    background: var(--grad-luxe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
    margin-left: 1px;
}

.brand-luxe-nav-tagline {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--bty-gold);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 5px;
    padding-left: 1px;
}

#main-navbar.scrolled .brand-luxe-nav-mark { width: 38px; height: 38px; }
#main-navbar.scrolled .brand-luxe-nav-name { font-size: 1.5rem; }

/* === MENU LINKS === */
.nav-link {
    color: var(--bty-text) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 6px 14px !important;
    position: relative;
    white-space: nowrap;
    transition: color var(--trans-fast);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--grad-luxe);
    transition: width 0.3s;
}
.nav-link:hover::after,
.nav-link.active::after { width: 60%; }
.nav-link:hover,
.nav-link.active { color: var(--bty-black) !important; }

/* === BOTTONI NAVBAR === */
.btn-nav-primary {
    background: var(--bty-black);
    color: #fff !important;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}
.btn-nav-primary:hover {
    background: var(--bty-gold);
    color: var(--bty-black) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-nav-outline {
    border: 1.5px solid #e5e5e0;
    border-radius: 50px;
    padding: 9px 20px;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--bty-text);
    margin-right: 10px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}
.btn-nav-outline:hover {
    border-color: var(--bty-gold);
    color: var(--bty-black);
    background: rgba(201,169,97,0.04);
}

/* === RESPONSIVE NAVBAR === */
@media (min-width: 992px) and (max-width: 1280px) {
    .nav-link { font-size: 0.82rem; padding: 6px 10px !important; }
    .btn-nav-primary,
    .btn-nav-outline { padding: 7px 14px; font-size: 0.8rem; }
}
@media (max-width: 991px) {
    .brand-luxe-nav-mark { width: 40px; height: 40px; }
    .brand-luxe-nav-name { font-size: 1.45rem; }
}
@media (max-width: 575px) {
    .brand-luxe-nav-mark { width: 36px; height: 36px; }
    .brand-luxe-nav-name { font-size: 1.3rem; }
    .brand-luxe-nav-tagline { font-size: 0.48rem; letter-spacing: 2px; }
}


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  05. HERO BEAUTY                                                            */
/* ═══════════════════════════════════════════════════════════════════════════ */

.hero-beauty {
    position: relative;
    min-height: 100vh;
    overflow: visible;
    background: var(--bty-black);
    padding-top: 80px;
    color: #fff;
    z-index: 5;
}
.hero-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: contrast(1.1) brightness(0.7);
}

/* === MOSAICO 4 QUADRANTI BEAUTY NETWORK === */
.hero-bg-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    width: 100%;
    height: 100%;
}
.hero-bg-tile {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.85;
    filter: contrast(1.05) brightness(0.85) saturate(1.05);
    position: relative;
}
.hero-bg-tile:nth-child(1) {
    border-right: 1px solid rgba(201, 169, 97, 0.18);
    border-bottom: 1px solid rgba(201, 169, 97, 0.18);
}
.hero-bg-tile:nth-child(2) {
    border-bottom: 1px solid rgba(201, 169, 97, 0.18);
}
.hero-bg-tile:nth-child(3) {
    border-right: 1px solid rgba(201, 169, 97, 0.18);
}
.hero-overlay-grad {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(10,10,10,.45) 0%, rgba(26,26,26,.30) 50%, rgba(201,169,97,.15) 100%),
        radial-gradient(circle at 20% 30%, rgba(233,30,99,.10) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(201,169,97,.18) 0%, transparent 50%);
}
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,169,97,.4) 0%, transparent 70%);
    filter: blur(40px);
    animation: float 8s ease-in-out infinite;
}
.hero-particles::before {
    width: 400px; height: 400px;
    top: 10%; left: -100px;
}
.hero-particles::after {
    width: 350px; height: 350px;
    bottom: 10%; right: -80px;
    animation-delay: -4s;
    background: radial-gradient(circle, rgba(233,30,99,.35) 0%, transparent 70%);
}
@keyframes float {
    0%,100% { transform: translateY(0) scale(1); }
    50%     { transform: translateY(-30px) scale(1.05); }
}
.hero-content {
    position: relative;
    z-index: 3;
    padding: 60px 0;
}

/* === HERO BADGE === */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(201,169,97,.12);
    border: 1px solid rgba(201,169,97,.4);
    border-radius: 100px;
    padding: 8px 18px;
    color: var(--bty-gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}
.hero-badge .live-dot {
    width: 8px; height: 8px;
    background: var(--bty-gold);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--bty-gold);
    animation: pulse-gold 2s ease infinite;
}
@keyframes pulse-gold {
    0%,100% { opacity: 1; transform: scale(1); }
    50%     { opacity: 0.4; transform: scale(1.3); }
}

/* === HERO TITLE === */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.8vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 500;
    margin-bottom: 16px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-title em {
    font-style: italic;
    background: var(--grad-luxe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
}
.hero-title .typed-word {
    display: inline-block;
    color: var(--bty-rose);
    min-width: 280px;
    text-align: left;
}
.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,.7);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 38px;
    font-weight: 300;
}

/* === HERO CTA BUTTONS === */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}
.btn-hero-primary {
    background: var(--grad-luxe);
    color: var(--bty-black);
    padding: 18px 38px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}
.btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fff 0%, var(--bty-gold-light) 100%);
    opacity: 0;
    transition: opacity 0.35s;
}
.btn-hero-primary span { position: relative; z-index: 1; }
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(201,169,97,.5);
    color: var(--bty-black);
}
.btn-hero-primary:hover::before { opacity: 1; }

.btn-hero-secondary {
    background: rgba(255,255,255,.08);
    color: #fff;
    padding: 17px 32px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,.25);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.5);
    color: #fff;
    transform: translateY(-2px);
}
.btn-hero-secondary i { color: var(--bty-gold); }

/* === HERO STATS === */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 28px 0 0;
    border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat { text-align: left; }
.hero-stat-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.hero-stat-num em {
    font-size: 1rem;
    color: var(--bty-gold);
    font-style: normal;
    font-weight: 400;
}
.hero-stat-lbl {
    font-size: 0.78rem;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 6px;
    font-weight: 500;
}

/* === HERO PHONE MOCKUP === */
.hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    max-width: 280px;
    margin: 0 auto;
}
.phone-mockup {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bty-charcoal);
    border-radius: 42px;
    padding: 14px;
    box-shadow:
        0 50px 100px rgba(0,0,0,.5),
        0 0 0 2px rgba(201,169,97,.3),
        0 0 60px rgba(201,169,97,.2);
    transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
    transition: transform 0.8s ease;
}
.phone-mockup:hover { transform: perspective(1200px) rotateY(-3deg) rotateX(0); }
.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bty-cream);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}
.phone-notch {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 110px; height: 26px;
    background: var(--bty-black);
    border-radius: 0 0 18px 18px;
    z-index: 10;
}
.phone-status-bar {
    padding: 10px 22px 6px;
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--bty-text);
    font-weight: 600;
}
.phone-app-header {
    padding: 14px 18px 12px;
    background: linear-gradient(135deg, var(--bty-black) 0%, var(--bty-charcoal) 100%);
    color: #fff;
}
.phone-app-header h6 {
    font-family: var(--font-display);
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
}
.phone-app-header small {
    color: var(--bty-gold-light);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.phone-app-content {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
}

/* === FAKE APPOINTMENTS === */
.fake-appt {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid var(--bty-gold);
    animation: slideInAppt 0.6s ease backwards;
}
.fake-appt:nth-child(1) { animation-delay: 0.2s; }
.fake-appt:nth-child(2) { animation-delay: 0.5s; border-left-color: var(--bty-rose); }
.fake-appt:nth-child(3) { animation-delay: 0.8s; border-left-color: var(--bty-magenta); }
.fake-appt:nth-child(4) { animation-delay: 1.1s; border-left-color: var(--bty-gold); }
@keyframes slideInAppt {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: none; }
}
.fake-appt-time {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--bty-text);
    min-width: 42px;
}
.fake-appt-info { flex: 1; min-width: 0; }
.fake-appt-info strong {
    display: block;
    font-size: 0.78rem;
    color: var(--bty-text);
}
.fake-appt-info small {
    font-size: 0.65rem;
    color: var(--bty-text-mute);
}
.fake-appt-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bty-rose-soft), var(--bty-stone));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--bty-rose);
}

/* === FLOATING CARDS === */
.float-card {
    position: absolute;
    background: #fff;
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 5;
    animation: floatBob 4s ease-in-out infinite;
}
.float-card-1 { top: 18%; left: -50px; animation-delay: 0s; }
.float-card-2 { bottom: 18%; right: -60px; animation-delay: -2s; }
@keyframes floatBob {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-12px); }
}
.float-card-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}
.float-card-icon.green { background: linear-gradient(135deg, #10b981, #059669); }
.float-card-icon.rose  { background: var(--grad-rose); }
.float-card-text strong {
    display: block;
    font-size: 0.82rem;
    color: var(--bty-text);
}
.float-card-text small {
    font-size: 0.68rem;
    color: var(--bty-text-mute);
}


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  06. SEZIONE SETTORI                                                        */
/* ═══════════════════════════════════════════════════════════════════════════ */

.section-settori {
    padding: 100px 0 80px;
    background: var(--bty-cream);
    position: relative;
}

.section-eyebrow-luxe {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--bty-gold);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.section-eyebrow-luxe::before,
.section-eyebrow-luxe::after {
    content: '';
    width: 30px; height: 1px;
    background: var(--bty-gold);
}

.section-title-luxe {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    color: var(--bty-black);
    font-weight: 500;
    letter-spacing: -0.02em;
}
.section-title-luxe em {
    font-style: italic;
    background: var(--grad-luxe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-sub-luxe {
    font-size: 1.05rem;
    color: var(--bty-text-mute);
    max-width: 620px;
    margin: 16px auto 0;
    line-height: 1.7;
}

.settori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 60px;
}
.settore-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(201,169,97,.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.settore-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(201,169,97,.05) 0%, rgba(233,30,99,.05) 100%);
    transition: left 0.6s;
}
.settore-card:hover::before { left: 0; }
.settore-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--bty-gold);
}
.settore-icon-wrap {
    width: 80px; height: 80px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bty-stone), var(--bty-cream));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bty-gold);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}
.settore-card:hover .settore-icon-wrap {
    background: var(--grad-luxe);
    color: #fff;
    transform: scale(1.08) rotate(-5deg);
}
.settore-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--bty-black);
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}
.settore-desc {
    font-size: 0.82rem;
    color: var(--bty-text-mute);
    position: relative;
    z-index: 1;
}


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  07. SEZIONE STRUMENTI                                                      */
/* ═══════════════════════════════════════════════════════════════════════════ */

.section-strumenti {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bty-cream) 0%, var(--bty-stone) 100%);
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 60px;
}
.tool-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.04);
}
.tool-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle at top right, rgba(201,169,97,.1) 0%, transparent 70%);
    transition: var(--transition);
}
.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.tool-card:hover::after {
    background: radial-gradient(circle at top right, rgba(201,169,97,.18) 0%, transparent 70%);
}
.tool-icon-luxe {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--bty-rose-soft), var(--bty-stone));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bty-rose);
    margin-bottom: 22px;
}
.tool-card.featured .tool-icon-luxe {
    background: var(--grad-luxe);
    color: #fff;
}
.tool-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--bty-black);
    margin-bottom: 12px;
    line-height: 1.2;
}
.tool-desc {
    font-size: 0.92rem;
    color: var(--bty-text-mute);
    line-height: 1.65;
    margin-bottom: 20px;
}
.tool-features { list-style: none; padding: 0; margin: 0; }
.tool-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.88rem;
    color: var(--bty-text);
    border-bottom: 1px dashed rgba(0,0,0,.06);
}
.tool-features li:last-child { border: none; }
.tool-features i {
    color: var(--bty-gold);
    font-size: 0.85rem;
}


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  08. SEZIONE COMPARAZIONE PRIMA / DOPO                                      */
/* ═══════════════════════════════════════════════════════════════════════════ */

.section-compare {
    padding: 100px 0;
    background: var(--bty-black);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.section-compare::before {
    content: '';
    position: absolute;
    top: -50%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(201,169,97,.15) 0%, transparent 70%);
    filter: blur(60px);
}
.section-compare .section-title-luxe { color: #fff; }
.section-compare .section-sub-luxe { color: rgba(255,255,255,.65); }

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}
.compare-vs {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70px; height: 70px;
    border-radius: 50%;
    background: var(--grad-luxe);
    color: var(--bty-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 0 0 8px var(--bty-black), var(--shadow-gold);
}
.compare-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    backdrop-filter: blur(10px);
}
.compare-card.bad { border-color: rgba(239,68,68,.25); }
.compare-card.good {
    border-color: rgba(201,169,97,.4);
    background: linear-gradient(135deg, rgba(201,169,97,.08) 0%, rgba(255,255,255,.04) 100%);
}
.compare-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.compare-card.bad .compare-label {
    background: rgba(239,68,68,.15);
    color: #f87171;
}
.compare-card.good .compare-label {
    background: rgba(201,169,97,.15);
    color: var(--bty-gold-light);
}
.compare-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #fff;
}
.compare-list { list-style: none; padding: 0; }
.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    font-size: 0.95rem;
    color: rgba(255,255,255,.85);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.compare-list li:last-child { border: none; }
.compare-list .icn {
    width: 26px; height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
}
.compare-card.bad .icn  { background: rgba(239,68,68,.2);  color: #f87171; }
.compare-card.good .icn { background: rgba(34,197,94,.2);  color: #4ade80; }


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  09. SEZIONE STORY                                                          */
/* ═══════════════════════════════════════════════════════════════════════════ */

.section-story {
    padding: 100px 0;
    background: var(--bty-cream);
    position: relative;
}
.story-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    margin-top: 50px;
}
.story-img {
    background: linear-gradient(135deg, var(--bty-rose-soft), var(--bty-stone));
    position: relative;
    min-height: 480px;
    overflow: hidden;
}
.story-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.story-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(0,0,0,.3) 100%);
    z-index: 1;
}
.story-quote-bg {
    position: absolute;
    top: 24px; left: 24px;
    font-family: var(--font-display);
    font-size: 8rem;
    color: rgba(201,169,97,.4);
    line-height: 1;
    z-index: 2;
}
.story-content { padding: 60px 50px; }
.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid var(--bty-stone);
    border-bottom: 1px solid var(--bty-stone);
    margin: 32px 0;
}
.story-stat-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--bty-gold);
    line-height: 1;
}
.story-stat-lbl {
    font-size: 0.75rem;
    color: var(--bty-text-mute);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 4px;
}
.story-quote-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.4;
    font-style: italic;
    color: var(--bty-black);
    margin-bottom: 28px;
    font-weight: 400;
}
.story-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.story-author-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--grad-luxe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}
.story-author-name {
    font-weight: 700;
    color: var(--bty-black);
}
.story-author-role {
    font-size: 0.85rem;
    color: var(--bty-text-mute);
}


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  10. SEZIONE TESTIMONIANZE                                                  */
/* ═══════════════════════════════════════════════════════════════════════════ */

.section-testimonials {
    padding: 100px 0;
    background: var(--bty-cream);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 50px;
}
.testimonial-luxe {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}
.testimonial-luxe::before {
    content: '"';
    position: absolute;
    top: 16px; right: 28px;
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    color: var(--bty-gold-light);
    opacity: 0.5;
}
.testimonial-luxe:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.testimonial-stars {
    color: var(--bty-gold);
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bty-text);
    margin-bottom: 24px;
    font-weight: 400;
    /* Scroll interno se testo lungo */
    max-height: 200px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 169, 97, 0.3) transparent;
}

/* Scrollbar custom (Webkit: Chrome/Safari/Edge) */
.testimonial-text::-webkit-scrollbar {
    width: 4px;
}
.testimonial-text::-webkit-scrollbar-track {
    background: transparent;
}
.testimonial-text::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 97, 0.25);
    border-radius: 10px;
    transition: background 0.2s;
}
.testimonial-text::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 169, 97, 0.5);
}
.testimonial-person {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--bty-stone);
}
.testimonial-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bty-rose-soft), var(--bty-stone));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bty-rose);
    font-weight: 700;
    overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 700; color: var(--bty-black); font-size: 0.92rem; }
.testimonial-role { font-size: 0.78rem; color: var(--bty-text-mute); }

/* ─── Recensioni Google: badge + avatar con foto profilo ─── */
.testimonial-luxe.testimonial-google::before { display: none; } /* nasconde la virgoletta: fa posto al badge */
.testimonial-google-badge {
    position: absolute;
    top: 16px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    background: #fff;
    border: 1px solid var(--bty-stone);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--bty-text);
    line-height: 1;
}
.testimonial-google-badge svg { width: 14px; height: 14px; display: block; flex-shrink: 0; }
.testimonial-avatar.testimonial-avatar-img {
    background-color: var(--bty-stone);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ─── Carosello testimonianze (Swiper) ─── */
.testimonials-carousel-wrap {
    position: relative;
    margin-top: 50px;
    padding-bottom: 44px;
}
.testimonials-swiper {
    overflow: hidden;
    padding: 6px 2px;
}
.testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
}
.testimonials-swiper .swiper-slide .testimonial-luxe {
    width: 100%;
}
.testimonials-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    text-align: center;
}
.testimonials-pagination .swiper-pagination-bullet {
    background: var(--bty-gold-light);
    opacity: 0.6;
}
.testimonials-pagination .swiper-pagination-bullet-active {
    background: var(--bty-gold);
    opacity: 1;
}
.testimonials-nav {
    position: absolute;
    top: calc(50% - 22px);
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--bty-stone);
    background: #fff;
    color: var(--bty-gold);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}
.testimonials-nav:hover {
    background: var(--bty-gold);
    color: #fff;
    border-color: var(--bty-gold);
}
.testimonials-nav-prev { left: -6px; }
.testimonials-nav-next { right: -6px; }
@media (max-width: 991px) {
    .testimonials-nav { display: none; }
}


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  11. SEZIONE CTA FINALE                                                     */
/* ═══════════════════════════════════════════════════════════════════════════ */

.section-final-cta {
    padding: 100px 0;
    background: var(--bty-black);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.section-final-cta::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(201,169,97,.2) 0%, transparent 60%);
    filter: blur(80px);
}
.final-content {
    position: relative;
    z-index: 1;
}
.final-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 22px;
}
.final-title em {
    font-style: italic;
    background: var(--grad-luxe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.final-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,.7);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.final-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 40px;
    color: rgba(255,255,255,.5);
    font-size: 0.85rem;
}
.final-trust i { color: var(--bty-gold); margin-right: 6px; }


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  12. ANIMAZIONI ON SCROLL                                                   */
/* ═══════════════════════════════════════════════════════════════════════════ */

.anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(.25,.8,.25,1),
                transform 0.8s cubic-bezier(.25,.8,.25,1);
    transition-delay: var(--d, 0s);
}
.anim.visible {
    opacity: 1;
    transform: none;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in { animation: fadeIn 0.5s ease-out; }
.dynamic-fade { animation: slideDown 0.4s ease-out; }
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  13. PAGINA REGISTRATI (form luxury)                                        */
/* ═══════════════════════════════════════════════════════════════════════════ */

.main-wrapper {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    overflow: hidden;
}
.ambient-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
    animation: floatShape 10s infinite alternate ease-in-out;
}
.shape-1 {
    width: 500px; height: 500px;
    background: #e0e7ff;
    top: -100px; left: -100px;
}
.shape-2 {
    width: 400px; height: 400px;
    background: #fef3c7;
    bottom: -50px; right: -50px;
    animation-delay: -5s;
}
@keyframes floatShape {
    from { transform: translate(0, 0); }
    to   { transform: translate(30px, 40px); }
}
.split-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}
.left-panel {
    width: 45%;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 4rem;
}
.glass-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.9));
}
.content-box {
    position: relative;
    z-index: 2;
    max-width: 500px;
}
.decor-line {
    width: 60px;
    height: 4px;
    background: var(--bty-gold);
    margin: 30px 0;
    border-radius: 2px;
}
.features-list span {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.features-list i {
    color: var(--bty-gold);
    margin-right: 10px;
}
.right-panel {
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.form-card {
    background: var(--white-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 600px;
    position: relative;
}
.form-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--bty-navy);
    font-family: var(--font-display);
}
.form-header p {
    color: var(--bty-text-light);
    margin-bottom: 2rem;
}

/* === INPUT FIELDS === */
.input-group-premium {
    position: relative;
    margin-bottom: 1.5rem;
}
.input-icon {
    position: absolute;
    top: 18px; left: 15px;
    color: #cbd5e1;
    transition: 0.3s;
    z-index: 2;
}
.form-control-premium {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}
.form-control-premium:focus {
    border-color: var(--bty-gold);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}
.form-control-premium:focus + label,
.form-control-premium:not(:placeholder-shown) + label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    background: white;
    padding: 0 5px;
    color: var(--bty-gold);
    font-weight: 600;
}
.form-control-premium:focus ~ .input-icon { color: var(--bty-gold); }
.input-group-premium label {
    position: absolute;
    top: 15px; left: 45px;
    color: #94a3b8;
    pointer-events: none;
    transition: 0.3s ease all;
    background: transparent;
}

/* === USER TYPE SELECTOR === */
.user-type-selector {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.btn-check {
    position: absolute;
    clip: rect(0,0,0,0);
    pointer-events: none;
}
.type-card {
    flex: 1;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    color: var(--bty-text-light);
}
.type-card i { display: block; font-size: 1.5rem; margin-bottom: 5px; }
.type-card span { font-weight: 500; font-size: 0.9rem; }
.type-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
}
.btn-check:checked + .type-card {
    border-color: var(--bty-gold);
    background: #fffcf0;
    color: var(--bty-navy);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}
.btn-check:checked + .type-card i { color: var(--bty-gold); }

/* === BUSINESS BOX === */
.business-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 20px;
    border-radius: 12px;
}
.business-title {
    color: var(--bty-navy);
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-select-premium {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: white;
    margin-top: 5px;
    cursor: pointer;
}

/* === BOTTONE PREMIUM === */
.btn-premium {
    width: 100%;
    padding: 16px;
    background: var(--bty-navy);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(30, 41, 59, 0.2);
}
.btn-premium:hover {
    background: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(30, 41, 59, 0.3);
}

.alert-custom-danger {
    background: #fee2e2;
    color: #991b1b;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border-left: 4px solid #ef4444;
}
.success-box { text-align: center; padding: 40px; color: #166534; }


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  14. PAGINA TUTTE LE CATEGORIE                                              */
/* ═══════════════════════════════════════════════════════════════════════════ */

.page-header-cat {
    padding: 100px 0 120px;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-bottom: 60px;
    color: #ffffff !important;
    text-align: center;
}
.page-header-cat h1 {
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    color: #ffffff !important;
}
.page-header-cat p.lead {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.bg-primary-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #3b82f6 100%);
}
.bg-orange-gradient {
    background: linear-gradient(135deg, #7c2d12 0%, #c2410c 50%, #fb923c 100%);
}
.header-curve {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.header-curve svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}
.header-curve .shape-fill {
    fill: #f8f9fa;
}
.cat-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: rgba(0,0,0,0.08);
}
.cat-header {
    padding: 25px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 15px;
}
.cat-icon-circle {
    width: 54px; height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #334155;
}
.cat-card:hover .cat-icon-circle {
    transform: scale(1.1) rotate(5deg);
    color: var(--colore-primario);
}
.macro-link {
    text-decoration: none;
    color: #1e293b;
    transition: color 0.3s;
}
.macro-link h5 {
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0;
}
.cat-card:hover .macro-link h5 {
    color: var(--colore-primario);
}
.cat-body { padding: 25px; flex-grow: 1; }
.sub-cat-list { list-style: none; padding: 0; margin: 0; }
.sub-cat-list li { margin-bottom: 8px; }
.sub-cat-link {
    text-decoration: none;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.2s ease;
}
.sub-cat-link i {
    font-size: 0.75rem;
    margin-right: 10px;
    opacity: 0.4;
    transition: opacity 0.2s;
}
.sub-cat-link:hover {
    background-color: #f1f5f9;
    color: #0f172a;
    transform: translateX(5px);
}
.sub-cat-link:hover i { opacity: 1; color: var(--colore-primario); }
.cat-footer {
    padding: 20px 25px;
    background: #ffffff;
    border-top: none;
}
.btn-vedi-tutti {
    width: 100%;
    border-radius: 50px;
    padding: 10px 0;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* === SCROLLBAR CATEGORIE === */
.sub-cat-list.scrollable-list {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.sub-cat-list.scrollable-list::-webkit-scrollbar { width: 6px; }
.sub-cat-list.scrollable-list::-webkit-scrollbar-track { background: transparent; }
.sub-cat-list.scrollable-list::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}
.sub-cat-list.scrollable-list::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  15. SEZIONE BLOG / SCROLL ORIZZONTALE / RECENSIONI LIST                    */
/* ═══════════════════════════════════════════════════════════════════════════ */

.blog-card {
    background: var(--colore-superficie);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--trans-fast);
    height: 100%;
    box-shadow: var(--shadow-card);
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-h);
}
.blog-card-image-link {
    display: block;
    overflow: hidden;
}
.blog-card .card-img-top {
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .card-img-top { transform: scale(1.05); }
.blog-card .card-body a {
    text-decoration: none;
    color: var(--colore-primario);
    font-weight: bold;
    transition: color var(--trans-fast);
}
.blog-card .card-title a {
    color: var(--colore-testo-principale);
    text-decoration: none;
}
.blog-card .card-title a:hover { color: var(--colore-primario); }

/* === SCROLL ORIZZONTALE GENERICO === */
.horizontal-scroll-container {
    position: relative;
    width: 100%;
    z-index: 5;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}
.horizontal-scroll-content {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 2rem;
    padding: 2rem 2rem 4rem 2rem;
    align-items: stretch;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.horizontal-scroll-content::-webkit-scrollbar { display: none; }

/* === REVIEW LIST CONTAINER === */
.review-list-container {
    max-height: 800px;
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid var(--colore-bordi);
    border-radius: var(--radius);
    background-color: var(--colore-superficie);
}
.review-list-container::-webkit-scrollbar { width: 8px; }
.review-list-container::-webkit-scrollbar-track {
    background: var(--colore-superficie-leggera);
    border-radius: 10px;
}
.review-list-container::-webkit-scrollbar-thumb {
    background: var(--colore-bordi);
    border-radius: 10px;
}
.review-list-container::-webkit-scrollbar-thumb:hover { background: #ccc; }


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  16. COOKIE BANNER                                                          */
/* ═══════════════════════════════════════════════════════════════════════════ */

.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: #0f172a;
    color: #fff;
    padding: 25px 0;
    z-index: 10000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.1);
    transition: bottom 0.5s ease-out;
    display: flex;
    align-items: center;
}
.cookie-banner.show { bottom: 0; }
.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.cookie-text h5 {
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}
.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #cbd5e1;
    max-width: 800px;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.btn-cookie-accept {
    background-color: var(--colore-primario);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-cookie-accept:hover {
    background-color: var(--colore-primario-scuro);
    color: white;
}
.btn-cookie-reject {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #cbd5e1;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-cookie-reject:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-color: #fff;
}


/* ═══════════════════════════════════════════════════════════════════════════ */
/*  17. RESPONSIVE GENERALE                                                    */
/* ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
/* Hero — Sfondo chiaro luxury mobile (tinta neutra calda + accenti rosa/oro) */
    .hero-beauty {
        padding-top: 26px;
        background: 
            radial-gradient(circle at 15% 20%, rgba(252, 228, 236, 0.6) 0%, transparent 50%),
            radial-gradient(circle at 85% 80%, rgba(232, 213, 160, 0.5) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(244, 241, 236, 0.4) 0%, transparent 70%),
            linear-gradient(135deg, #faf8f5 0%, #fce4ec 50%, #f4f1ec 100%);
    }
    .hero-overlay-grad,
    .hero-particles {
        display: none;
    }
    
    /* Testi adattati a sfondo chiaro: nero + accenti gold */
    .hero-title {
        color: var(--bty-black);
        text-shadow: none;
    }
    .hero-title em {
        background: linear-gradient(135deg, #b5952f, #c9a961, #b5952f);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .hero-title .typed-word {
        color: var(--bty-rose);
    }
    
/* Badge "IL CRM N°1" — versione su sfondo chiaro + compatto mobile */
.hero-badge {
        background: rgba(201, 169, 97, 0.15);
        border-color: rgba(201, 169, 97, 0.5);
        color: var(--bty-gold-deep);
        padding: 6px 14px;
        font-size: 0.65rem;
        letter-spacing: 1px;
        margin-top: 15px;
        margin-bottom: 18px;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Statistiche: numeri scuri, simboli gold, label grigie */
    .hero-stats {
        border-top-color: rgba(201, 169, 97, 0.25);
    }
    .hero-stat-num {
        color: var(--bty-black);
    }
    .hero-stat-num em {
        color: var(--bty-gold);
    }
    .hero-stat-lbl {
        color: var(--bty-text-mute);
    }
    
    /* Tag categorie sotto barra ricerca: versione chiara */
    .hsl-tag-label {
        color: rgba(10, 10, 10, 0.55);
    }
    .hsl-tag {
        background: rgba(255, 255, 255, 0.7);
        border-color: rgba(201, 169, 97, 0.4);
        color: var(--bty-gold-deep);
    }
/* === Frame barra ricerca: bordo oro pieno su sfondo chiaro === */
    .hero-search-luxe .hsl-form {
        background: rgba(255, 255, 255, 0.4);
        border: 2px solid var(--bty-gold);
        box-shadow:
            0 20px 50px rgba(201, 169, 97, 0.18),
            0 0 40px rgba(201, 169, 97, 0.10);
    }
    .hero-search-luxe .hsl-form:focus-within {
        border-color: var(--bty-gold-deep);
        box-shadow:
            0 25px 60px rgba(201, 169, 97, 0.25),
            0 0 50px rgba(201, 169, 97, 0.18);
    }
    
    /* Hero phone mockup */
    .hero-visual {
        max-width: 240px;
        margin: 40px auto 0;
        position: relative;
        z-index: 1;
    }
    .phone-mockup {
        z-index: 1;
    }
    .float-card { 
        transform: scale(0.75);
        z-index: 2;
    }
    .float-card-1 { left: -20px; }
    .float-card-2 { right: -15px; }
    .hero-stat { text-align: center; }
    .hero-stat-num { 
        font-size: 1.8rem; 
        justify-content: center;
    }
    .hero-stats { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 18px;
        text-align: center;
    }
    
    /* Story */
    .story-card { grid-template-columns: 1fr; }
    .story-img { min-height: 280px; }
    .story-content { padding: 40px 28px; }
    
    /* Registrati */
    .split-container {
        flex-direction: column;
        min-height: auto;
    }
    .left-panel { display: none !important; }
    .right-panel {
        width: 100% !important;
        padding: 20px 15px !important;
        background: transparent;
    }
    .form-card {
        padding: 2rem 1.5rem !important;
        backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important;
        max-width: 100% !important;
    }
    .form-header h2 {
        font-size: 1.8rem !important;
        text-align: center;
    }
    .form-header p {
        text-align: center;
        font-size: 0.95rem;
    }
    .form-control-premium { font-size: 16px !important; }
    .user-type-selector { gap: 10px !important; }
    .type-card { padding: 10px !important; }
    .type-card span { font-size: 0.8rem !important; }
    .type-card i { font-size: 1.2rem !important; }
    .main-wrapper {
        background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
        height: auto !important;
        overflow-y: auto !important;
    }
    .ambient-shape { opacity: 0.3; }
}

@media (max-width: 768px) {
    /* Hero */
    .hero-content { padding: 30px 0; }
    .hero-cta-group { flex-direction: column; }
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    /* Compare */
    .compare-grid { grid-template-columns: 1fr; gap: 50px; }
    .compare-vs {
        position: static;
        margin: -25px auto;
        transform: none;
        box-shadow: var(--shadow-gold);
    }
    /* Sezioni padding ridotto */
    .section-settori,
    .section-strumenti,
    .section-compare,
    .section-story,
    .section-testimonials,
    .section-final-cta { padding: 70px 0; }
/* Hero stats */
    .hero-stats { grid-template-columns: 1fr 1fr; }
    
/* Hero — Su mobile nascondiamo TUTTE le immagini del mosaico */
    /* Resta solo lo sfondo nero/oro luxury con i gradient */
    .hero-bg-mosaic {
        display: none;
    }
  
    /* Cookie */
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }
    .btn-cookie-accept,
    .btn-cookie-reject {
        flex: 1;
        text-align: center;
    }
}


/* === FONT IMPORT === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');
/* ╔═══════════════════════════════════════════════════════════╗ */
/* ║  ★★★ HERO SEARCH BAR LUXURY BEAUTY (v2) ★★★             ║ */
/* ║  Frame gold + pillola bianca a 3 zone + tag inline       ║ */
/* ╚═══════════════════════════════════════════════════════════╝ */

.hero-search-luxe {
    margin: 36px 0 50px;
    max-width: 720px;
    width: 100%;
}

.hsl-form {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 169, 97, 0.35);
    border-radius: 24px;
    padding: 10px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(201, 169, 97, 0.12);
    transition: all 0.35s ease;
    position: relative;
}
.hsl-form:focus-within {
    border-color: rgba(201, 169, 97, 0.6);
    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(201, 169, 97, 0.22);
}

/* === RIGA INPUT (pillola bianca interna a 3 zone) === */
.hsl-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-radius: 18px;
}
.hsl-row > .hsl-field:first-child {
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}
.hsl-row > .hsl-submit {
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
}

/* === FIELD === */
.hsl-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    min-width: 0;
    border-right: 1px solid #ece8df;
}
.hsl-field-cosa { flex: 1.3; }
.hsl-field-dove { flex: 1; }

.hsl-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #faf8f5, #f4f1ec);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--bty-gold, #c9a961);
    font-size: 0.85rem;
    transition: all 0.3s;
}
.hsl-field:focus-within .hsl-icon-wrap {
    background: linear-gradient(135deg, #c9a961, #e8d5a0);
    color: #fff;
}

.hsl-field-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hsl-field-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--bty-gold, #c9a961);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 4px;
}

.hsl-input {
    border: none;
    outline: none;
    background: transparent;
    color: var(--bty-text, #2c2c2c);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0;
    width: 100%;
    line-height: 1.3;
}
.hsl-input::placeholder {
    color: #6c757d;
    font-weight: 400;
    opacity: 1;
}

.hsl-loading {
    color: var(--bty-gold, #c9a961);
    font-size: 0.9rem;
    margin-left: 8px;
    display: none;
    flex-shrink: 0;
}
.hsl-loading.active { display: inline-block; }

/* === BOTTONE GEOLOCALIZZAZIONE === */
.hsl-geo {
    background: rgba(201, 169, 97, 0.12);
    border: 1px solid rgba(201, 169, 97, 0.3);
    color: var(--bty-gold, #c9a961);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s;
    font-size: 0.78rem;
}
.hsl-geo:hover {
    background: var(--bty-gold, #c9a961);
    color: #fff;
    transform: scale(1.05);
}

/* === BOTTONE CERCA (compatto) === */
.hsl-submit {
    background: linear-gradient(135deg, #c9a961 0%, #e8d5a0 50%, #c9a961 100%);
    color: #0a0a0a;
    border: none;
    padding: 0 22px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.35s cubic-bezier(.25,.8,.25,1);
    position: relative;
    overflow: hidden;
}
.hsl-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fff 0%, #e8d5a0 100%);
    opacity: 0;
    transition: opacity 0.35s;
}
.hsl-submit > * { position: relative; z-index: 1; }
.hsl-submit:hover::before { opacity: 1; }
.hsl-submit i { font-size: 0.78rem; }

/* === DROPDOWN SUGGERIMENTI === */
.hsl-suggest {
    position: absolute;
    top: calc(100% + 14px);
    left: -10px;
    right: -10px;
    background: #fff;
    border-radius: 18px;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(201, 169, 97, 0.2);
    padding: 12px 0;
    display: none;
    max-height: 480px;
    overflow-y: auto;
    z-index: 9999;
    animation: hslDropIn 0.3s cubic-bezier(.25,.8,.25,1);
}
.hsl-form .hsl-suggest {
    left: -10px;
    right: -10px;
}
.hsl-suggest.active { display: block; }

@keyframes hslDropIn {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: none; }
}

.hsl-sug-section { padding: 4px 0; }
.hsl-sug-section + .hsl-sug-section {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 4px;
    padding-top: 8px;
}
.hsl-sug-header {
    padding: 8px 22px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--bty-gold, #c9a961);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hsl-sug-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(201, 169, 97, 0.3), transparent);
}
.hsl-sug-item {
    padding: 10px 22px;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}
.hsl-sug-item:hover,
.hsl-sug-item.active {
    background: linear-gradient(90deg, rgba(201, 169, 97, 0.08), rgba(233, 30, 99, 0.04));
}
.hsl-sug-thumb {
    width: 44px; height: 44px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(135deg, #fce4ec, #f4f1ec);
    border: 1px solid rgba(201, 169, 97, 0.15);
}
.hsl-sug-thumb-fallback {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #c9a961, #e8d5a0);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Cormorant Garamond', serif;
    flex-shrink: 0;
}
.hsl-sug-info { flex: 1; min-width: 0; }
.hsl-sug-name {
    font-weight: 600;
    color: #0a0a0a;
    font-size: 0.92rem;
    line-height: 1.2;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hsl-sug-name mark {
    background: rgba(201, 169, 97, 0.25);
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 700;
}
.hsl-sug-meta {
    font-size: 0.75rem;
    color: #71716c;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.hsl-sug-meta i { font-size: 0.7rem; opacity: 0.7; }
.hsl-sug-cat {
    background: rgba(201, 169, 97, 0.12);
    color: #b5952f;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hsl-sug-rating {
    color: #f59e0b;
    font-size: 0.72rem;
    font-weight: 600;
}
.hsl-sug-arrow {
    color: rgba(201, 169, 97, 0.5);
    font-size: 0.85rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.25s;
    flex-shrink: 0;
}
.hsl-sug-item:hover .hsl-sug-arrow {
    opacity: 1;
    transform: translateX(0);
}
.hsl-sug-empty {
    padding: 24px 22px;
    text-align: center;
    color: #71716c;
    font-size: 0.88rem;
}
.hsl-sug-empty i {
    font-size: 1.5rem;
    color: rgba(201, 169, 97, 0.4);
    margin-bottom: 8px;
    display: block;
}
.hsl-suggest::-webkit-scrollbar { width: 6px; }
.hsl-suggest::-webkit-scrollbar-track { background: transparent; }
.hsl-suggest::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 97, 0.4);
    border-radius: 10px;
}
.hsl-suggest::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 169, 97, 0.7);
}

/* === TAG CATEGORIE (sotto la pillola, sullo sfondo dark del frame) === */
.hsl-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 14px 8px 4px;
}
.hsl-tag-label {
    font-size: 0.62rem;
    color: var(--bty-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    flex-shrink: 0;
}
.hsl-tag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 169, 97, 0.25);
    color: #e8d5a0;
    padding: 5px 11px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}
.hsl-tag i {
    font-size: 0.65rem;
    color: var(--bty-gold, #c9a961);
}
.hsl-tag:hover {
    background: var(--bty-gold, #c9a961);
    border-color: var(--bty-gold, #c9a961);
    color: #0a0a0a;
    transform: translateY(-2px);
    text-decoration: none;
}
.hsl-tag:hover i { color: #0a0a0a; }

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .hsl-field-cosa,
    .hsl-field-dove { flex: 1; }
}

@media (max-width: 768px) {
    .hero-search-luxe { margin: 28px 0 36px; }

    .hsl-form { border-radius: 20px; padding: 8px; }

    .hsl-row {
        flex-direction: column;
        border-radius: 14px;
    }
    .hsl-field {
        border-right: none;
        border-bottom: 1px solid #ece8df;
        padding: 12px 14px;
    }
    .hsl-field:last-of-type { border-bottom: none; }

    .hsl-submit {
        padding: 14px 20px;
        font-size: 0.75rem;
        justify-content: center;
        border-radius: 12px;
        margin-top: 6px;
    }

    .hsl-suggest { left: 0; right: 0; top: calc(100% + 8px); }

    .hsl-tags {
        gap: 6px;
        padding: 12px 6px 4px;
    }
    .hsl-tag-label { width: 100%; margin-bottom: 4px; }
}
/* ═══════════════════════════════════════════════════════════ */
/*  HERO SEARCH — DROPDOWN CATEGORIE POPOLARI                   */
/* ═══════════════════════════════════════════════════════════ */

/* Item categoria grande (top 6) */
.hsl-sug-cat-big {
    padding: 12px 22px;
}
.hsl-sug-cat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fce4ec, #f4f1ec);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--bty-gold);
    font-size: 0.95rem;
}

/* Sezione "Altre categorie" compatta */
.hsl-sug-others {
    background: #fafaf8;
    margin-top: 4px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.hsl-sug-others .hsl-sug-header {
    color: var(--bty-text-mute);
}

/* Item categoria piccola (lista compatta) */
.hsl-sug-cat-small {
    padding: 9px 22px;
}
.hsl-sug-cat-icon-small {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(201, 169, 97, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--bty-gold);
    font-size: 0.7rem;
}
.hsl-sug-name-small {
    font-weight: 500;
    color: #444;
    font-size: 0.85rem;
    line-height: 1.2;
}

/* Footer dropdown ("Oppure inizia a digitare") */
.hsl-sug-footer {
    padding: 10px 22px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 6px;
    text-align: center;
    font-size: 0.7rem;
    color: var(--bty-text-mute);
}
.hsl-sug-footer i {
    color: var(--bty-gold);
    margin-right: 6px;
}
/* ═══════════════════════════════════════════════════════════ */
/*  HERO MOBILE — Fix dropdown vs phone mockup                 */
/* ═══════════════════════════════════════════════════════════ */

/* Su mobile/tablet, quando la dropdown è aperta, nascondiamo phone + float-card */
@media (max-width: 991px) {
    .hero-search-luxe:focus-within ~ .col-lg-5 .hero-visual,
    .col-lg-7:has(.hsl-suggest.active) ~ .col-lg-5 {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease;
    }
    
    /* Garantiamo che il frame della search abbia stacking context più alto del phone */
    .hero-search-luxe {
        position: relative;
        z-index: 100;
    }
    
    /* Phone mockup e float card su mobile devono stare dietro */
    .hero-visual {
        position: relative;
        z-index: 1;
    }
    .float-card {
        z-index: 2;
    }
}
/* ═══════════════════════════════════════════════════════════ */
/*  HERO MOBILE — Immagine decorativa PNG sopra barra ricerca   */
/*  (visibile SOLO su smartphone ≤768px, NON su tablet)         */
/* ═══════════════════════════════════════════════════════════ */
.hero-mobile-img {
    display: none;
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(201, 169, 97, 0.3));
}

/* Su tablet+smartphone (≤991px) preparo il contesto base */
@media (max-width: 991px) {
    /* Nascondi il sub testo "Pensato per centri estetici..." */
    .hero-sub {
        display: none;
    }
    
    /* La colonna sinistra del hero diventa l'ancora per l'immagine */
    .hero-content .col-lg-7 {
        position: relative;
    }
    
    /* La barra ricerca DEVE stare davanti all'immagine (effetto overlap) */
    .hero-search-luxe {
        position: relative;
        z-index: 10;
    }
}

/* Immagine decorativa: appare SOLO da smartphone in giù (≤768px) */
@media (max-width: 768px) {
    .hero-mobile-img {
        display: block;
        max-width: 300px;
        position: absolute;
        right: 20px;
        top: 10px;
        z-index: 1;
        margin: 0;
        pointer-events: none;
    }
}

@media (max-width: 575px) {
    .hero-mobile-img {
        max-width: 200px;
        right: 15px;
        top: 10px;
    }
}
/* ═══════════════════════════════════════════════════════════
   SECTION LEAD GENERATION — Integrazione Meta
═══════════════════════════════════════════════════════════ */
.section-leadgen {
    padding: 100px 0;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.section-leadgen::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.leadgen-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(236, 72, 153, 0.08);
    color: #be185d;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.leadgen-eyebrow-dot {
    width: 8px;
    height: 8px;
    background: #ec4899;
    border-radius: 50%;
    animation: leadgen-pulse 2s ease-in-out infinite;
}

@keyframes leadgen-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.leadgen-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 600;
    line-height: 1.15;
    color: #0a0a0a;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.leadgen-title em {
    font-style: italic;
    color: #ec4899;
    font-weight: 500;
}

.leadgen-sub {
    font-size: 17px;
    line-height: 1.7;
    color: #525252;
    margin-bottom: 36px;
}

.leadgen-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.leadgen-features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.leadgen-feat-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.25);
}

.leadgen-features li > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.leadgen-features strong {
    font-size: 16px;
    font-weight: 700;
    color: #0a0a0a;
}

.leadgen-features span {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* Trust badge App Review */
.leadgen-trust {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), rgba(16, 185, 129, 0.04));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 14px;
    margin-top: 8px;
}

.leadgen-trust-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.leadgen-trust-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.leadgen-trust-text strong {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.leadgen-trust-text span {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

/* Visual flow lato destro */
.leadgen-visual {
    position: relative;
    padding: 20px;
}

.leadgen-flow-card {
    background: white;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 16px;
}

.leadgen-flow-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    font-weight: 600;
    font-size: 14px;
    color: white;
}

.leadgen-flow-fb .leadgen-flow-header {
    background: linear-gradient(135deg, #1877f2, #0c5dc4);
}

.leadgen-flow-fb .leadgen-flow-header i {
    font-size: 22px;
}

.leadgen-flow-crm .leadgen-flow-header {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.leadgen-flow-crm .leadgen-flow-header i {
    font-size: 18px;
}

.leadgen-flow-content {
    padding: 20px 22px;
}

.leadgen-fake-form {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
}

.leadgen-fake-field {
    padding: 10px 14px;
    background: white;
    border-radius: 8px;
    font-size: 13px;
    color: #334155;
    margin-bottom: 8px;
    border: 1px solid #e2e8f0;
}

.leadgen-fake-field:last-child { margin-bottom: 0; }

/* Arrow tra card */
.leadgen-arrow {
    text-align: center;
    margin: -8px 0 8px;
    position: relative;
    z-index: 2;
}

.leadgen-arrow i {
    display: inline-flex;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
    animation: arrow-bounce 2s ease-in-out infinite;
}

.leadgen-arrow span {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes arrow-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Pipeline mini nel CRM */
.leadgen-pipeline-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.leadgen-pipe-col {
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px 8px;
    min-height: 80px;
}

.leadgen-pipe-lbl {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-align: center;
}

.leadgen-pipe-card {
    background: white;
    border-radius: 8px;
    padding: 8px 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #94a3b8;
}

.leadgen-pipe-card.new {
    border-left-color: #ec4899;
    animation: leadgen-card-pop 2.5s ease-out infinite;
}

.leadgen-pipe-card.done {
    border-left-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

@keyframes leadgen-card-pop {
    0%, 100% { transform: scale(1); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); }
    50% { transform: scale(1.04); box-shadow: 0 6px 16px rgba(236, 72, 153, 0.2); }
}

.leadgen-pipe-card strong {
    display: block;
    font-size: 12px;
    color: #0f172a;
    margin-bottom: 2px;
}

.leadgen-pipe-card small {
    font-size: 10px;
    color: #94a3b8;
}

/* Responsive mobile */
@media (max-width: 991px) {
    .section-leadgen { padding: 60px 0; }
    .leadgen-visual { margin-top: 30px; }
    .leadgen-pipe-card strong { font-size: 11px; }
    .leadgen-pipe-card small { font-size: 9px; }
}
/* ═══ NAV BADGE NEW (per voce Lead Ads) ═══ */
.nav-link-highlight {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

.nav-badge-new {
    display: inline-block;
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 10px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(236, 72, 153, 0.3);
    animation: nav-badge-pulse 2.5s ease-in-out infinite;
    line-height: 1;
}

@keyframes nav-badge-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.85; }
}
/* ═══════════════════════════════════════════════════════════
   SEZIONE BLOG IN HOMEPAGE
═══════════════════════════════════════════════════════════ */
.section-blog {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bty-cream) 0%, #ffffff 100%);
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 60px;
}

/* Card blog luxe */
.blog-card-luxe {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card-luxe:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.blog-card-image-link {
    display: block;
    overflow: hidden;
    position: relative;
}

.blog-card-img-wrap {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--bty-rose-soft), var(--bty-stone));
    overflow: hidden;
    position: relative;
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card-luxe:hover .blog-card-img-wrap img {
    transform: scale(1.06);
}

.blog-card-body {
    padding: 28px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-cat {
    display: inline-block;
    background: rgba(201, 169, 97, 0.12);
    color: var(--bty-gold-deep);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
    align-self: flex-start;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--bty-black);
    line-height: 1.25;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--bty-rose);
}

.blog-card-excerpt {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--bty-text-mute);
    margin: 0 0 18px;
    flex: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bty-rose);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: gap 0.25s ease;
    align-self: flex-start;
}

.blog-card-link:hover {
    color: var(--bty-rose);
    gap: 12px;
}

.blog-card-link i {
    font-size: 0.78rem;
}

/* CTA "Leggi tutti articoli" */
.blog-cta-wrap {
    text-align: center;
    margin-top: 50px;
}

.blog-cta-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--bty-black);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid rgba(201, 169, 97, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.blog-cta-all:hover {
    background: var(--bty-black);
    color: white;
    border-color: var(--bty-black);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.15);
}

.blog-cta-all i {
    font-size: 0.82rem;
    transition: transform 0.25s ease;
}

.blog-cta-all:hover i {
    transform: translateX(4px);
}

/* Responsive blog */
@media (max-width: 768px) {
    .section-blog { padding: 70px 0; }
    .blog-grid { grid-template-columns: 1fr; gap: 20px; }
    .blog-card-body { padding: 24px 20px 20px; }
    .blog-card-title { font-size: 1.3rem; }
}

/* ═══════════════════════════════════════════════════════════
   BOTTONE "Vedi tutte le recensioni" SOTTO TESTIMONIANZE
═══════════════════════════════════════════════════════════ */
.testimonials-cta-wrap {
    text-align: center;
    margin-top: 50px;
}

.testimonials-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 28px rgba(236, 72, 153, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonials-cta:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(236, 72, 153, 0.4);
}

.testimonials-cta i {
    font-size: 0.82rem;
    transition: transform 0.25s ease;
}

.testimonials-cta:hover i {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   SEZIONE INTEGRAZIONI — Icone marchi a colori reali
═══════════════════════════════════════════════════════════ */
/* Sfondo tenue nella tinta del marchio (sovrascrive il gold delle card .featured) */
#integrazioni .tool-card.featured .tool-icon-luxe:has(.fa-meta)     { background: rgba(8, 102, 255, 0.10); }
#integrazioni .tool-card.featured .tool-icon-luxe:has(.fa-whatsapp) { background: rgba(37, 211, 102, 0.12); }
#integrazioni .tool-card.featured .tool-icon-luxe:has(.fa-google)   { background: rgba(66, 133, 244, 0.10); }

/* Icona nel colore reale del marchio */
#integrazioni .tool-icon-luxe .fa-meta     { color: #0866FF; }  /* blu Meta */
#integrazioni .tool-icon-luxe .fa-whatsapp { color: #25D366; }  /* verde WhatsApp */
#integrazioni .tool-icon-luxe .fa-google   { color: #4285F4; }  /* blu Google */
/* ╔═══════════════════════════════════════════════════════════════════════════╗ */
/* ║                          FINE STYLE.CSS                                    ║ */
/* ║   File pulito, organizzato, senza duplicati. Ultima modifica: 04/2026     ║ */
/* ╚═══════════════════════════════════════════════════════════════════════════╝ */