/* =============================================
   STUDIO PROFESSIONALE - MAIN STYLESHEET
   Stile: Elegante, scuro, professionale
   ============================================= */

/* CSS Variables */
:root {
    --color-bg-dark: #0a0a0a;
    --color-bg-overlay: rgba(10, 10, 10, 0.85);
    --color-bg-panel: rgba(15, 15, 15, 0.95);
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-muted: rgba(255, 255, 255, 0.5);
    --color-accent: #c9a962;
    --color-accent-hover: #dfc07a;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-accent: rgba(201, 169, 98, 0.3);
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    
    --menu-width: 280px;
    --menu-width-collapsed: 80px;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text-primary);
    background: var(--color-bg-dark);
}

/* Permetti scroll su pagine interne (articoli, servizi, candidatura) */
html.article-page,
html.article-page body,
body.article-page {
    overflow: visible;
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
}

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

/* =============================================
   VIDEO BACKGROUND
   ============================================= */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(10, 10, 10, 0.4) 50%,
        rgba(10, 10, 10, 0.6) 100%
    );
}

/* =============================================
   HOME CONTENT (Citazione + CTA)
   ============================================= */
/* =============================================
   HOME SLIDER
   ============================================= */
.home-slider {
    position: fixed;
    top: 0;
    left: var(--menu-width);
    right: 0;
    bottom: 0;
    z-index: 1;
    transition: opacity 0.5s var(--transition-smooth), 
                transform 0.5s var(--transition-smooth),
                left 0.4s var(--transition-smooth);
}

.home-slider.hidden {
    opacity: 0;
    transform: scale(0.98);
    pointer-events: none;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

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

/* Allineamento slide */
.slide.align-center {
    justify-content: center;
}

.slide.align-left {
    justify-content: flex-start;
}

.slide.align-right {
    justify-content: flex-end;
}

.slide-content {
    max-width: 800px;
    padding: 2rem 4rem;
}

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

.slide.align-left .slide-content {
    text-align: left;
    padding-left: 8%;
}

.slide.align-right .slide-content {
    text-align: right;
    padding-right: 8%;
}

/* Animazioni fade per testo - direzioni multiple */
.slide .slide-title,
.slide .slide-subtitle,
.slide .slide-btn {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Animazione da sinistra */
.slide.anim-left .slide-title,
.slide.anim-left .slide-subtitle,
.slide.anim-left .slide-btn {
    transform: translateX(-60px);
}

/* Animazione da destra */
.slide.anim-right .slide-title,
.slide.anim-right .slide-subtitle,
.slide.anim-right .slide-btn {
    transform: translateX(60px);
}

/* Animazione dall'alto */
.slide.anim-top .slide-title,
.slide.anim-top .slide-subtitle,
.slide.anim-top .slide-btn {
    transform: translateY(-60px);
}

/* Animazione dal basso */
.slide.anim-bottom .slide-title,
.slide.anim-bottom .slide-subtitle,
.slide.anim-bottom .slide-btn {
    transform: translateY(60px);
}

/* Stato attivo - tutte le direzioni tornano a 0 */
.slide.active .slide-title {
    opacity: 1;
    transform: translate(0, 0);
    transition-delay: 0.2s;
}

.slide.active .slide-subtitle {
    opacity: 1;
    transform: translate(0, 0);
    transition-delay: 0.4s;
}

.slide.active .slide-btn {
    opacity: 1;
    transform: translate(0, 0);
    transition-delay: 0.6s;
}

.slide-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--color-accent);
    color: #0a0a0a;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s ease;
}

.slide-btn:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.3);
}

.slide-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.slide-btn:hover i {
    transform: translateX(5px);
}

/* Slider Navigation Dots */
.slider-nav {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: 0.75rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    border-color: #fff;
}

.slider-dot.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: scale(1.2);
}

/* Slider Arrows - Stile minimalista */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 3rem;
    font-weight: 200;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 1rem;
    font-family: var(--font-body);
}

.slider-arrow:hover {
    color: var(--color-accent);
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

/* Responsive Slider */
@media (max-width: 768px) {
    .home-slider {
        left: 0;
    }
    
    .slide-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .slide-content {
        padding: 2rem;
    }
    
    .slide.align-left .slide-content,
    .slide.align-right .slide-content {
        padding-left: 2rem;
        padding-right: 2rem;
        text-align: center;
    }
    
    .slide.align-left,
    .slide.align-right {
        justify-content: center;
    }
    
    .slider-arrow {
        font-size: 2rem;
        padding: 0.5rem;
    }
    
    .slider-prev {
        left: 1rem;
    }
    
    .slider-next {
        right: 1rem;
    }
    
    .slider-nav {
        bottom: 2rem;
    }
}

/* Menu collapsed state */
body.menu-collapsed .home-slider {
    left: var(--menu-width-collapsed);
}

/* =============================================
   SIDE MENU
   ============================================= */
.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--menu-width);
    height: 100%;
    background: var(--color-bg-panel);
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: width 0.4s var(--transition-smooth);
}

/* Menu Collapse Toggle */
.menu-collapse-toggle {
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    width: 24px;
    height: 48px;
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    border-radius: 0 8px 8px 0;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 101;
}

.menu-collapse-toggle:hover {
    color: var(--color-accent);
    background: var(--color-bg-dark);
}

.menu-collapse-toggle i {
    transition: transform 0.4s var(--transition-smooth);
}

/* Menu Collapsed State */
.side-menu.collapsed {
    width: var(--menu-width-collapsed);
}

.side-menu.collapsed .menu-collapse-toggle i {
    transform: rotate(180deg);
}

.side-menu.collapsed .logo-text,
.side-menu.collapsed .logo-subtext,
.side-menu.collapsed .menu-text,
.side-menu.collapsed .dropdown-arrow,
.side-menu.collapsed .social-links a span {
    opacity: 0;
    visibility: hidden;
    width: 0;
    overflow: hidden;
}

.side-menu.collapsed .menu-header {
    padding: 2rem 0.5rem;
}

.side-menu.collapsed .logo {
    align-items: center;
}

.side-menu.collapsed .logo::before {
    content: attr(data-initials);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
}

.side-menu.collapsed .menu-link {
    justify-content: center;
    padding: 1rem;
}

.side-menu.collapsed .menu-icon {
    margin-right: 0;
    font-size: 1.2rem;
}

.side-menu.collapsed .dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
    width: 200px;
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    border-radius: 0 8px 8px 0;
    padding: 0.5rem 0;
}

.side-menu.collapsed .menu-item.has-dropdown:hover .dropdown-menu {
    display: block;
}

.side-menu.collapsed .dropdown-menu a {
    opacity: 1;
    visibility: visible;
    width: auto;
}

.side-menu.collapsed .menu-footer {
    padding: 1rem 0.5rem;
}

.side-menu.collapsed .social-links {
    flex-direction: column;
    gap: 0.75rem;
}

/* Adjust content when menu collapsed */
body.menu-collapsed .home-slider {
    left: var(--menu-width-collapsed);
}

body.menu-collapsed .page-container {
    left: var(--menu-width-collapsed);
}

.menu-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.4s var(--transition-smooth);
}

.logo-img {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.4s var(--transition-smooth);
}

.side-menu.collapsed .logo-img {
    max-height: 35px !important;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-text-primary);
    transition: all 0.4s var(--transition-smooth);
}

.logo-subtext {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-top: 0.25rem;
    transition: all 0.4s var(--transition-smooth);
}

/* Menu List */
.menu-list {
    list-style: none;
    padding: 1.5rem 0;
    flex: 1;
    overflow-y: auto;
}

.menu-item {
    position: relative;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--color-text-secondary);
    transition: all 0.3s var(--transition-smooth);
    position: relative;
}

.menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--color-accent);
    transform: scaleY(0);
    transition: transform 0.3s var(--transition-smooth);
}

.menu-link:hover,
.menu-link.active {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.menu-link:hover::before,
.menu-link.active::before {
    transform: scaleY(1);
}

.menu-icon {
    width: 24px;
    margin-right: 1rem;
    font-size: 1rem;
    color: var(--color-accent);
    opacity: 0.7;
    transition: all 0.4s var(--transition-smooth);
}

.menu-link:hover .menu-icon,
.menu-link.active .menu-icon {
    opacity: 1;
}

.menu-text {
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.4s var(--transition-smooth);
    letter-spacing: 0.05em;
}

.dropdown-arrow {
    margin-left: auto;
    font-size: 0.7rem;
    transition: transform 0.3s var(--transition-smooth);
}

.menu-item.has-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    transition: max-height 0.4s var(--transition-smooth);
}

.menu-item.has-dropdown.open .dropdown-menu {
    max-height: 500px;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem 0.75rem 3.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    transition: all 0.3s;
    position: relative;
}

.dropdown-menu li a::before {
    content: '—';
    position: absolute;
    left: 1.5rem;
    color: var(--color-accent);
    opacity: 0;
    transition: opacity 0.3s;
}

.dropdown-menu li a:hover {
    color: var(--color-text-primary);
    padding-left: 4rem;
}

.dropdown-menu li a:hover::before {
    opacity: 1;
}

/* Menu Footer */
.menu-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: all 0.3s var(--transition-smooth);
}

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

/* =============================================
   MOBILE MENU TOGGLE
   ============================================= */
.menu-toggle {
    display: none;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    width: 50px;
    height: 50px;
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    backdrop-filter: blur(10px);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all 0.3s var(--transition-smooth);
}

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

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

/* =============================================
   WHATSAPP BUTTON
   ============================================= */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    left: calc(var(--menu-width) + 2rem);
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 90;
    transition: all 0.4s var(--transition-smooth);
}

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

body.menu-collapsed .whatsapp-btn {
    left: calc(var(--menu-width-collapsed) + 2rem);
}

/* Area Clienti Button */
.area-clienti-btn {
    position: fixed;
    bottom: 2rem;
    left: calc(var(--menu-width) + 5rem);
    width: 56px;
    height: 56px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg);
    font-size: 1.25rem;
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.4);
    z-index: 90;
    transition: all 0.4s var(--transition-smooth);
}

.area-clienti-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(201, 169, 98, 0.5);
    color: var(--color-bg);
}

body.menu-collapsed .area-clienti-btn {
    left: calc(var(--menu-width-collapsed) + 5rem);
}

/* =============================================
   PAGE CONTAINER & PAGES
   ============================================= */
.page-container {
    position: fixed;
    top: 0;
    left: var(--menu-width);
    right: 0;
    bottom: 0;
    z-index: 50;
    pointer-events: none;
    transition: left 0.4s var(--transition-smooth);
}

.page-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-overlay);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateX(30px);
    pointer-events: none;
    transition: all 0.5s var(--transition-smooth);
    overflow: hidden;
}

/* Video Background per pagine */
.page-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.page-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-content .page-inner {
    position: relative;
    z-index: 1;
}

.page-content.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.page-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s var(--transition-smooth);
}

.page-close:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: rotate(90deg);
}

.page-inner {
    height: 100%;
    padding: 4rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) transparent;
}

.page-inner::-webkit-scrollbar {
    width: 6px;
}

.page-inner::-webkit-scrollbar-track {
    background: transparent;
}

.page-inner::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 3px;
}

.page-header {
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s var(--transition-smooth) both;
}

.page-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.page-body {
    animation: fadeInUp 0.6s var(--transition-smooth) 0.15s both;
}

/* =============================================
   CHI SIAMO PAGE
   ============================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.about-text .lead {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 2rem;
    border-left: 1px solid var(--color-border-accent);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.team-section h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-accent), #8b7355);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.team-member:hover .member-photo {
    opacity: 1;
    border-color: var(--color-accent);
    box-shadow: 0 5px 20px rgba(201, 169, 98, 0.3);
}

.team-member h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.team-member p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* =============================================
   TEAM MEMBER PAGE
   ============================================= */

.team-member-content {
    max-width: 900px;
}

.team-member-hero {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.team-member-photo-large {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-accent);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.team-member-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-accent), rgba(201, 169, 98, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
}

.team-member-info .page-label {
    display: block;
    margin-bottom: 0.5rem;
}

.team-member-info .page-title {
    margin-bottom: 0.5rem;
}

.team-member-role {
    font-size: 1.2rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.team-member-contacts {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.team-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.team-contact-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #0a0a0a;
}

.team-member-bio {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.team-member-bio h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.bio-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.bio-content p {
    margin-bottom: 1rem;
}

.bio-content ul, .bio-content ol {
    margin: 1rem 0 1rem 1.5rem;
}

.bio-content li {
    margin-bottom: 0.5rem;
}

/* Altri membri */
.other-team-members {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.other-team-members h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #fff;
}

.other-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.other-member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.other-member-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.other-member-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-accent), rgba(201, 169, 98, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.other-member-card:hover .other-member-photo {
    border-color: var(--color-accent);
}

.other-member-photo span {
    font-size: 1.5rem;
    color: #fff;
    font-family: var(--font-display);
}

.other-member-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.25rem;
}

.other-member-card span {
    font-size: 0.8rem;
    color: var(--color-accent);
}

/* Responsive Team Member */
@media (max-width: 768px) {
    .team-member-hero {
        flex-direction: column;
        text-align: center;
    }
    
    .team-member-photo-large {
        width: 140px;
        height: 140px;
    }
    
    .team-member-info .page-title {
        font-size: 2rem;
    }
    
    .team-member-contacts {
        justify-content: center;
    }
    
    .other-members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================
   COLLABORA PAGE
   ============================================= */
.collabora-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.collabora-intro .lead {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.collabora-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
}

.collabora-text p {
    margin-bottom: 1rem;
}

.collabora-vantaggi {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.collabora-vantaggi h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.collabora-vantaggi ul {
    list-style: none;
    padding: 0;
}

.collabora-vantaggi li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.collabora-vantaggi li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.collabora-form-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
}

.collabora-form-container h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

.collabora-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.collabora-form .form-group {
    margin-bottom: 1.25rem;
}

.collabora-form label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.collabora-form input,
.collabora-form select,
.collabora-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.collabora-form input:focus,
.collabora-form select:focus,
.collabora-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
}

.collabora-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a962' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.collabora-form select option {
    background: #1a1a1a;
    color: #fff;
}

.collabora-form textarea {
    resize: vertical;
    min-height: 120px;
}

.collabora-form .checkbox-group {
    margin-top: 1rem;
}

.collabora-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.collabora-form .checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.collabora-form .checkbox-label a {
    color: var(--color-accent);
}

.collabora-form .btn-submit {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: var(--color-accent);
    border: none;
    border-radius: 8px;
    color: #0a0a0a;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.collabora-form .btn-submit:hover {
    background: #d4b36a;
    transform: translateY(-2px);
}

.collabora-form .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 992px) {
    .collabora-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .collabora-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .collabora-form-container {
        padding: 1.5rem;
    }
}

/* =============================================
   SERVIZI PAGE
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--color-border-accent);
    background: rgba(201, 169, 98, 0.05);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent), #8b7355);
    border-radius: 12px;
    font-size: 1.5rem;
    color: var(--color-bg-dark);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* =============================================
   BLOG PAGE
   ============================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
}

.blog-card:hover {
    border-color: var(--color-border-accent);
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.3), rgba(139, 115, 85, 0.3));
}

.blog-content {
    padding: 1.75rem;
}

.blog-date {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.blog-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0.75rem 0;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.read-more {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--color-accent-hover);
}

/* =============================================
   CARRIERA PAGE
   ============================================= */
.career-intro {
    max-width: 700px;
    margin-bottom: 3rem;
}

.career-intro .lead {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.career-intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.positions-list h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.position-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: all 0.3s var(--transition-smooth);
}

.position-card:hover {
    border-color: var(--color-border-accent);
}

.position-info {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.position-info h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
}

.position-type {
    font-size: 0.8rem;
    color: var(--color-accent);
    letter-spacing: 0.05em;
}

.position-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.btn-apply {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s var(--transition-smooth);
}

.btn-apply:hover {
    background: var(--color-accent);
    color: var(--color-bg-dark);
}

/* =============================================
   CONTATTI PAGE
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

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

.contact-item {
    display: flex;
    gap: 1.25rem;
}

.contact-item i {
    font-size: 1.25rem;
    color: var(--color-accent);
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(201, 169, 98, 0.05);
}

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

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--color-accent);
    border: none;
    border-radius: 6px;
    color: var(--color-bg-dark);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.btn-submit:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.3);
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        border-left: none;
        padding-left: 0;
        padding-top: 2rem;
        border-top: 1px solid var(--color-border-accent);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --menu-width: 0px;
    }
    
    .side-menu {
        transform: translateX(-100%);
        width: 280px;
        display: flex;;
    }
    
    .side-menu.open {
        transform: translateX(0);
    }
    
    .menu-collapse-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .menu-toggle {
        display: flex;
    }
    
    .home-slider {
        left: 0;
    }
    
    .page-container {
        left: 0;
    }
    
    .page-inner {
        padding: 2rem;
        padding-top: 5rem;
    }
    
    .page-close {
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .whatsapp-btn {
        left: auto;
        right: 1.5rem;
        bottom: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .area-clienti-btn {
        left: 1.5rem !important;   /* tutta a sinistra */
        right: auto !important;    /* elimina eventuali vincoli */
        bottom: 1.5rem;            /* stesso stile della WhatsApp */
    }
}

@media (max-width: 480px) {
    .quote-text {
        font-size: 1.3rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .position-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* =============================================
   SINGOLO SERVIZIO OVERLAY
   ============================================= */
.page-servizio-single .page-header {
    text-align: center;
}

.page-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--color-accent);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: opacity 0.3s;
}

.page-back:hover {
    opacity: 0.7;
}

.service-icon-large {
    font-size: 4rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.service-image {
    margin: 0 auto 2rem;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-content {
    max-width: 800px;
    margin: 0 auto;
}

.service-intro {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-description {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.service-cta {
    text-align: center;
    padding: 2rem;
    background: rgba(201, 169, 98, 0.1);
    border: 1px solid var(--color-border-accent);
    border-radius: 8px;
}

.service-cta p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-accent);
    color: var(--color-bg-dark);
    border: none;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

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

/* =============================================
   SINGOLO ARTICOLO OVERLAY
   ============================================= */
.page-articolo-single .page-header {
    text-align: center;
}

.article-date {
    display: block;
    color: var(--color-accent);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.article-image {
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2, 
.article-content h3 {
    color: var(--color-text-primary);
    margin: 2rem 0 1rem;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.blog-card {
    cursor: pointer;
}

/* =============================================
   CANDIDATURA OVERLAY
   ============================================= */
.page-candidatura .page-header {
    text-align: center;
}

.candidatura-intro {
    max-width: 700px;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.candidatura-intro .position-details {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.candidatura-form {
    max-width: 600px;
    margin: 0 auto;
}

.candidatura-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.candidatura-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.candidatura-form input,
.candidatura-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.candidatura-form input:focus,
.candidatura-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.candidatura-form input[type="file"] {
    padding: 0.75rem;
}

.candidatura-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-link {
    background: none;
    border: none;
    color: var(--color-accent);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: inherit;
    text-decoration: underline;
}

.btn-link:hover {
    color: var(--color-accent-hover);
}

@media (max-width: 600px) {
    .candidatura-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   OVERLAY FOOTER
   ============================================= */
.overlay-footer {
    margin-top: 4rem;
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-content {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
}

.footer-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    max-height: 80px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-logo {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-text-primary);
}

.footer-sublogo {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--color-accent);
    margin-top: 0.25rem;
}

.footer-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-info {
    margin-bottom: 0.5rem;
}

.footer-company {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
}

.footer-copy p {
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-logo-img {
        max-height: 60px;
    }
}

/* =============================================
   POLICY LINKS IN MENU
   ============================================= */
.policy-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.policy-links a {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    transition: color 0.3s;
}

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

.side-menu.collapsed .policy-links {
    display: none;
}

/* =============================================
   POLICY PAGES
   ============================================= */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.policy-update {
    color: var(--color-accent);
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.policy-content h3 {
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
}

.policy-content p {
    margin-bottom: 1rem;
}

.policy-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* =============================================
   PAGINE PERSONALIZZATE
   ============================================= */
.custom-page-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.custom-page-content h2,
.custom-page-content h3,
.custom-page-content h4 {
    color: var(--color-text-primary);
    margin: 2rem 0 1rem;
}

.custom-page-content h2 { font-size: 1.75rem; }
.custom-page-content h3 { font-size: 1.4rem; }
.custom-page-content h4 { font-size: 1.15rem; }

.custom-page-content p {
    margin-bottom: 1.25rem;
}

.custom-page-content ul,
.custom-page-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.custom-page-content li {
    margin-bottom: 0.5rem;
}

.custom-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.custom-page-content a {
    color: var(--color-accent);
}

.custom-page-content blockquote {
    border-left: 3px solid var(--color-accent);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-text-muted);
}

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg-panel);
    border-top: 1px solid var(--color-border);
    padding: 1.5rem 2rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s var(--transition-smooth);
}

.cookie-banner.visible {
    transform: translateY(0);
}

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

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.cookie-text p:first-child {
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

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

.cookie-btn-reject:hover {
    border-color: var(--color-text-secondary);
    color: var(--color-text-primary);
}

.cookie-btn-accept {
    background: var(--color-accent);
    color: var(--color-bg-dark);
}

.cookie-btn-accept:hover {
    background: var(--color-accent-hover);
}

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