/* ==========================================================================
   STYLE.CSS - File CSS principale per 3D Ferrari Jewels
   ========================================================================== */

/* --------------------------------------------------------------------------
   Variabili CSS
   -------------------------------------------------------------------------- */
:root {
    /* Colors - palette viola/rosso leggermente desaturato */
    --primary: #9F7A80; /* Viola-rosso morbido (malva leggermente desaturato) */
    --secondary: #C09EA3; /* Rosa-viola morbido medio */
    --accent: #E1CAD0; /* Rosa antico chiaro morbido */
    --accent-rgb: 225, 202, 208;
    --accent-dark: #CDA7AE; /* Malva morbido per hover */
    --accent-glow: rgba(225, 202, 208, 0.3); /* Bagliore rosato morbido */
    --dark: #4A3338; /* Grigio-viola scuro */
    --light: #FAF7F8; /* Bianco con tocco rosa tenue */
    --light-bg: #F6F0F2; /* Sfondo rosa pallido morbido */
    --gray: #8F7478; /* Grigio-rosato morbido */
    
    /* Gradients */
    --tech-gradient: linear-gradient(135deg, var(--light-bg), var(--light));
    --accent-gradient: linear-gradient(90deg, var(--primary), var(--accent)); /* Da malva scuro a rosa chiaro */
    
    /* Fonts */
    --font-title: 'Poppins', sans-serif;
    --font-body: 'Cormorant', serif;
    
    /* Effects */
    --glow-shadow: 0 0 15px var(--accent-glow);
    --card-bg: rgba(255, 250, 251, 0.9);
    --glass-effect: rgba(255, 250, 251, 0.7);
    --glass-border: rgba(159, 122, 128, 0.3);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-round: 50px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Z-Index Layers */
    --z-background: -1;
    --z-default: 1;
    --z-header: 1000;
    --z-modal: 2000;
    --z-preloader: 9999;
    
    /* Other */
    --header-height: 80px;
    --transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Roboto', var(--font-body);
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
    min-height: 100vh;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700 !important; /* Poppins Bold */
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
}

.services-intro h2 {
    margin-bottom: 1rem;
}

.services-intro h2::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.6rem;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    font-family: 'Roboto', sans-serif;
}

/* --------------------------------------------------------------------------
   Links & Buttons
   -------------------------------------------------------------------------- */
a {
    text-decoration: none;
    color: var(--primary);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-round);
    font-weight: 600;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
    font-family: var(--font-title);
    line-height: 1.4;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--light);
    border: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all var(--transition-medium);
    box-shadow: 0 5px 15px rgba(159, 122, 128, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(159, 122, 128, 0.4);
    color: var(--light);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all var(--transition-medium);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(159, 122, 128, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--light);
    border: 2px solid var(--light);
    overflow: hidden;
    transition: all var(--transition-medium);
}

.btn-outline:hover {
    background-color: var(--light);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

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

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

/* --------------------------------------------------------------------------
   Grid System
   -------------------------------------------------------------------------- */
.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-auto {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    z-index: var(--z-header);
    transition: all 0.5s ease;
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(159, 122, 128, 0.1);
}

.header-scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(159, 122, 128, 0.15);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}



.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: #000000;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}



.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width var(--transition-fast);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    padding: 2rem 0 1rem;
    position: relative;
    border-top: 1px solid var(--glass-border);
}

footer::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: skewY(-3deg);
    z-index: var(--z-background);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-about {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.footer-logo img {
    height: 30px;
    width: auto;
    margin-right: 0.5rem;
}

.footer-logo h2 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--light);
}

.footer-about p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
    color: var(--light);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    color: var(--light);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: var(--glow-shadow);
}

.copyright {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

.copyright p {
    display: inline;
    margin: 0;
}

.copyright p + p::before {
    content: " | ";
    margin: 0 0.5rem;
}

/* --------------------------------------------------------------------------
   Preloader
   -------------------------------------------------------------------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-preloader);
    transition: opacity 0.5s ease, visibility 0.5s ease;
    /* Assicura che il contenuto sia perfettamente centrato */
    text-align: center;
}

.loader-container {
    position: relative;
    width: 200px;
    height: 200px;
    /* Assicura che il contenitore sia perfettamente centrato */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tech-loader {
    position: relative;
    width: 100%;
    height: 100%;
}

.scanner {
    animation: rotate 2s linear infinite;
}

.circle-outer, .circle-inner {
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: drawCircle 2s ease-out forwards;
}

.scanner-line {
    stroke-dasharray: 90;
    stroke-dashoffset: 90;
    animation: drawLine 2s ease-out forwards;
}

.jewel-outline {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawJewel 1.8s ease-out forwards;
    filter: drop-shadow(0 0 3px var(--accent));
}

.jewel {
    opacity: 0;
    animation: fadeIn 0.6s ease-out 1.4s forwards;
}

.jewel-facets {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawFacets 0.8s ease-out 1s forwards, fadeInFacets 0.4s ease-out 1s forwards;
}


/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    background: linear-gradient(to bottom, #ffffff, #E1CAD0);
    overflow: hidden;
    z-index: 1;
    color: var(--dark);
}

/* Immagine principale in alto */
.hero-main-image {
    width: 100%;
    height: 400px;
    overflow: visible;
    position: relative;
    background: linear-gradient(to bottom, #ffffff, #E1CAD0);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
}

.hero-banner {
    width: 70%;
    height: 350px;
    max-height: 90%;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    position: relative;
    z-index: 9999;
}

/* Sezione contenuto inferiore */
.hero-content-section {
    padding: 0;
    background: linear-gradient(to bottom, #E1CAD0, #F7E8EC);
    margin: -2rem 0 0 0;
    width: 100%;
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 0.31fr 0.69fr;
    gap: 0;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 2rem 0;
    min-height: 500px;
    border-bottom: none;
    border-top: none;
}

/* Sezione immagine sinistra */
.hero-image-section {
    position: relative;
    width: 100%;
    height: 100%;
}

.rotating-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.rotating-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 0 20px 20px 0;
    box-shadow: 0 10px 30px rgba(159, 122, 128, 0.2);
    transition: all 0.5s ease;
}

.rotating-image:hover {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(159, 122, 128, 0.2);
}

/* Sezione testo destra */
.hero-text-section {
    padding: 0 3rem;
    background: transparent;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #000000 !important;
    margin-bottom: 2rem;
    margin-top: 0;
    line-height: 1.1;
    text-align: center;
}

.hero-description {
    font-size: 2rem !important;
    color: #000000 !important;
    margin-bottom: 2.5rem;
    line-height: 1.4 !important;
    text-align: center;
    max-width: 725px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-buttons .btn-primary {
    background: #000000 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #000000 !important;
}

.hero-buttons .btn-primary:hover {
    background: #333333 !important;
    border-color: #333333 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.hero-buttons .btn-secondary {
    background: #000000 !important;
    color: #FFFFFF !important;
    border: 2px solid #000000 !important;
}

.hero-buttons .btn-secondary:hover {
    background: #333333 !important;
    border-color: #333333 !important;
    color: #FFFFFF !important;
    transform: translateY(-3px);
}

.hero-compact {
    padding: 60px 0 30px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-compact .hero-content {
    padding: 2rem;
    margin: 0;
    background: rgba(15, 30, 60, 0.3);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.hero-compact .hero-headline {
    margin-bottom: 1rem;
    text-align: center;
}

.hero-compact .hero-headline h1 {
    font-size: 2.2rem;
    margin-bottom: 0;
}

.hero-compact .hero-divider {
    margin-top: 0;
    height: 60px;
}

.hero-compact .hero-divider svg {
    height: 60px;
}

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: -1px -1px;
    animation: grid-move 20s linear infinite;
    z-index: var(--z-background);
}

.light-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-background);
}

.light-particles::before, 
.light-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background-color: var(--light);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.5);
    opacity: 0.6;
}

.light-particles::before {
    width: 5px;
    height: 5px;
    top: 20%;
    left: 20%;
    animation: float 6s ease-in-out infinite;
}

.light-particles::after {
    width: 8px;
    height: 8px;
    top: 60%;
    left: 80%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: var(--z-default);
    max-width: 650px;
    padding: 2rem;
    background: rgba(15, 30, 60, 0.3);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.hero-headline {
    position: relative;
    margin-bottom: 2rem;
}

.tech-text {
    position: relative;
    color: var(--light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: var(--font-title);
    letter-spacing: 1px;
}

.tech-line {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--light), transparent);
    animation: line-expand 2s ease-out;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fade-up 1s ease-out forwards;
    animation-delay: 0.5s;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    border: 2px solid transparent;
}

.hero-buttons .btn-primary {
    background: var(--accent);
    color: var(--light);
    box-shadow: 0 4px 15px rgba(225, 202, 208, 0.3);
}

.hero-buttons .btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 202, 208, 0.4);
}

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

.hero-buttons .btn-secondary:hover {
    background: var(--light);
    color: var(--dark);
    transform: translateY(-2px);
}

.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: var(--z-default);
}

.hero-divider svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 -5px 5px rgba(0, 0, 0, 0.05));
}

/* --------------------------------------------------------------------------
   Services Section
   -------------------------------------------------------------------------- */
.services {
    background: linear-gradient(to bottom, var(--light-bg), #F7E8EC);
    position: relative;
    padding: 3rem 0;
    overflow: hidden;
}

.tech-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-background);
}

.tech-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(46, 91, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.8;
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: var(--z-default);
}

.services-intro h2 {
    color: #000000 !important;
    margin-bottom: 1rem !important;
}

.services-intro h2::after,
.services-intro h2::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    border: none !important;
    background: none !important;
}

.services-intro h2 .text-highlight {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #000000 !important;
    background-clip: unset !important;
    color: #000000 !important;
}

.services-intro h2 .text-highlight::after,
.services-intro h2 .text-highlight::before {
    display: none !important;
}

.services-intro p {
    color: #000000 !important;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.services-intro .btn-primary {
    background: #000000 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #000000 !important;
}

.services-intro .btn-primary:hover {
    background: #333333 !important;
    border-color: #333333 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: var(--z-default);
    width: 100%;
    margin: 3rem 0 0 0;
}

.service-card {
    background: transparent;
    border-radius: 0;
    padding: 2rem 0;
    box-shadow: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
    border: none;
    z-index: var(--z-default);
    cursor: pointer;
    width: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: rgba(159, 122, 128, 0.2);
}

.service-card:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: rgba(159, 122, 128, 0.2);
}

.service-card-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    min-height: 120px;
}

/* Hover effect rimosso - solo click */

.service-icon {
    font-size: 2.8rem;
    min-width: 90px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    color: #000000;
    transition: all var(--transition-medium);
    flex-shrink: 0;
}

.service-icon .custom-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Hover effect rimosso - solo click */

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.service-content h3 {
    font-family: var(--font-title);
    margin: 0;
    padding-top: 15px;
    font-size: 3rem;
    color: #000000;
    transition: all var(--transition-fast);
    line-height: 1;
}

/* Hover effect rimosso - solo click */

.service-content p {
    color: #000000;
    font-size: 1.8rem;
    line-height: 1.7;
}

.service-preview {
    margin-bottom: 0;
    font-weight: 500;
    color: #000000;
    font-size: 2rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.service-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    margin-top: 0;
    color: #000000;
    font-size: 1.8rem;
    line-height: 1.8;
}

/* Click-only effects */
.service-card.active {
    box-shadow: none;
    border-color: var(--accent);
    background: transparent;
}

.service-card.active .service-icon {
    background: transparent;
    color: #000000;
    box-shadow: none;
    transform: scale(1.05);
}

.service-card.active .service-content h3 {
    margin-bottom: 1rem;
}

.service-card.active .service-preview {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.service-card.active .service-details {
    max-height: 300px;
    opacity: 1;
    margin-top: 0.5rem;
}

.service-card.active .service-arrow {
    transform: rotate(180deg);
}

.service-arrow {
    position: absolute;
    left: calc(50% + 600px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #000000;
    transition: transform 0.3s ease;
    z-index: 10;
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about {
    background: #ffffff;
    padding: 3rem 0 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-left h2 {
    color: #000000;
    font-size: 2.5rem;
    margin-bottom: 0;
}

.about-left h2::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.about-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
}

.about-image img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}


.about-image-caption {
    text-align: center;
    margin-top: 1rem;
    color: #000000;
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-image-caption strong {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    display: block;
    margin-bottom: 0.05rem;
    line-height: 1.0;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.about-right p {
    color: #000000;
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Contact CTA Section
   -------------------------------------------------------------------------- */
.contact-cta-section {
    background: #F5E3E6;
    padding: 4rem 0;
}

.cta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.cta-header h2 {
    color: #000000;
    font-size: 2.5rem;
    margin: 0;
}

.cta-header h2::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.cta-contact-btn {
    background: #000000;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-contact-btn:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta-divider {
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    margin-bottom: 2.5rem;
}

.cta-description {
    margin-bottom: 2.5rem;
    max-width: 700px;
}

.cta-description p {
    color: #000000;
    font-size: 1.3rem;
    line-height: 1.8;
    margin: 0 0 0.8rem 0;
}

.cta-description p:last-child {
    margin-bottom: 0;
}

.cta-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-item a {
    color: #000000;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* --------------------------------------------------------------------------
   Portfolio Section
   -------------------------------------------------------------------------- */
.portfolio {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #F7E8EC, var(--light));
}

.portfolio-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Portfolio Grid Styles */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    margin: 1rem;
}

.portfolio-item:hover {
    transform: none;
    z-index: 1;
}

.portfolio-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(159, 122, 128, 0.2);
    background: white;
    padding: 10px;
}

.portfolio-overlay {
    display: none;
}

/* --------------------------------------------------------------------------
   3D Showcase Section
   -------------------------------------------------------------------------- */
.showcase {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, #f8f9ff 100%);
    overflow: hidden;
}

.showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/grid-pattern.png');
    background-size: 30px 30px;
    opacity: 0.1;
    z-index: 0;
}

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

.showcase-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.showcase h2, .showcase p {
    color: var(--dark);
}

.model-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.model-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--dark);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 500;
}

.model-btn:hover, .model-btn.active {
    background-color: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Contact Page
   -------------------------------------------------------------------------- */
.contact-hero {
    min-height: 20vh;
    background: linear-gradient(to bottom, #ffffff, #E1CAD0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    text-align: center;
    padding: 6rem 0 1rem;
    margin-top: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 1rem 0;
}

.contact-info {
    background-color: transparent;
    padding: 0.8rem;
    border-radius: var(--radius-lg);
    box-shadow: none;
    color: #000000;
}

.contact-form {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: #000000;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    color: #000000;
}

.info-item p {
    margin: 0 !important;
    line-height: 1.2;
}

.info-item p + p {
    margin-top: 0.1rem !important;
}

.info-item i {
    font-size: 1.5rem;
    color: #000000;
    margin-right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #000000;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #cccccc;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    transition: all var(--transition-fast);
    background-color: rgba(255, 255, 255, 0.8);
    color: #000000;
}

.form-control:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn-primary:hover {
    background: #000000 !important;
    border-color: #000000 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.map-container {
    margin-top: 4rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    position: relative;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0.7;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

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

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@keyframes drawJewel {
    to { stroke-dashoffset: 0; }
}

@keyframes drawFacets {
    to { stroke-dashoffset: 0; }
}

@keyframes fadeInFacets {
    from { opacity: 0; }
    to { opacity: 0.4; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes grid-move {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

@keyframes line-expand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 60%;
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------
   Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    html {
        font-size: 15px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2.7rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 13px;
    }
    
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        backdrop-filter: blur(10px);
        box-shadow: 0 5px 20px rgba(159, 122, 128, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        flex-direction: column;
    }
    
    .service-card {
        padding: 2rem 0;
    }
    
    .service-card-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 1.5rem;
    }
    
    .service-icon {
        margin-bottom: 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-left {
        text-align: center;
    }
    
    .about-image {
        margin: 0 auto;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .cta-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .cta-header h2 {
        font-size: 2rem;
    }
    
    .cta-contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-text-section {
        display: flex;
        flex-direction: column;
    }
    
    .hero-buttons {
        order: 1;
    }
    
    .hero-title {
        order: 2;
    }
    
    .hero-description {
        order: 3;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 12px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .container {
        width: 95%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* 3D Viewer Styles */
#container3D {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1/1;
    position: relative;
    background-color: rgba(240, 248, 255, 0.8);
    margin: 20px auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-medium);
}

#container3D:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

#container3D canvas {
    position: relative;
    z-index: 1;
}

.model-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.model-btn {
    padding: 12px 25px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-round);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-title);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(225, 202, 208, 0.3);
}

.model-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(225, 202, 208, 0.4);
}

.model-btn.active {
    background-color: var(--accent-hover);
    box-shadow: 0 0 15px rgba(225, 202, 208, 0.5);
    transform: translateY(-3px);
}

/* Tech Specs Styles */
.tech-specs {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--glass-border);
}

.spec-item {
    padding: 15px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-fast);
}

.spec-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.spec-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 5px;
    font-weight: 600;
}

.spec-value {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 700;
}

/* Personal Collection Styles */
.personal-collection {
    background: var(--dark-bg);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.personal-collection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/grid-pattern.png');
    opacity: 0.05;
    z-index: 0;
}

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

.collection-preview {
    margin-top: 2rem;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.collection-grid.expanded {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.collection-item {
    position: relative;
    margin: 1rem;
}

.collection-item:hover {
    transform: none;
    z-index: 1;
}

.collection-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(159, 122, 128, 0.2);
    background: white;
    padding: 10px;
}

.collection-overlay {
    display: none;
}

.collection-expand, .collection-collapse {
    text-align: center;
    margin: 2rem 0;
}

.full-collection {
    transition: all 0.5s ease;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.full-collection.visible {
    max-height: 5000px;
    opacity: 1;
}

.hidden {
    display: none;
}

/* Responsive adjustments for collection */
@media (max-width: 768px) {
    .collection-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .collection-grid.expanded {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .collection-img {
        height: 250px;
    }
}

/* Stili per l'icona di caricamento dei modelli 3D */
#model-loading-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    border-radius: 8px;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.spinner {
    animation: rotate 2s linear infinite;
}

.spinner-circle {
    stroke-dasharray: 80, 80;
    stroke-dashoffset: 0;
    transform-origin: 50% 50%;
    animation: dash 1.5s ease-in-out infinite;
}

.loading-text {
    margin-top: 15px;
    font-family: 'Cormorant', serif;
    font-size: 16px;
    font-weight: 500;
}

.model-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 0, 0, 0.7);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    font-family: 'Cormorant', serif;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    z-index: 100;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 80;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 30, 80;
        stroke-dashoffset: -25;
    }
    100% {
        stroke-dasharray: 1, 80;
        stroke-dashoffset: -80;
    }
}

.contact-section {
    margin-top: 0;
    background: linear-gradient(to bottom, #E1CAD0, #F7E8EC);
    padding: 1rem 0 4rem 0;
    color: #000000;
}

/* Storia personale */
.my-story {
    padding: 5rem 0;
    background-color: rgba(255, 248, 220, 0.7); /* Sfondo crema più chiaro */
    position: relative;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.story-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2); /* Ombra calda */
}

.story-image::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--accent);
    z-index: 1;
    border-radius: 5px;
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    transform: translateY(-5px) translateX(-5px);
    transition: transform 0.4s ease;
}

.story-image:hover img {
    transform: translateY(0) translateX(0);
}

.story-text p {
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-text p:first-of-type {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--secondary);
}

/* Media queries per responsività */
@media (max-width: 992px) {
    .story-content {
        grid-template-columns: 1fr;
    }
    
    .story-image {
        max-width: 500px;
        margin: 0 auto 2rem;
    }
}

/* Progetti speciali */
.special-projects {
    padding: 5rem 0;
    background: linear-gradient(135deg, #FFF8E7, #FFF8DC);
    position: relative;
}

.special-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/subtle-pattern.png');
    opacity: 0.07;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(139, 69, 19, 0.2);
}

.project-image {
    height: 100%;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 3rem;
}

.project-content h3 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.project-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
}

.project-content p {
    color: var(--dark);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.project-content .btn {
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .project-card {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 350px;
    }
}

/* Stili per la pagina Preventivo */

/* Hero section modificata per preventivo */
.quote-hero {
    position: relative;
    padding: 100px 0 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2316 100%);
    overflow: hidden;
    z-index: 1;
    color: var(--light);
    text-align: center;
}

.quote-content {
    position: relative;
    z-index: var(--z-default);
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(15, 30, 60, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(184, 134, 11, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.quote-content h1 {
    color: var(--light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: var(--font-title);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.quote-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Sezione configuratore */
.configurator-section {
    padding: 1.5rem 0; /* Ridotto da 2rem o più */
}

.quote-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Modificato per dare meno spazio al riepilogo */
    gap: 1rem; /* Ridotto da 1.5rem */
    align-items: start;
}

/* Selettore servizi */
.services-selector {
    background: var(--light);
    padding: 1rem; /* Ridotto da 1.5rem */
    border-radius: var(--radius-md);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem; /* Ridotto leggermente */
}

.services-selector h2, .quote-summary h2 {
    font-size: 1.3rem; /* Ridotto */
    margin-bottom: 0.8rem; /* Ridotto */
}

.service-options {
    margin-top: 0.8rem; /* Ridotto da 1rem */
}

.service-option {
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    padding: 0.8rem;  /* Ridotto da 1rem */
    margin-bottom: 0.8rem;  /* Ridotto da 1rem */
    transition: var(--transition);
}

.service-option:hover {
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
    transform: translateY(-3px);
}

.service-option.selected {
    border: 1px solid var(--accent);
    background-color: rgba(255, 215, 0, 0.05);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.15);
}

.option-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;  /* Ridotto da 1rem */
    margin-bottom: 0.5rem;  /* Ridotto da 1rem */
}

.option-header input[type="checkbox"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent);
}

.option-header label {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--dark);
    flex-grow: 1;
    cursor: pointer;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.option-details {
    padding: 0.8rem 0;  /* Ridotto da 1rem */
}

.option-details p {
    margin-bottom: 0.8rem;  /* Ridotto da 1rem */
    font-size: 0.95rem;  /* Leggermente ridotto */
}

.complexity-selector,
.option-selector,
.material-selector,
.revision-selector {
    margin: 0.8rem 0;  /* Ridotto da 1rem */
    display: flex;
    align-items: center;
    gap: 0.5rem;  /* Ridotto da 1rem */
}

.modifier-select {
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(184, 134, 11, 0.3);
    background-color: white;
    flex-grow: 1;
    max-width: 200px;
    color: var(--dark);
}

.modifier-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

/* Riepilogo preventivo */
.quote-summary {
    position: sticky;
    top: 80px; /* Ridotto da 90px per dare più spazio */
}

.summary-container {
    background: var(--light);
    padding: 0.8rem; /* Ridotto da 1rem */
    border-radius: var(--radius-md);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.summary-container h2 {
    font-size: 1.1rem; /* Ridotto da 1.3rem */
    margin-bottom: 0.6rem; /* Ridotto da 0.8rem */
}

.selected-services {
    margin: 0.6rem 0; /* Ridotto da 1rem */
    min-height: 60px; /* Ridotto da 80px */
}

.no-services {
    text-align: center;
    color: var(--gray);
    font-style: italic;
    padding: 1rem 0; /* Ridotto da 2rem */
    border: 1px dashed rgba(184, 134, 11, 0.3);
    border-radius: var(--radius-md);
    font-size: 0.9rem; /* Ridotto */
}

.service-item {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0; /* Ridotto da 0.8rem */
    border-bottom: 1px solid rgba(184, 134, 11, 0.1);
}

.service-name {
    font-weight: 500;
    font-size: 0.9rem; /* Ridotto */
}

.service-details {
    font-size: 0.8rem; /* Ridotto da 0.9rem */
    color: var(--gray);
    margin-top: 0.2rem; /* Ridotto da 0.3rem */
}

.service-price {
    font-weight: 600;
    font-size: 0.9rem; /* Ridotto */
}

.quote-total {
    padding: 0.6rem; /* Ridotto da 0.7rem */
    margin: 0.8rem 0; /* Ridotto da 1rem */
}

.subtotal-row,
.vat-row,
.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem; /* Ridotto da 0.5rem */
    font-size: 0.9rem; /* Ridotto */
}

.total-row {
    margin-top: 0.6rem; /* Ridotto da 1rem */
    font-size: 1rem; /* Ridotto da 1.2rem */
    padding-top: 0.4rem; /* Ridotto */
}

/* Dettagli del Progetto e Form */
.project-details,
.contact-info {
    margin-top: 0.1rem; /* Ridotto da 0.3rem */
    padding: 0.1rem; /* Ridotto da 0.3rem */
    background: transparent;
    border-radius: var(--radius-sm);
}

.project-details h3,
.contact-info h3 {
    font-size: 1rem; /* Ridotto da 1.1rem */
    margin-bottom: 0.5rem; /* Ridotto da 0.7rem */
    padding-bottom: 0.3rem; /* Ridotto da 0.5rem */
}

.project-details h3::after,
.contact-info h3::after {
    height: 1px; /* Ridotto da 2px */
    bottom: 0;
}

.form-group {
    margin-bottom: 0.5rem; /* Ridotto da 0.6rem */
}

.form-group label {
    display: block;
    margin-bottom: 0.2rem; /* Ridotto da 0.3rem */
    font-weight: 500; /* Ridotto da 600 */
    font-size: 0.9rem; /* Ridotto */
}

.form-control {
    padding: 0.4rem 0.6rem; /* Ridotto da 0.5rem 0.8rem */
    font-size: 0.9rem; /* Ridotto */
}

textarea.form-control {
    min-height: 50px; /* Ridotto da 60px */
}

.form-actions {
    margin-top: 0.8rem; /* Ridotto da 2rem */
    text-align: center;
}

.btn-primary {
    padding: 0.6rem 1.2rem; /* Ridotto da 1rem 2rem */
    font-size: 0.95rem; /* Ridotto da 1.1rem */
}

/* Quote disclaimer più compatto */
.quote-disclaimer {
    padding: 0.5rem; /* Ridotto da 0.7rem */
    font-size: 0.75rem; /* Ridotto da 0.8rem */
    margin-bottom: 0.8rem; /* Ridotto da 1rem */
    line-height: 1.3; /* Ridotto da 1.4 o più */
}

.quote-disclaimer i {
    font-size: 0.8rem; /* Ridotto */
    margin-right: 0.3rem; /* Ridotto */
}

/* Stili per file upload più compatti */
input[type="file"] {
    font-size: 0.85rem; /* Ridotto */
    padding: 0.3rem; /* Ridotto */
}

small {
    font-size: 0.75rem; /* Ridotto da 0.8rem */
    opacity: 0.8;
    margin-top: 0.2rem; /* Ridotto */
    display: block;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    color: #000000;
    position: relative;
    display: block;
    width: 100%;
}

.faq-section h2::after {
    content: none !important;
    display: none !important;
}

.faq-section h2 .text-highlight {
    color: #000000;
    background: none;
    -webkit-text-fill-color: #000000;
}

.faq-description {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 4rem;
    font-size: 1.6rem;
    line-height: 1.9;
    color: #000000;
    font-weight: 400;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.05);
    border: 1px solid rgba(184, 134, 11, 0.1);
    transition: all var(--transition-medium);
}

/* Hover effect rimosso - solo click */

.faq-item h3 {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.faq-item h3 i {
    margin-right: 0.8rem;
    color: var(--accent);
}

.faq-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 992px) {
    .quote-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-summary {
        position: static;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-option {
        padding: 1rem;
    }
    
    .option-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .option-header label {
        margin: 0.5rem 0;
    }
    
    .complexity-selector,
    .option-selector,
    .material-selector,
    .revision-selector {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .complexity-selector span,
    .option-selector span,
    .material-selector span,
    .revision-selector span {
        margin-bottom: 0.5rem;
    }
    
    .modifier-select {
        max-width: 100%;
    }
}

/* Animazioni */
@keyframes highlight {
    0% { background-color: rgba(255, 215, 0, 0.3); }
    100% { background-color: rgba(255, 215, 0, 0); }
}

.highlight-animation {
    animation: highlight 1.5s ease-out;
}

/* Processo Section - Dall'idea al gioiello finito */
.processo-section {
    padding: 5rem 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.processo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(240, 240, 240, 0.5) 1px, transparent 1px),
        linear-gradient(rgba(240, 240, 240, 0.5) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
}

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

.processo-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.processo-section .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.processo-section .section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
}

/* Timeline del processo */
.processo-timeline {
    max-width: 900px;
    margin: 0 auto 4rem;
    position: relative;
}

.processo-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), rgba(255, 215, 0, 0.2));
    z-index: 1;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
    font-family: var(--font-title);
}

.timeline-content {
    flex: 1;
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-left: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(184, 134, 11, 0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 40px;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 3px;
    transform: rotate(45deg);
    border-left: 1px solid rgba(184, 134, 11, 0.1);
    border-bottom: 1px solid rgba(184, 134, 11, 0.1);
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.timeline-content p {
    color: var(--gray);
    line-height: 1.6;
}

/* Opzioni di consegna */
.consegna-options {
    background-color: rgba(255, 248, 220, 0.5);
    padding: 3rem;
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(184, 134, 11, 0.1);
}

.consegna-options h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--secondary);
    position: relative;
}

.consegna-options h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gradient);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.option-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(139, 69, 19, 0.05);
    border: 1px solid rgba(184, 134, 11, 0.1);
    transition: all var(--transition-medium);
}

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(139, 69, 19, 0.15);
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.option-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.option-card p {
    color: var(--gray);
    line-height: 1.6;
}

.cta-container {
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .timeline-content {
        margin-left: 0;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .processo-timeline::before {
        left: 40px;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .consegna-options {
        padding: 2rem;
    }
}

/* Journey Section Styles */
.journey-section {
    position: relative;
    padding: 2rem 0 1rem 0;
    background: #ffffff;
    overflow: hidden;
}

.journey-backdrop {
    display: none;
}

.journey-section .container {
    position: relative;
    z-index: 2;
}

/* Complexity Section - Full width container */
.complexity-section .container {
    width: 98%;
    max-width: 100%;
    padding: 0 0.5rem;
}

/* Services Intro Section */
.services-intro-section {
    background: transparent;
    padding: 5rem 0;
    position: relative;
}

.services-intro-section .container {
    width: 98%;
    max-width: 100%;
    padding: 0 1rem;
}

.services-intro-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.services-intro-header h2 {
    font-size: 3.5rem;
    color: #000000;
    margin-bottom: 1rem;
    position: relative;
    display: block;
    width: 100%;
}

.services-intro-header h2::after {
    content: none !important;
    display: none !important;
}

.services-intro-header h2 .text-highlight {
    color: #000000 !important;
    background: none !important;
    -webkit-text-fill-color: #000000 !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.intro-description {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #000000;
    font-weight: 400;
}

.services-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.services-blocks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-block {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(159, 122, 128, 0.1);
    display: flex;
    flex-direction: column;
}

.service-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-block-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.service-block-icon {
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.custom-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.service-block-title h3 {
    font-size: 1.6rem;
    color: #000000;
    margin: 0 0 0.3rem 0;
    font-family: var(--font-title);
    line-height: 1.2;
}

.service-block-title .service-price {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
    margin: 0;
    font-family: var(--font-title);
}

.service-block-content {
    color: #000000;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-description {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #666666;
}

.service-features h4 {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 0.8rem;
    font-family: var(--font-title);
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.3;
    color: #000000;
}

.service-features li i {
    color: var(--primary);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Pricing columns layout */
.pricing-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.pricing-columns ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pricing-columns li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
    line-height: 1.2;
    padding: 0.1rem 0;
}

.pricing-columns li i {
    color: var(--accent);
    font-size: 0.9rem;
    margin-top: 0.1rem;
}

/* Responsive pricing columns */
@media (max-width: 768px) {
    .pricing-columns {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

.service-details {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #666666;
    margin: 0;
}

.service-detail-card {
    background: transparent;
    border-radius: 0;
    padding: 1.5rem 2rem;
    border-bottom: none;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}

.service-detail-card:last-child {
    border-bottom: none;
}

.service-detail-card:hover {
    background: rgba(255, 255, 255, 0.3);
    padding: 2rem;
}

.service-card-header {
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.service-card-header h3 {
    color: #000000;
    font-size: 1.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
}

.service-card-header h3 i {
    color: #000000;
    font-size: 1.6rem;
}

.service-price {
    color: #000000;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Cormorant', serif;
    margin: 0;
    flex-shrink: 0;
}

.service-summary {
    color: #000000;
    font-size: 1.3rem;
    line-height: 1.7;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.service-detail-card:hover .service-summary {
    max-height: 100px;
    opacity: 1;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.service-expandable {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.service-detail-card:hover .service-expandable {
    max-height: 600px;
    opacity: 1;
    margin-top: 0.5rem;
}

.expandable-subtitle {
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.expandable-description {
    color: #000000;
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-detail-card .service-features li {
    color: #000000;
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.service-detail-card .service-features i {
    color: #000000;
    font-size: 1.1rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.service-detail-card .service-features strong {
    color: #000000;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .services-intro-section .container {
        width: 95%;
        padding: 0 1rem;
    }
    
    .services-cards-grid {
        max-width: 100%;
    }
    
    .services-intro-header h2 {
        font-size: 2.5rem;
    }
    
    .intro-description {
        font-size: 1.2rem;
        line-height: 1.4;
    }
    
    .service-card-header h3 {
        font-size: 1.5rem;
    }
    
    .service-price {
        font-size: 1.7rem;
    }
    
    .service-summary {
        font-size: 1.2rem;
    }
    
    .service-detail-card {
        padding: 1.5rem;
    }
}

.journey-header {
    text-align: center;
    margin-bottom: 4rem;
}

.journey-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000000;
    display: block;
    width: 100%;
}

.journey-header h2::after {
    content: none !important;
    display: none !important;
}

.journey-header h2 .text-highlight {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #000000 !important;
    background-clip: unset !important;
    color: #000000 !important;
}

.journey-header p {
    color: #000000;
    font-size: 1.4rem;
}

.journey-flow {
    position: relative;
    margin: 4rem 0;
}

.journey-path {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: translateY(-50%);
    z-index: 1;
}

.journey-connector {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background: var(--accent);
    width: 100%;
    transform: translateY(-50%);
    animation: pathGlow 2s infinite;
}

@keyframes pathGlow {
    0% { box-shadow: 0 0 5px var(--accent); }
    50% { box-shadow: 0 0 15px var(--accent); }
    100% { box-shadow: 0 0 5px var(--accent); }
}

.journey-blocks {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.journey-stage {
    flex: 1;
    position: relative;
}

.stage-block {
    background: #000000;
    border: none;
    border-radius: 10px;
    padding: 0;
    height: 350px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Hover effect per stage-block */
.stage-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.stage-block:hover::before {
    opacity: 1;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.95) 100%);
}

.stage-block:hover > p:not(.complexity-price),
.stage-block:hover .model-preview p:not(.complexity-price) {
    opacity: 1;
}

.stage-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 2;
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

/* Rimosso hover effect per blocchi statici */

.stage-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: 'Poppins', sans-serif;
    color: #ffffff !important;
    font-size: 1.5rem;
    opacity: 1 !important;
    z-index: 2;
}

.stage-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    z-index: 1;
}

.stage-block h3 {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
    color: #ffffff;
    margin: 0;
    font-size: 1.8rem;
    padding: 0 1.5rem;
    z-index: 2;
    transition: all 0.4s ease;
}

.stage-block > p:not(.complexity-price),
.stage-block .model-preview p:not(.complexity-price) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff !important;
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 0 2rem;
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 4;
    width: 100%;
}

/* Complexity Section - Model Cards Styles */
.model-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.model-blocks .model-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.model-card {
    position: relative;
    min-width: 300px;
}

.model-card .stage-block {
    height: 100%;
    padding: 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    gap: 0.5rem;
}

/* Rimosso .model-card.expanded - blocchi sempre statici */

.model-card .stage-number {
    display: none !important;
}

.image-carousel {
    position: relative;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 0.5rem 0;
    overflow: hidden;
    border-radius: 10px;
}

.model-card .stage-image {
    position: relative;
    width: 100%;
    height: 250px;
    object-fit: cover;
    opacity: 1;
    transition: all 0.4s ease;
    border-radius: 10px;
}

.carousel-btn {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: #ffffff !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 1;
}

/* Rimosso hover effect per blocchi statici */

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    color: var(--accent) !important;
    transform: scale(1.15);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-btn i {
    font-size: 1rem;
}

/* Rimosso hover effect per blocchi statici */

.model-card h3 {
    position: relative;
    bottom: auto;
    top: auto;
    margin: 0.5rem 0 0.5rem 0;
    font-size: 1.6rem;
    text-align: center;
    color: #ffffff !important;
    line-height: 1.2;
}

/* Rimosso hover effect per blocchi statici */

.model-preview {
    position: relative;
    opacity: 1;
    z-index: 3;
    margin-top: 0.5rem;
}

.model-preview p {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    opacity: 1 !important;
    margin: 0;
    padding: 0;
    color: #ffffff !important;
    font-size: inherit !important;
}

.stage-block .complexity-price,
.model-preview .complexity-price,
p.complexity-price,
.complexity-price {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    font-family: var(--font-title) !important;
    letter-spacing: 0.3px !important;
    line-height: 1.2 !important;
    display: block !important;
    margin: 0.2rem 0 0.5rem 0 !important;
}

.model-details {
    display: block;
    position: relative;
    width: 100%;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    max-height: none;
    overflow: visible;
    transition: none;
    z-index: 10;
}

/* Rimosso .model-details.active - blocchi sempre visibili */

.model-gallery {
    display: none;
}

.gallery-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-img.active {
    opacity: 1;
    border-color: var(--accent);
    transform: scale(1.05);
}

.model-description {
    color: #ffffff !important;
    text-align: center;
    position: relative;
    z-index: 10;
}

.model-description p {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    opacity: 1;
    color: #ffffff !important;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.4;
    padding: 0 1.5rem;
    font-weight: 400;
    z-index: 10;
}

.model-features {
    list-style: none;
    padding: 0 2rem;
    margin: 1.5rem auto 0;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    position: relative;
    z-index: 10;
}

.model-features li {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    opacity: 1 !important;
    padding: 0;
    margin: 0;
    color: #ffffff !important;
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    font-weight: 400;
    text-align: left;
    z-index: 10;
}

/* Rimosso hover effect per blocchi statici */

.model-features i {
    color: #ffffff !important;
    font-size: 1rem;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.model-image {
    z-index: 2;
}

.clickable-stage {
    cursor: pointer;
}

.clickable-stage::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0, 0, 0, 0.603) 100%);
}

/* Rimosso hover effect per blocchi statici */

/* Card bloccata con click */
/* Rimosso .model-card.locked - blocchi sempre statici */

/* Overlay for modal - non più necessario ma lasciato per compatibilità */
.modal-overlay {
    display: none;
}

/* Responsive - Tablets */
@media (max-width: 1024px) {
    .complexity-section .container {
        width: 96%;
        padding: 0 0.5rem;
    }
    
    .model-blocks {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .model-card {
        min-width: 340px;
    }
    
    .model-features {
        grid-template-columns: 1fr;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .complexity-section .container {
        width: 95%;
        padding: 0 1rem;
    }
    
    .model-blocks {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .model-card {
        max-width: 500px;
        min-width: auto;
    }
    
    .model-details {
        padding: 1.5rem 1rem;
    }
    
    .model-description p {
        padding: 0 1rem;
        font-size: 1.1rem;
    }
    
    .stage-block .complexity-price,
    .model-preview .complexity-price,
    p.complexity-price,
    .complexity-price {
        font-size: 2.5rem !important;
    }
    
    .model-features {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .model-features li {
        font-size: 0.9rem;
    }
    
    .model-features i {
        font-size: 0.9rem;
        color: #ffffff !important;
    }
}

/* Delivery Options Styles */
.delivery-section {
    margin-top: 6rem;
    text-align: center;
}

.delivery-section h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #000000;
}

.delivery-section h3 .text-highlight {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #000000 !important;
    background-clip: unset !important;
    color: #000000 !important;
}

.delivery-blocks {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    gap: 2rem;
    margin: 3rem 0;
    align-items: start;
}

.delivery-option {
    text-align: center;
}

/* CTA Box - Piccolo */
.delivery-cta-box {
    grid-column: 1;
}

.cta-content {
    background: #000000;
    border-radius: 15px;
    padding: 3rem 1.5rem;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cta-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.cta-icon {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 0.1rem;
}

.cta-custom-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.cta-content h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.1rem;
    font-weight: 700;
}

.cta-content p {
    color: #ffffff;
    font-size: 0.95rem;
    margin: 0 0 0.1rem 0;
    line-height: 1.3;
    text-align: center;
}

.cta-button {
    background: #ffffff;
    color: #000000;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Delivery Cards - Grandi */
.delivery-main {
    grid-column: span 1;
}

.delivery-card {
    background: #000000;
    border: none;
    border-radius: 15px;
    padding: 0;
    height: 450px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.delivery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.delivery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    z-index: 1;
}

.delivery-card:hover .delivery-image {
    opacity: 0.2;
}

.delivery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.delivery-card:hover::before {
    background: rgba(0,0,0,0.85);
}

.delivery-card h4 {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
    color: #ffffff;
    margin: 0;
    font-size: 1.8rem;
    padding: 0 1.5rem;
    z-index: 2;
    transition: all 0.4s ease;
}

.delivery-card:hover h4 {
    bottom: auto;
    top: 2rem;
    font-size: 1.5rem;
}

.delivery-card p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 0 2rem;
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
    width: 100%;
    margin: 0;
}

.delivery-card:hover p {
    opacity: 1;
}

.journey-cta {
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .journey-blocks {
        flex-direction: column;
        gap: 3rem;
    }

    .journey-path {
        display: none;
    }

    .delivery-blocks {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .delivery-cta-box {
        grid-column: 1;
    }

    .delivery-main {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .journey-section {
        padding: 1.5rem 0 0.5rem 0;
    }

    .journey-header h2 {
        font-size: 2rem;
    }

    .stage-block {
        padding: 1.5rem;
    }

    .hexagon {
        width: 120px;
        height: 120px;
    }

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

/* Innovazioni Section Styles */
.innovazioni-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
    position: relative;
}

.innovazioni-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/grid-pattern.png');
    opacity: 0.05;
    z-index: 0;
}

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

.innovation-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.15);
    margin-bottom: 4rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.innovation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(139, 69, 19, 0.2);
}

.innovation-image {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.innovation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.innovation-card:hover .innovation-image img {
    transform: scale(1.05);
}

.innovation-content {
    padding: 3rem;
}

.innovation-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-round);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.innovation-content h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.innovation-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
}

.innovation-description {
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.innovation-features, .innovation-benefits {
    margin-bottom: 2rem;
}

.innovation-features h4, .innovation-benefits h4 {
    color: var(--secondary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.innovation-features h4::after, .innovation-benefits h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gradient);
}

.innovation-features ul, .innovation-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.innovation-features li, .innovation-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--dark);
    font-size: 1.05rem;
}

.innovation-features li i, .innovation-benefits li i {
    margin-right: 1rem;
    color: var(--accent);
    font-size: 1.2rem;
}

.innovation-cta {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.innovation-placeholder {
    background-color: rgba(255, 248, 220, 0.5);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(184, 134, 11, 0.1);
    margin-top: 2rem;
}

.placeholder-content {
    max-width: 600px;
    margin: 0 auto;
}

.placeholder-content i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.placeholder-content h3 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.placeholder-content p {
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive styles for innovazioni section */
@media (max-width: 992px) {
    .innovation-card {
        grid-template-columns: 1fr;
    }
    
    .innovation-image {
        height: 300px;
    }
    
    .innovation-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .innovation-cta {
        flex-direction: column;
    }
    
    .innovation-features li, .innovation-benefits li {
        font-size: 1rem;
    }
}

.service-option .option-details {
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-top: 10px;
}

.service-includes {
    font-size: 0.9rem;
    color: var(--dark);
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.service-includes i {
    margin-right: 8px;
    color: var(--accent);
}

.selected-service {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.selected-service:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.selected-service .service-info {
    flex: 1;
}

.selected-service .service-info h4 {
    margin: 0 0 5px 0;
    color: var(--accent);
    font-size: 1rem;
}

.selected-service .service-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

.selected-service .service-price {
    font-weight: 600;
    color: var(--accent);
    font-size: 1.1rem;
}

.service-option .service-includes {
    font-size: 0.9rem;
    color: var(--dark) !important;
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.service-option .service-includes i {
    margin-right: 8px;
    color: var(--accent);
}

.service-option .option-details .service-includes {
    font-size: 0.9rem;
    color: var(--dark) !important;
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.service-option .option-details .service-includes i {
    margin-right: 8px;
    color: var(--accent);
}

.service-option .option-details p {
    color: var(--dark) !important;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.service-option .option-details .service-includes {
    color: var(--dark) !important;
    font-size: 0.9rem;
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.service-option .option-details .service-includes i {
    margin-right: 8px;
    color: var(--accent);
}

/* Service Descriptions Fix */
.service-includes,
.service-option .service-includes,
.service-option .option-details .service-includes,
p.service-includes {
    color: var(--dark) !important;
    font-size: 0.9rem;
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.service-includes i,
.service-option .service-includes i,
.service-option .option-details .service-includes i {
    margin-right: 8px;
    color: var(--accent);
}

/* Service Option Details Styles */
.service-option .option-details p,
.service-option .option-details .service-includes {
    color: var(--dark) !important;
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.service-option .option-details .service-includes {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-option .option-details .service-includes i {
    color: var(--accent);
    font-size: 1rem;
}

/* Service Option Details Override */
.option-details p {
    color: #2D2A32 !important;
    font-size: 0.95rem !important;
    margin-bottom: 10px !important;
    line-height: 1.6 !important;
}

.service-includes {
    color: #2D2A32 !important;
    font-size: 0.95rem !important;
    margin: 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.service-includes i {
    color: #FFD700 !important;
    font-size: 1rem !important;
    margin-right: 8px !important;
}

.option-details {
    background-color: rgba(255, 255, 255, 0.7) !important;
    padding: 15px !important;
    border-radius: 8px !important;
    margin-top: 10px !important;
}

/* Stili per tooltip e info button */
.info-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 8px;
    cursor: pointer;
}

.tooltip-icon {
    color: var(--accent);
    font-size: 16px;
    transition: color 0.3s;
}

.info-tooltip:hover .tooltip-icon {
    color: var(--accent-dark);
}

.tooltip-content {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    width: 280px;
    background-color: var(--dark);
    color: var(--light);
    text-align: left;
    border-radius: 6px;
    padding: 12px 15px;
    z-index: 100;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--accent);
    font-size: 14px;
    line-height: 1.4;
}

.tooltip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: var(--dark) transparent transparent transparent;
}

.info-tooltip:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

.complexity-guide-link {
    margin-top: 12px;
}

.btn-text {
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
    font-weight: 500;
}

.btn-text i {
    margin-right: 6px;
}

.btn-text:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

/* Stile per Sample Gallery */
.sample-gallery {
    margin-top: 12px;
}

.sample-gallery a {
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
    font-weight: 500;
}

.sample-gallery a i {
    margin-right: 6px;
}

.sample-gallery a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

/* Stili per FAQ Accordion */
.faq-section .container {
    width: 98%;
    max-width: 100%;
    padding: 0 1rem;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.faq-item {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    transition: all 0.4s ease;
    border-bottom: none;
    padding: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    transition: all 0.4s ease;
}

/* Hover effect rimosso - solo click */

.faq-question h3 {
    margin: 0;
    font-size: 1.8rem;
    color: #000000;
    font-weight: 600;
    padding-right: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.faq-question h3 i {
    color: #000000;
    font-size: 1.6rem;
}

.faq-toggle {
    color: #000000;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-toggle i {
    font-size: 1.5rem;
}

.faq-answer {
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.faq-answer.active {
    padding: 0 2rem 2rem 2rem;
    max-height: 800px;
    opacity: 1;
}

/* Click-only effects */
.faq-item.active {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.1);
    background-color: rgba(255, 255, 255, 0.3);
}

.faq-item.active .faq-answer:not(.locked) {
    padding: 0.5rem 2rem 1.5rem 2rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer p {
    margin-top: 0;
    color: #000000;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.faq-answer ol, .faq-answer ul {
    color: #000000;
    padding-left: 2rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

.faq-answer li {
    margin-bottom: 1rem;
    color: #000000;
}

.faq-answer strong {
    color: #000000;
    font-weight: 600;
}

@media (max-width: 768px) {
    .faq-section .container {
        width: 95%;
        padding: 0 1rem;
    }
    
    .faq-section h2 {
        font-size: 2.5rem;
    }
    
    .faq-description {
        font-size: 1.3rem;
    }
    
    .faq-question {
        padding: 1.2rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.5rem;
    }
    
    .faq-question h3 i {
        font-size: 1.3rem;
    }
    
    .faq-toggle i {
        font-size: 1.3rem;
    }
    
    .faq-answer.active {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .faq-answer p {
        font-size: 1.1rem;
    }
    
    .faq-answer ol, .faq-answer ul {
        font-size: 1.05rem;
        padding-left: 1.5rem;
    }
}

/* Stili per pagina di complessità gioielli */
.complexity-intro {
    padding: 60px 0;
    background-color: var(--light-bg);
    position: relative;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--dark);
}

.complexity-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    color: white;
    font-size: 24px;
}

.feature-text h3 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-text p {
    color: var(--dark);
    font-size: 0.95rem;
}

/* Stili per i livelli di complessità */
.complexity-levels {
    padding: 80px 0;
    background-color: white;
}

.complexity-level {
    margin-bottom: 80px;
    padding: 30px 20px;
    background-color: rgba(255, 248, 231, 0.5);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.complexity-level:last-child {
    margin-bottom: 0;
}

.complexity-level::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

.level-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.level-badge {
    font-size: 14px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    color: white;
    margin-right: 15px;
    text-transform: uppercase;
}

.level-badge.base {
    background-color: #4CAF50;
}

.level-badge.medium {
    background-color: #2196F3;
}

.level-badge.advanced {
    background-color: #FF9800;
}

.level-badge.very-advanced {
    background-color: #F44336;
}

.level-header h3 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--dark);
    display: flex;
    align-items: center;
}

.price-tag {
    font-size: 1.2rem;
    margin-left: 15px;
    color: var(--accent);
    background-color: rgba(255, 215, 0, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
}

.level-description {
    margin-bottom: 30px;
}

.level-description p {
    font-size: 1.05rem;
    color: var(--dark);
    line-height: 1.6;
}

.level-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    margin-top: 15px;
    padding: 0 0 0 10px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
}

.feature-item i {
    color: var(--accent);
    margin-right: 10px;
    margin-top: 3px;
}

.complexity-level .level-features .feature-item span {
    color: var(--dark);
    font-size: 0.5rem !important;
    line-height: 1.0 !important;
}

.examples-gallery {
    margin-top: 40px;
}

.examples-gallery h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.example-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.example-item:hover {
    transform: translateY(-5px);
}

.example-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.example-caption {
    padding: 15px;
    font-size: 0.9rem;
    text-align: center;
    color: var(--dark);
    font-weight: 500;
}

/* Sezione di confronto */
.comparison-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.comparison-table {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #e9e9e9;
}

.comparison-table th {
    background-color: var(--dark);
    color: var(--light);
    font-weight: 600;
    font-size: 1rem;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table tr:nth-child(even) {
    background-color: rgba(255, 248, 231, 0.3);
}

.comparison-table i.fas {
    color: var(--accent);
}

.comparison-table i.far {
    color: #ccc;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(45, 42, 50, 0.95), rgba(45, 42, 50, 0.8)), url('../assets/images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--light);
}

.cta-content h2 {
    color: var(--light);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--light);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 992px) {
    .complexity-level {
        padding: 30px;
    }
    
    .level-header h3 {
        font-size: 1.5rem;
    }
    
    .examples-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .complexity-features {
        grid-template-columns: 1fr;
    }
    
    .level-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .level-badge {
        margin-bottom: 10px;
    }
    
    .level-header h3 {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .price-tag {
        margin-left: 0;
        margin-top: 5px;
    }
    
    .level-features {
        grid-template-columns: 1fr;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* Cookie Banner Styles */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(159, 122, 128, 0.95) !important;
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(159, 122, 128, 0.3) !important;
    animation: slidein 0.5s ease-out;
    border-top: 2px solid var(--accent);
}

#cookie-banner.hiding {
    animation: slideout 0.3s ease-in forwards;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: var(--accent);
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    background: var(--accent) !important;
    color: var(--dark) !important;
}

.cookie-link {
    color: var(--accent) !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-weight: 600;
}

.cookie-link:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

@keyframes slidein {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideout {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    #cookie-banner {
        padding: 1rem;
    }
}

/* Lazy Loading Styles */
.gallery-img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-img[loading="lazy"] {
    opacity: 0.7;
}

/* Cookie Popup Styles */
#cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(159, 122, 128, 0.95) !important;
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 1.5rem;
    z-index: 9999;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(159, 122, 128, 0.4) !important;
    max-width: 400px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    border: 2px solid var(--accent);
}

#cookie-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-popup-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-text {
    text-align: center;
}

.cookie-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: var(--accent);
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.cookie-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    background: var(--accent) !important;
    color: var(--dark) !important;
}

.cookie-buttons .btn-primary {
    background: var(--accent);
    color: var(--dark);
}

.cookie-buttons .btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

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

.cookie-buttons .btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.cookie-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.cookie-link:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

@media (max-width: 480px) {
    #cookie-popup {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-buttons button,
    .cookie-link {
        width: 100%;
        text-align: center;
    }
}

/* Responsive per nuova homepage */
@media (max-width: 768px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
        font-weight: 900;
    }
    
    .hero-description {
        font-size: 1.8rem !important;
        text-align: center;
        line-height: 1.4 !important;
    }
    
    .rotating-image-container {
        width: 100%;
        height: 300px;
    }
    
    .rotating-image {
        height: 300px;
        border-radius: 0 20px 20px 0;
    }
    
    .hero-main-image {
        height: 250px;
    }
    
    .hero-banner {
        width: 80%;
        height: 200px;
        max-height: 95%;
    }
    
    .hero-text-section {
        padding: 2rem 1.5rem;
    }
}

/* Mobile: Blocchi sempre con effetto hover attivo e non cliccabili */
@media (max-width: 768px) {
    /* Sezione "Dall'idea al gioiello" - Mobile */
    .journey-stage {
        cursor: default !important;
        pointer-events: none !important;
    }
    
    .journey-stage .stage-block {
        cursor: default !important;
        pointer-events: none !important;
    }
    
    /* Effetto hover sempre attivo */
    .journey-stage .stage-block::before {
        opacity: 1 !important;
        background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.9) 100%) !important;
    }
    
    .journey-stage .stage-block h3 {
        opacity: 1 !important;
        z-index: 3 !important;
    }
    
    .journey-stage .stage-block > p:not(.complexity-price) {
        opacity: 1 !important;
        z-index: 4 !important;
    }
    
    /* Sezione "Scegli il tuo formato di consegna" - Mobile */
    .delivery-option {
        cursor: default !important;
        pointer-events: none !important;
    }
    
    .delivery-card {
        cursor: default !important;
        pointer-events: none !important;
    }
    
    /* Riabilita il bottone "Scopri i servizi" su mobile */
    .delivery-cta-box {
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    
    .delivery-cta-box .cta-button {
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    
    /* Effetto hover sempre attivo per delivery cards */
    .delivery-card::before {
        opacity: 1 !important;
        background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.9) 100%) !important;
    }
    
    .delivery-card h4 {
        opacity: 1 !important;
        z-index: 3 !important;
    }
    
    .delivery-card p {
        opacity: 1 !important;
        z-index: 4 !important;
    }
    
    /* Effetto oscuramento immagine per delivery cards su mobile */
    .delivery-card .delivery-image {
        filter: brightness(0.4) !important;
        transition: none !important;
    }
    
    /* Disabilita tutti gli effetti hover su mobile */
    .journey-stage:hover,
    .delivery-option:hover,
    .delivery-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    /* Sezione "Scegli il tuo modello 3D" - Mobile ottimizzazione */
    .services-blocks-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 0 1rem !important;
    }
    
    .service-block {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .service-block-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .service-block-icon {
        align-self: flex-start !important;
    }
    
    .service-block-title h3 {
        font-size: 1.4rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .service-price {
        font-size: 1.2rem !important;
    }
    
    .service-description {
        font-size: 0.9rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .service-features h4 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .service-features ul {
        margin-bottom: 0.8rem !important;
    }
    
    .service-features li {
        font-size: 0.85rem !important;
        margin-bottom: 0.3rem !important;
        line-height: 1.3 !important;
    }
    
    .service-features li i {
        font-size: 0.8rem !important;
        margin-right: 0.5rem !important;
    }
}