/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ANIMAZIONI GLOBALI */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(91, 33, 182, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(91, 33, 182, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(91, 33, 182, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Classi di animazione riutilizzabili */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
}

.animate-zoom-in {
    animation: zoomIn 0.6s ease-out forwards;
}

.animate-bounce-in {
    animation: bounceIn 0.8s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Delays per animazioni sequenziali */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* Stato iniziale per elementi animati */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effects globali */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(91, 33, 182, 0.3);
    transform: scale(1.02);
}

.hover-shimmer {
    position: relative;
    overflow: hidden;
}

.hover-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.hover-shimmer:hover::before {
    left: 100%;
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-rotate {
    transition: transform 0.3s ease;
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

.hover-tilt {
    transition: transform 0.3s ease;
}

.hover-tilt:hover {
    transform: perspective(1000px) rotateX(10deg) rotateY(10deg);
}

.hover-bounce {
    transition: transform 0.3s ease;
}

.hover-bounce:hover {
    animation: bounceIn 0.6s ease;
}

/* Prevenzione problemi mobile */
html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #fafafa;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #1a202c;
    font-weight: 600;
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; margin-bottom: 1rem; line-height: 1.3; }
h3 { font-size: 1.5rem; margin-bottom: 0.8rem; line-height: 1.4; }
h4 { font-size: 1.2rem; margin-bottom: 0.6rem; line-height: 1.4; }

/* Colori tema */
:root {
    --primary-color: #5b21b6;
    --secondary-color: #7c3aed;
    --accent-color: #c026d3;
    --neutral-light: #f8fafc;
    --neutral-dark: #1e293b;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --gradient: linear-gradient(135deg, #5b21b6 0%, #7c3aed 50%, #c026d3 100%);
    --box-shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --box-shadow-md: 0 4px 16px rgba(0,0,0,0.15);
    --box-shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
}

/* Header */
.header {
    background: var(--gradient);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: fadeInDown 0.8s ease-out;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeInLeft 0.8s ease-out;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    padding: 0;
    object-fit: cover;
    transition: all 0.3s ease;
    animation: zoomIn 0.8s ease-out 0.2s both;
}

.logo-img:hover {
    transform: scale(1.1);
}

.logo-text h1 {
    font-size: 1.8rem;
    color: white;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    transition: color 0.3s ease;
}

.logo-text h1:hover {
    color: #fbbf24;
}

.logo-text p {
    font-size: 0.9rem;
    color: #e2e8f0;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.logo-text span {
    font-style: italic;
    color: #fbbf24;
    transition: all 0.3s ease;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    animation: fadeInRight 0.8s ease-out 0.5s both;
}

.nav-menu li {
    animation: fadeInUp 0.8s ease-out both;
}

.nav-menu li:nth-child(1) { animation-delay: 0.6s; }
.nav-menu li:nth-child(2) { animation-delay: 0.7s; }
.nav-menu li:nth-child(3) { animation-delay: 0.8s; }
.nav-menu li:nth-child(4) { animation-delay: 0.9s; }
.nav-menu li:nth-child(5) { animation-delay: 1.0s; }

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fbbf24;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.hamburger:hover span {
    background: #fbbf24;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 5rem 0;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    animation: fadeInLeft 1s ease-out 0.3s both;
}

.hero-text h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    animation: fadeInUp 1s ease-out 0.5s both;
    transition: all 0.3s ease;
}

.hero-text h2:hover {
    color: var(--accent-color);
    transform: scale(1.02);
    text-shadow: 0 4px 8px rgba(91, 33, 182, 0.3);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-image {
    animation: fadeInRight 1s ease-out 0.4s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--box-shadow-lg);
    transition: all 0.5s ease;
    animation: zoomIn 1s ease-out 1s both;
}

.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease-out both;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(91, 33, 182, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-accent {
    background: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background: #c026d3;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-large:hover {
    background: var(--neutral-light);
    color: var(--primary-color);
    border-color: var(--neutral-light);
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-link:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.btn-link::after {
    content: "→";
    transition: transform 0.3s;
}

.btn-link:hover::after {
    transform: translateX(5px);
}

/* Promo Section */
.promo-section {
    background: var(--gradient);
    padding: 3rem 0;
    margin: 2rem 0;
}

.promo-box {
    text-align: center;
    color: white;
}

.promo-box h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.promo-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.promo-box strong {
    color: #fbbf24;
    font-size: 1.5rem;
}

/* Services Grid */
.services-preview {
    padding: 5rem 0;
    animation: fadeIn 1s ease-out;
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    animation: fadeInUp 1s ease-out 0.2s both;
    transition: all 0.3s ease;
}

.services-preview h2:hover {
    color: var(--accent-color);
    transform: scale(1.02);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--box-shadow-sm);
    text-align: center;
    transition: all 0.5s ease;
    border: 1px solid #e2e8f0;
    animation: fadeInUp 1s ease-out both;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }
.service-card:nth-child(4) { animation-delay: 0.8s; }

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(91, 33, 182, 0.15);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounceIn 1s ease-out 0.5s both;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotateY(360deg);
    color: var(--accent-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--accent-color);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* About Preview */
.about-preview {
    background: var(--neutral-light);
    padding: 5rem 0;
    animation: fadeIn 1s ease-out;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    animation: fadeInLeft 1s ease-out 0.3s both;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
    transition: all 0.3s ease;
}

.about-text h2:hover {
    color: var(--accent-color);
    transform: scale(1.02);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.specialties {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    animation: fadeInUp 1s ease-out 0.8s both;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow-sm);
}

.specialties:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-md);
}

.specialties h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.specialties:hover h4 {
    color: var(--accent-color);
}

.specialties ul {
    list-style: none;
    padding: 0;
}

.specialties li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
    animation: fadeInLeft 1s ease-out both;
}

.specialties li:nth-child(1) { animation-delay: 1s; }
.specialties li:nth-child(2) { animation-delay: 1.1s; }
.specialties li:nth-child(3) { animation-delay: 1.2s; }
.specialties li:nth-child(4) { animation-delay: 1.3s; }

.specialties li:hover {
    background: rgba(91, 33, 182, 0.05);
    transform: translateX(5px);
}

.specialties li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    transition: all 0.3s ease;
}

.specialties li:hover:before {
    transform: scale(1.2) rotate(360deg);
}

.specialties li:last-child {
    border-bottom: none;
}

.about-image {
    animation: fadeInRight 1s ease-out 0.5s both;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--box-shadow-md);
    transition: all 0.5s ease;
    animation: zoomIn 1s ease-out 0.7s both;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    animation: fadeIn 1s ease-out;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    animation: fadeInUp 1s ease-out 0.2s both;
    transition: all 0.3s ease;
}

.testimonials h2:hover {
    color: var(--accent-color);
    transform: scale(1.02);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--box-shadow-sm);
    text-align: center;
    position: relative;
    border: 1px solid #e2e8f0;
    transition: all 0.5s ease;
    animation: fadeInUp 1s ease-out both;
    overflow: hidden;
}

.testimonial:nth-child(1) { animation-delay: 0.3s; }
.testimonial:nth-child(2) { animation-delay: 0.5s; }
.testimonial:nth-child(3) { animation-delay: 0.7s; }

.testimonial::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial:hover::after {
    transform: scaleX(1);
}

.testimonial:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(91, 33, 182, 0.15);
    border-color: var(--accent-color);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.testimonial:hover::before {
    transform: scale(1.2) rotate(15deg);
    opacity: 0.5;
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    animation: fadeIn 1s ease-out 0.5s both;
    transition: all 0.3s ease;
}

.testimonial:hover .stars {
    transform: scale(1.1);
    animation: pulse 0.6s ease;
}

.testimonial p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.testimonial h4 {
    color: var(--primary-color);
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.9s both;
    transition: color 0.3s ease;
}

.testimonial:hover h4 {
    color: var(--accent-color);
}

/* Contact CTA */
.contact-cta {
    background: var(--gradient);
    color: white;
    padding: 5rem 0;
    text-align: center;
    animation: fadeIn 1s ease-out;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

.cta-content {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.4s both;
    transition: all 0.3s ease;
}

.cta-content h2:hover {
    transform: scale(1.02);
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-option {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out both;
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-option:nth-child(1) { animation-delay: 0.7s; }
.contact-option:nth-child(2) { animation-delay: 0.9s; }
.contact-option:nth-child(3) { animation-delay: 1.1s; }

.contact-option:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.contact-option h4 {
    color: #fbbf24;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-option:hover h4 {
    transform: scale(1.1);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-option p {
    margin: 0;
}

.contact-option a {
    color: white;
    text-decoration: none;
}

.contact-option a:hover {
    color: #fbbf24;
}

/* ===============================
   FOOTER SEMPLICE E PULITO
   =============================== */

.footer-clean {
    background: #1a1a1a;
    color: #e5e5e5;
    animation: fadeInUp 1s ease-out;
}

/* Onda decorativa semplice */
.footer-wave {
    height: 30px;
    overflow: hidden;
    animation: fadeIn 1s ease-out 0.2s both;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    animation: slideInUp 1s ease-out 0.3s both;
}

/* Header del footer */
.footer-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid #333;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.footer-brand {
    animation: fadeInLeft 1s ease-out 0.5s both;
}

.footer-brand .logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.footer-brand .logo-section:hover {
    transform: scale(1.02);
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
    animation: zoomIn 1s ease-out 0.7s both;
}

.footer-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
}

.brand-info h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #fbbf24;
    transition: all 0.3s ease;
}

.brand-info h2:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.brand-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #aaa;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
    max-width: 350px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

/* Sezione contatti header */
.footer-contact {
    animation: fadeInRight 1s ease-out 0.6s both;
}

.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fbbf24;
    transition: all 0.3s ease;
}

.footer-contact h3:hover {
    color: #ffffff;
    transform: scale(1.02);
}

.contact-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.btn-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
    font-size: 0.85rem;
    animation: fadeInUp 1s ease-out both;
}

.btn-contact:nth-child(1) { animation-delay: 1s; }
.btn-contact:nth-child(2) { animation-delay: 1.1s; }

.btn-contact:hover {
    transform: scale(1.05);
}

.btn-contact.primary {
    background: #fbbf24;
    color: #1a1a1a;
}

.btn-contact.secondary {
    background: #25d366;
    color: white;
}

.availability {
    font-size: 0.75rem;
    color: #4ade80;
    margin: 0;
}

/* Contenuto principale */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 30px 0;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fbbf24;
}

/* Navigazione */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    padding: 3px 0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
}

.footer-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.3s ease;
}

.footer-nav a:hover::before {
    width: 100%;
}

.footer-nav a:hover {
    color: #fbbf24;
    transform: translateX(5px);
}

/* Info contatti */
.contact-info {
    animation: fadeInUp 1s ease-out 1.3s both;
}

.contact-info p {
    margin-bottom: 12px;
    line-height: 1.4;
    color: #ccc;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-info p:hover {
    transform: translateX(3px);
}

.contact-info strong {
    color: #fbbf24;
    transition: all 0.3s ease;
}

.contact-info a {
    color: #fbbf24;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    text-decoration: underline;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Orari */
.schedule {
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: fadeInUp 1s ease-out 1.4s both;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #333;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    animation: fadeInLeft 1s ease-out both;
}

.schedule-item:nth-child(1) { animation-delay: 1.5s; }
.schedule-item:nth-child(2) { animation-delay: 1.6s; }
.schedule-item:nth-child(3) { animation-delay: 1.7s; }
.schedule-item:nth-child(4) { animation-delay: 1.8s; }

.schedule-item:hover {
    background: rgba(251, 191, 36, 0.1);
    transform: translateX(5px);
}

.schedule-item.closed {
    color: #ef4444;
}

.appointment-note {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #fbbf24;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 1.9s both;
    transition: all 0.3s ease;
}

.appointment-note:hover {
    transform: scale(1.02);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Social e Newsletter */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 2s both;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    animation: fadeInRight 1s ease-out both;
}

.social-link:nth-child(1) { animation-delay: 2.1s; }
.social-link:nth-child(2) { animation-delay: 2.2s; }

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.social-link.facebook:hover {
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
    color: white;
    border-color: rgba(24, 119, 242, 0.5);
    box-shadow: 0 12px 40px rgba(24, 119, 242, 0.4);
}

.social-link.facebook:hover .social-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: rotate(5deg);
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #e4405f 0%, #833ab4 50%, #fccc63 100%);
    color: white;
    border-color: rgba(228, 64, 95, 0.5);
    box-shadow: 0 12px 40px rgba(228, 64, 95, 0.4);
}

.social-link.instagram:hover .social-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: rotate(-5deg);
}

/* Newsletter */
.newsletter {
    animation: fadeInUp 1s ease-out 2.3s both;
}

.newsletter h5 {
    margin-bottom: 6px;
    color: #fbbf24;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter h5:hover {
    color: #ffffff;
    transform: scale(1.02);
}

.newsletter p {
    margin-bottom: 12px;
    color: #ccc;
    font-size: 0.85rem;
    animation: fadeInUp 1s ease-out 2.4s both;
}

.newsletter-form {
    display: flex;
    gap: 4px;
    animation: fadeInUp 1s ease-out 2.5s both;
}

.newsletter-form input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #2a2a2a;
    color: white;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
    transform: scale(1.02);
}

.newsletter-form input::placeholder {
    color: #aaa;
}

.newsletter-form button {
    padding: 8px 12px;
    background: #fbbf24;
    color: #1a1a1a;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 0.85rem;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    animation: fadeIn 1s ease-out 2.6s both;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeInUp 1s ease-out 2.7s both;
}

.copyright {
    animation: fadeInLeft 1s ease-out 2.8s both;
}

.copyright p {
    margin: 0;
    font-size: 0.85rem;
    color: #aaa;
    transition: all 0.3s ease;
}

.copyright p:hover {
    color: #fbbf24;
}

.legal-links {
    display: flex;
    gap: 15px;
}

.legal-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: #fbbf24;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-header {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* ===== HEADER MOBILE STYLES ===== */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: var(--box-shadow-md);
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
        display: flex;
        pointer-events: none;
        animation: none;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-menu * {
        transition: color 0.1s ease;
        animation: none;
    }
    
    .nav-menu.active li {
        animation: none;
    }
    
    .nav-menu.active a {
        transition: none;
    }
    
    .nav-menu li {
        width: 100%;
        animation: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        border-radius: 0;
        transition: none;
    }
    
    /* ===== CONTENT MOBILE STYLES ===== */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h2 {
        font-size: 2.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-nav {
        text-align: center;
    }
    
    /* ===== FOOTER MOBILE STYLES ===== */
    .footer-header {
        padding: 20px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 6px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .legal-links {
        gap: 12px;
    }
    
    /* ===== FOOTER MOBILE REDESIGN ===== */
    
    /* Footer mobile - layout compatto e moderno */
    .footer-clean {
        padding: 2rem 0 1rem 0;
    }
    
    .footer-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 1.5rem 0;
    }
    
    /* Brand section mobile */
    .footer-brand {
        order: 1;
        margin-bottom: 1.5rem;
    }
    
    .footer-brand .logo-section {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-logo {
        width: 60px;
        height: 60px;
    }
    
    .brand-info h2 {
        font-size: 1.4rem;
    }
    
    .footer-description {
        max-width: 100%;
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Contact section mobile */
    .footer-contact {
        order: 2;
        margin-bottom: 2rem;
    }
    
    .footer-contact h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .contact-buttons {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .btn-contact {
        flex: 1;
        max-width: 150px;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        text-align: center;
        border-radius: 8px;
    }
    
    /* Content section mobile - accordion style */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
        border-top: 1px solid #333;
    }
    
    .footer-section {
        background: rgba(255, 255, 255, 0.02);
        border-radius: 8px;
        padding: 1rem;
        border: 1px solid #333;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        color: #fbbf24;
        text-align: center;
    }
    
    /* Navigation mobile */
    .footer-nav {
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-nav a {
        display: inline-block;
        padding: 0.5rem 1rem;
        margin: 0.2rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        font-size: 0.85rem;
        border: 1px solid #333;
    }
    
    /* Contact info mobile */
    .contact-info {
        text-align: center;
    }
    
    .contact-info p {
        margin-bottom: 0.8rem;
        font-size: 0.85rem;
    }
    
    /* Schedule mobile */
    .schedule {
        gap: 0.4rem;
    }
    
    .schedule-item {
        font-size: 0.8rem;
        padding: 0.4rem 0;
        justify-content: space-between;
    }
    
    /* Social links mobile */
    .social-links {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .social-link {
        padding: 1rem;
        border-radius: 12px;
        justify-content: center;
    }
    
    /* Newsletter mobile */
    .newsletter-form {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .newsletter-form input {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .newsletter-form button {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Footer bottom mobile */
    .footer-bottom {
        border-top: 1px solid #333;
        padding: 1.5rem 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .copyright {
        order: 2;
    }
    
    .legal-links {
        order: 1;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .legal-links a {
        background: rgba(255, 255, 255, 0.05);
        padding: 0.5rem 1rem;
        border-radius: 6px;
        border: 1px solid #333;
        font-size: 0.8rem;
    }
    
    /* ===== PAGINE LEGALI MOBILE ===== */
    /* Nascondi completamente l'indice laterale su mobile */
    .content-sidebar {
        display: none !important;
    }
    
    /* Rimuovi la griglia e fai occupare tutto lo spazio al contenuto */
    .content-wrapper {
        display: block !important;
        grid-template-columns: none !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 1rem 15px !important;
        gap: 0 !important;
    }
    
    /* Contenuto principale occupa tutta la larghezza */
    .content-main {
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Ottimizza le sezioni legali per mobile */
    .legal-section {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
}

/* ========================================
   NUOVA PAGINA CONTATTI - STILI MODERNI
======================================== */

/* Hero Section */
.contact-hero {
    background: var(--gradient);
    color: white;
    padding: 4rem 0;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.contact-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.3s both;
    transition: all 0.3s ease;
}

.contact-hero h1:hover {
    transform: scale(1.02);
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Contact Essentials */
.contact-essentials {
    padding: 4rem 0;
    background: white;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.essentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.essential-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow-md);
    text-align: center;
    transition: all 0.5s ease;
    border: 2px solid transparent;
    animation: fadeInUp 1s ease-out both;
    position: relative;
    overflow: hidden;
}

.essential-card:nth-child(1) { animation-delay: 0.9s; }
.essential-card:nth-child(2) { animation-delay: 1.1s; }
.essential-card:nth-child(3) { animation-delay: 1.3s; }

.essential-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.essential-card:hover::before {
    transform: scaleX(1);
}

.essential-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(91, 33, 182, 0.2);
    border-color: var(--primary-color);
}

.essential-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    animation: bounceIn 1s ease-out 1.5s both;
}

.essential-card:hover .essential-icon {
    transform: scale(1.2) rotateY(360deg);
    color: var(--accent-color);
}

.essential-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.essential-link:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

.essential-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-hours {
    text-align: center;
    padding: 1.5rem;
    background: var(--neutral-light);
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-hours span {
    display: inline-block;
    margin: 0 1rem;
    color: var(--text-secondary);
}

.only-appointment {
    color: var(--accent-color) !important;
    font-weight: 600;
}

/* Contact Form */
.contact-form-section {
    padding: 4rem 0;
    background: var(--neutral-light);
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow-md);
    animation: fadeInUp 1s ease-out 1.5s both;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    animation: fadeInUp 1s ease-out both;
}

.form-row:nth-child(1) input { animation-delay: 1.7s; }
.form-row:nth-child(1) input:last-child { animation-delay: 1.8s; }
.form-row:nth-child(2) input { animation-delay: 1.9s; }
.contact-form textarea { animation-delay: 2s; }

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(91, 33, 182, 0.2);
    transform: scale(1.02);
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
    margin-bottom: 1.5rem;
}

.contact-form button {
    width: 100%;
    background: var(--gradient);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.contact-form button:hover {
    transform: scale(1.05);
}

.form-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Studio Info Simple */
.studio-info-simple {
    padding: 4rem 0;
    background: white;
}

.studio-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.studio-address h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.studio-address p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.studio-map iframe {
    border-radius: 12px;
    box-shadow: var(--box-shadow-sm);
}

/* Contact Social */
.contact-social {
    padding: 4rem 0;
    background: var(--neutral-light);
    text-align: center;
}

.contact-social h2 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-social p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.social-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--box-shadow-sm);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    text-decoration: none;
}

.social-card.facebook {
    border-color: #1877f2;
}

.social-card.facebook:hover {
    border-color: #1877f2;
    background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
}

.social-card.instagram {
    border-color: #e4405f;
}

.social-card.instagram:hover {
    border-color: #e4405f;
    background: linear-gradient(135deg, #fff 0%, #fef7f8 100%);
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.facebook .social-icon {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    color: white;
}

.instagram .social-icon {
    background: linear-gradient(135deg, #e4405f 0%, #f857a6 50%, #fccc63 100%);
    color: white;
}

.social-content h3 {
    font-size: 1.3rem;
    margin: 0 0 0.3rem 0;
    color: var(--text-primary);
}

.social-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.facebook .social-content h3 {
    color: #1877f2;
}

.instagram .social-content h3 {
    color: #e4405f;
}

@media (max-width: 480px) {
    .social-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-content h3 {
        font-size: 1.1rem;
    }
    
    /* ===== PAGINE LEGALI MOBILE SMALL ===== */
    .content-wrapper {
        padding: 1rem 10px !important;
    }
    
    .legal-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.2rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
    
    .legal-section p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Ottimizza elementi specifici per mobile piccolo */
    .purpose-grid,
    .rights-grid,
    .contact-info,
    .browser-instructions {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .purpose-item,
    .right-item,
    .contact-method,
    .browser-item,
    .cookie-type,
    .third-party-service,
    .policy-box {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* =========================
   PAGINE LEGALI STYLES
   ========================= */

/* Hero Section per pagine legali */
.legal-hero {
    background: var(--gradient);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: fadeIn 1s ease-out 0.3s both;
}

.legal-hero .hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.legal-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease-out 0.7s both;
    transition: all 0.3s ease;
}

.legal-hero h1:hover {
    transform: scale(1.02);
    text-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.legal-hero .hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-hero .hero-meta {
    margin-top: 2rem;
}

.legal-hero .date-updated {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Layout principale pagine legali */
.legal-content {
    padding: 0;
    background: white;
    animation: fadeIn 1s ease-out 0.8s both;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
    animation: fadeInUp 1s ease-out 1s both;
}

/* Sidebar navigazione */
.content-sidebar {
    position: sticky;
    top: 150px;
    height: fit-content;
    animation: fadeInLeft 1s ease-out 1.2s both;
}

.legal-nav {
    background: var(--neutral-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 1.4s both;
}

.legal-nav:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-md);
}

.legal-nav h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.legal-nav h3:hover {
    color: var(--accent-color);
    transform: scale(1.02);
}

.legal-nav ul {
    list-style: none;
}

.legal-nav li {
    margin-bottom: 0.5rem;
}

.legal-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    animation: fadeInLeft 1s ease-out both;
}

.legal-nav li:nth-child(1) a { animation-delay: 1.5s; }
.legal-nav li:nth-child(2) a { animation-delay: 1.6s; }
.legal-nav li:nth-child(3) a { animation-delay: 1.7s; }
.legal-nav li:nth-child(4) a { animation-delay: 1.8s; }
.legal-nav li:nth-child(5) a { animation-delay: 1.9s; }

.legal-nav a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

.legal-nav a:hover::before {
    width: 15px;
}

.legal-nav a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Contenuto principale */
.content-main {
    max-width: none;
    animation: fadeInRight 1s ease-out 1.2s both;
}

.legal-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--box-shadow-sm);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out both;
    border-left: 4px solid var(--accent-color);
}

.legal-section:nth-child(1) { animation-delay: 1.4s; }
.legal-section:nth-child(2) { animation-delay: 1.6s; }
.legal-section:nth-child(3) { animation-delay: 1.8s; }
.legal-section:nth-child(4) { animation-delay: 2s; }

.legal-section:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-md);
}

.legal-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-section ul, .legal-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Box informativi */
.info-box, .warning-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid;
}

.info-box {
    background: #f0f9ff;
    border-color: #0ea5e9;
    color: #0c4a6e;
}

.warning-box {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

/* Elementi specifici Privacy Policy */
.purpose-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: var(--box-shadow-sm);
}

.purpose-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.right-item {
    background: var(--neutral-light);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.right-item h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-method {
    background: var(--neutral-dark);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #4a5568;
    box-shadow: var(--box-shadow-sm);
    text-align: center;
}

.contact-method h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.contact-method p {
    margin: 0;
}

.contact-method a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: var(--accent-color);
}

/* Elementi specifici Terms & Conditions */
.policy-box {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin: 1rem 0;
}

.policy-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0;
}

/* Elementi specifici Cookie Policy */
.cookie-type {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: var(--box-shadow-sm);
}

.cookie-type h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.cookie-table {
    margin: 2rem 0;
}

.cookie-table h3 {
    color: var(--primary-color);
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.cookie-item {
    background: #f8fafc;
    padding: 1rem;
       border-radius: 6px;
    margin-bottom: 0.5rem;
    border: 1px solid #e2e8f0;
}

.cookie-item strong {
    color: var(--primary-color);
}

.cookie-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Gestione preferenze cookie */
.preferences-section {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin: 2rem 0;
}

.cookie-controls {
    text-align: center;
    margin: 2rem 0;
}

.cookie-categories {
    margin-top: 2rem;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

.category-item h4 {
    margin: 0;
    color: var(--primary-color);
}

.category-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.toggle-switch.disabled .slider {
    background-color: #e2e8f0;
    cursor: not-allowed;
}

/* Istruzioni browser */
.browser-instructions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
       margin: 2rem 0;
}



.browser-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--box-shadow-sm);
}

.browser-item h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.browser-item ol {
    margin-left: 1rem;
}

.browser-item li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Servizi terze parti */
.third-party-service {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: var(--box-shadow-sm);
}

.third-party-service h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* PRELOADER GLOBALE */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-content {
    text-align: center;
    color: white;
}

.preloader-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: pulse 2s infinite;
    margin-bottom: 1rem;
}

.preloader-text {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out;
}

.preloader-subtitle {
    font-size: 1rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 1rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animazione per il pulsante WhatsApp */
@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    }
}

/* EFFETTI HOVER GLOBALI PER IMMAGINI */
img {
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.05);
}

/* Le immagini logo, preloader e footer mantengono i loro effetti specifici già definiti */

/* ===============================
   FAQ ACCORDION STYLES
   =============================== */

.treatment-faq {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.faq-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.faq-header h2:hover {
    color: var(--accent-color);
    transform: scale(1.02);
}

.faq-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 1s ease-out both;
}

.faq-item:nth-child(1) { animation-delay: 0.4s; }
.faq-item:nth-child(2) { animation-delay: 0.5s; }
.faq-item:nth-child(3) { animation-delay: 0.6s; }
.faq-item:nth-child(4) { animation-delay: 0.7s; }
.faq-item:nth-child(5) { animation-delay: 0.8s; }
.faq-item:nth-child(6) { animation-delay: 0.9s; }
.faq-item:nth-child(7) { animation-delay: 1.0s; }
.faq-item:nth-child(8) { animation-delay: 1.1s; }

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: rgba(91, 33, 182, 0.1);
}

.faq-item.active {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(91, 33, 182, 0.02) 0%, rgba(255, 215, 0, 0.02) 100%);
    box-shadow: 0 15px 40px rgba(91, 33, 182, 0.15);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(91, 33, 182, 0.03) 0%, rgba(255, 215, 0, 0.03) 100%);
}

.faq-question h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h4 {
    color: var(--accent-color);
}

.faq-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(91, 33, 182, 0.3);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    transform: rotate(45deg);
}

.faq-answer {
    background: rgba(248, 250, 252, 0.5);
    border-top: 1px solid rgba(0,0,0,0.05);
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    padding: 0 2rem;
}

.faq-answer.open {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* FAQ CTA Section */
.faq-cta {
    text-align: center;
    margin: 4rem auto 0;
    padding: 3rem 2rem;
    max-width: 700px;
    background: linear-gradient(135deg, rgba(91, 33, 182, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-radius: 25px;
    border: 2px dashed rgba(91, 33, 182, 0.2);
    animation: fadeInUp 1s ease-out 1.2s both;
    transition: all 0.3s ease;
}

.faq-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(91, 33, 182, 0.1);
    border-color: var(--accent-color);
}

.faq-cta h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-cta h3:hover {
    color: var(--accent-color);
    transform: scale(1.02);
}

.faq-cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.faq-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: none;
    box-shadow: 0 8px 25px rgba(91, 33, 182, 0.3);
    transition: all 0.3s ease;
    border-radius: 50px;
    min-width: 200px;
}

.faq-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(91, 33, 182, 0.4);
}

/* Responsive FAQ CTA */
@media (max-width: 768px) {
    .faq-cta {
        margin: 3rem auto 0;
        padding: 2rem 1.5rem;
    }
    
    .faq-cta h3 {
        font-size: 1.4rem;
    }
    
    .faq-cta p {
        font-size: 1rem;
    }
    
    .faq-cta .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    /* Studio Info Mobile Layout */
    .studio-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .studio-address {
        order: 1;
        text-align: center;
    }
    
    .studio-map {
        order: 2;
    }
    
    .studio-map iframe {
        height: 250px;
    }
    
    /* Contact Form Mobile */
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .essentials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .essential-card {
        padding: 1.5rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Logo link styles */
.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.02);
    text-decoration: none;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.logo-link:hover .logo-text h1 {
    color: #fbbf24;
}

/* Card contatti completamente cliccabili */
.essential-card.clickable-card {
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 4px 16px rgba(91,33,182,0.08);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    background: white;
}
.essential-card.clickable-card:hover {
    box-shadow: 0 8px 32px rgba(91,33,182,0.18);
    transform: translateY(-4px) scale(1.03);
    background: #f8fafc;
    color: var(--primary-color);
    text-decoration: none;
}
.essential-card.clickable-card .essential-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
    margin-bottom: 0.5rem;
}
.essential-card.clickable-card .essential-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.essential-card.clickable-card .essential-icon {
    font-size: 2.2rem;
    margin-bottom: 0.7rem;
}
