/* ===============================================
   MERLINO AUTO - STYLESHEET
   Version: 1.1 - Added Gallery Styles
   Author: Merlino Auto Development
   =============================================== */

/* ===============================================
   1. CSS VARIABLES & RESET
   =============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colori Principali - Palette Automotive */
    --primary: #424242;
    --primary-dark: #23284b;
    --primary-light: #c0c0c0;
    --secondary: #555555;
    --secondary-dark: #ffffff;
    
    /* Colori Neutri - Toni di Grigio */
    --dark: #6d6d6d;
    --gray: #6c757d;
    --light-gray: #ffffff;
    --white: #ffffff;
    --bg-primary: #d8d8d8;
    --bg-secondary: linear-gradient(135deg, #d6d6d6 0%, #c3cfe2 100%);
    --bg-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    
    /* Ombre */
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.2);
    
    /* Transizioni */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
}

/* ===============================================
   2. BASE STYLES
   =============================================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===============================================
   3. HEADER & NAVIGATION
   =============================================== */
header {
    background: rgba(255, 255, 255, 0.692) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: var(--shadow) !important;
    position: fixed !important;
    width: 100% !important;
    top: 0 !important;
    z-index: 1000 !important;
    transition: var(--transition) !important;    
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 5%;
    max-width: 1500px;
    margin: 0 auto;
}

.logo {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo svg {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.cta-button {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: var(--transition) !important;
    white-space: nowrap !important;
    min-width: fit-content !important;
    white-space: nowrap !important;
}

.cta-button::after {
    display: none !important;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: calc(100vh - 70px);
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
    padding: var(--spacing-lg);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: var(--spacing-sm) 0;
    color: var(--dark);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--light-gray);
}

.mobile-menu a:hover {
    color: var(--primary);
    padding-left: 10px;
}

/* ===============================================
   4. SECTIONS
   =============================================== */
.section {
    display: none;
    min-height: 100vh;
}

.section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.page-section {
    margin-top: 75px !important;
    padding-top: 30px !important;
    padding-bottom: var(--spacing-xxl);
}

/* ===============================================
   5. HERO SECTION
   =============================================== */
.hero {
    margin-top: 75px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 60%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><path d="M0,300 Q200,100 400,300 T800,300 L800,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 0.8s ease;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-image {
    animation: fadeInRight 0.8s ease;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-image-placeholder {
    background: linear-gradient(135deg, rgba(26,115,232,0.1), rgba(26,115,232,0.3));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ===============================================
   6. STATS SECTION
   =============================================== */
.stats {
    background: var(--white);
    padding: 4rem 5%;
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-sm);
    transition: var(--transition);
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-size: 1.1rem;
}

/* ===============================================
   7. SERVICES SECTION
   =============================================== */
.services {
    padding: var(--spacing-xxl) 5%;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotate(-5deg) scale(1.1);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===============================================
   8. GALLERY SECTIONS
   =============================================== */
.gallery-preview, .gallery-section {
    padding: var(--spacing-xxl) 5%;
    background: var(--white);
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: var(--spacing-md);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-caption h4 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.gallery-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ===============================================
   9. ABOUT SECTION
   =============================================== */
.about {
    padding: var(--spacing-xxl) 5%;
    background: var(--white);
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.about-text h3 {
    color: var(--primary);
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.about-text p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.about-text ul {
    list-style: none;
    padding-left: 0;
    margin: var(--spacing-sm) 0;
}

.about-text ul li {
    padding: var(--spacing-xs) 0;
    color: var(--gray);
    position: relative;
    padding-left: 25px;
}

.about-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin: var(--spacing-lg) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
}

.timeline-item {
    position: relative;
    padding: var(--spacing-sm) 0;
    margin-bottom: var(--spacing-sm);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 1.5rem;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--primary-light);
}

.timeline-year {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.1rem;
    display: block;
    margin-bottom: var(--spacing-xs);
}

/* Team Photos */
.team-photos {
    display: grid;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.team-photo {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.team-photo img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.team-photo:hover {
    transform: scale(1.02);
}

.team-photo:hover img {
    transform: scale(1.05);
}

/* Certifications */
.certifications-showcase {
    background: var(--light-gray);
    padding: var(--spacing-lg);
    border-radius: 15px;
}

.certifications-showcase h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.cert-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: var(--spacing-lg) 0;
    flex-wrap: wrap;
}

.cert-badge {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.cert-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cert-badge img {
    width: 80px;
    height: auto;
    margin-bottom: var(--spacing-sm);
}

.cert-badge h4 {
    color: var(--primary);
    margin-top: var(--spacing-sm);
}

.cert-badge p {
    color: var(--gray);
    margin: 0;
}

.partner-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.partner-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--gray);
}

.partner-list i {
    color: var(--secondary);
}

/* Facility Images */
.facility-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.facility-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* ===============================================
   10. CONTACT SECTION - MODERN DESIGN
   =============================================== */
.contact-modern {
    padding: var(--spacing-xxl) 5%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-modern-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-modern {
    padding: 2rem 0;
}

.contact-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
}

.contact-header h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.contact-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

.contact-features {
    margin-bottom: var(--spacing-xl);
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.contact-feature i {
    color: var(--primary-light);
    font-size: 1.2rem;
    width: 20px;
}

.contact-feature span {
    font-weight: 500;
}

.contact-info-details {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: 15px;
    border-left: 4px solid var(--primary-light);
}

.contact-info-details h3 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.contact-info-details > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.contact-detail-item {
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-detail-item strong {
    color: var(--white);
}

.contact-detail-item a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.contact-detail-item a:hover {
    color: var(--white);
}

/* Form Styles */
.contact-form-container {
    margin-top: 45px !important;
    background: var(--white);
    padding: 2.8rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.contact-form-modern {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: #f8f9fa;
    color: var(--dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(66, 66, 66, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary);
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
    cursor: pointer;
}

.link-primary {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.link-primary:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-btn i {
    font-size: 1rem;
}

/* Form Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    background: #fff5f5;
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    min-width: 300px;
    max-width: 400px;
}

.notification-success {
    background: #28a745;
    color: white;
}

.notification-error {
    background: #dc3545;
    color: white;
}

.notification-info {
    background: var(--primary);
    color: white;
}

/* Animation for notifications */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Old Contact Section - Keep for compatibility */
.contact {
    padding: var(--spacing-xxl) 5%;
    background: var(--dark);
    color: var(--white);
}

.contact-container {
    padding-top: 20px !important;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 30px;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-cta {
    margin-top: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.contact-cta .btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.contact-cta .btn-primary:hover {
    background: var(--secondary-dark);
}

.contact-cta .btn-secondary {
    border-color: var(--primary);
    color: var(--white);
}

.contact-cta .btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.map-container {
    background: var(--white);
    padding: var(--spacing-sm);
    border-radius: 15px;
    height: 400px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* ===============================================
   RESPONSIVE DESIGN - CONTACT SECTION
   =============================================== */

/* Tablet */
@media (max-width: 1024px) {
    .contact-modern-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-container {
        padding: 2rem;
    }
}

/* Mobile Large */
@media (max-width: 870px) {
    .contact-modern-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-header h2 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .contact-form-container {
        padding: 1.5rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .contact-modern {
        padding: var(--spacing-lg) 5%;
    }

    .contact-header h2 {
        font-size: 1.75rem;
    }

    .contact-header p {
        font-size: 1rem;
    }

    .contact-info-details {
        padding: var(--spacing-md);
    }

    .contact-form-container {
        padding: 1.25rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

/* ===============================================
   11. FOOTER
   =============================================== */
footer {
    background: var(--dark);
    color: var(--white);
    padding: var(--spacing-xl) 5% var(--spacing-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xs);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: var(--spacing-xs) 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
    color: var(--primary);
}

.footer-designed-by {
    margin-top: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.mario-tech-logo {
    height: 13px;
    width: auto;
    vertical-align: middle;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-designed-by a:hover .mario-tech-logo {
    opacity: 1;
}

/* ===============================================
   12. ANIMATIONS
   =============================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ===============================================
   13. RESPONSIVE DESIGN
   =============================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 870px) {
    /* Navigation */
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Stats */
    .stats-container {
        grid-template-columns: 1fr 1fr;
        padding: var(--spacing-lg);
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* About */
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    /* Stats */
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    /* Buttons */
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Contact */
    .contact-cta {
        flex-direction: column;
    }
    
    .contact-cta a {
        width: 100%;
        text-align: center;
    }

    /* Certifications */
    .cert-badges {
        flex-direction: column;
    }

    /* Gallery */
    .gallery-item img {
        height: 200px;
    }
}

/* ===============================================
   14. UTILITIES
   =============================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.pt-1 { padding-top: var(--spacing-sm); }
.pt-2 { padding-top: var(--spacing-md); }
.pt-3 { padding-top: var(--spacing-lg); }

.pb-1 { padding-bottom: var(--spacing-sm); }
.pb-2 { padding-bottom: var(--spacing-md); }
.pb-3 { padding-bottom: var(--spacing-lg); }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Colors */
::selection {
    background: var(--primary);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary);
    color: var(--white);
}

/* ===============================================
   15. ADDITIONAL MODERN TOUCHES
   =============================================== */
.service-card, .gallery-item, .cert-badge {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.stats-container {
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.98);
}

/* ===============================================
   16. COOKIE BANNER
   =============================================== */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% + 3rem));
    z-index: 9998;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    opacity: 0;
    max-width: 1200px;
    width: calc(100% - 3rem);
    border-radius: 14px;
    max-height: 85vh;
    overflow-y: auto;
}

.cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-banner-inner {
    padding: 1.5rem;
}

.cookie-banner-main {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 260px;
}

.cookie-banner-text h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-banner-text p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: var(--primary-light);
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #fff;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    flex-shrink: 0;
}

/* Cookie Buttons */
.cookie-btn {
    padding: 0.55rem 1.2rem;
    border: none;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    font-family: inherit;
}

.cookie-btn:focus-visible {
    outline: 3px solid rgba(255,255,255,0.6);
    outline-offset: 2px;
}

.cookie-btn-accept {
    background: var(--primary);
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #555;
    transform: translateY(-1px);
}

.cookie-btn-essential {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.cookie-btn-essential:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255,255,255,0.8);
}

.cookie-btn-manage {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    border: 1.5px solid transparent;
    font-size: 0.82rem;
    padding: 0.5rem 0.9rem;
}

.cookie-btn-manage:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

/* Preferences Panel */
.cookie-pref-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin: 1rem 0;
}

.cookie-preferences-panel {
    padding-bottom: 0.5rem;
}

.cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-info strong {
    display: block;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.cookie-category-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.4;
}

/* Toggle Switch */
.cookie-toggle-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    flex-shrink: 0;
    user-select: none;
}

.cookie-toggle-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-track {
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
    transition: background 0.25s;
    display: inline-block;
    flex-shrink: 0;
}

.cookie-toggle-track::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.25s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.cookie-toggle-label input:checked + .cookie-toggle-track {
    background: #5a9e6f;
}

.cookie-toggle-label input:checked + .cookie-toggle-track::after {
    transform: translateX(20px);
}

.cookie-toggle-label input:disabled + .cookie-toggle-track {
    background: rgba(90, 158, 111, 0.5);
    cursor: not-allowed;
}

.cookie-toggle-label input:disabled ~ .cookie-toggle-state {
    color: rgba(255,255,255,0.5);
}

.cookie-toggle-state {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    min-width: 50px;
}

.cookie-toggle-label input:checked ~ .cookie-toggle-state::before {
    content: 'Attivo';
    color: #8ecfa2;
}

.cookie-toggle-label input:not(:checked):not(:disabled) ~ .cookie-toggle-state::before {
    content: 'Inattivo';
}

.cookie-pref-save {
    padding-top: 1rem;
    text-align: right;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 0.75rem;
        width: calc(100% - 1.5rem);
        border-radius: 12px;
    }

    .cookie-banner-inner {
        padding: 1.25rem;
    }

    .cookie-banner-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cookie-banner-actions {
        width: 100%;
        flex-wrap: nowrap;
    }

    .cookie-btn-accept,
    .cookie-btn-essential {
        flex: 1;
        justify-content: center;
    }

    .cookie-btn-manage {
        width: 100%;
        justify-content: center;
    }

    .cookie-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .cookie-pref-save {
        text-align: center;
    }

    .cookie-pref-save .cookie-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===============================================
   17. PRIVACY PAGE
   =============================================== */
.privacy-page body,
body.privacy-page {
    background-color: #f5f5f5;
}

/* Hero */
.privacy-hero {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 3.5rem 5%;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><path d="M0,200 Q200,50 400,200 T800,200 L800,400 L0,400 Z" fill="rgba(255,255,255,0.04)"/></svg>') no-repeat bottom;
    background-size: cover;
}

.privacy-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.privacy-hero-icon {
    font-size: 3rem;
    opacity: 0.85;
    margin-bottom: 0.75rem;
    display: block;
}

.privacy-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.privacy-hero p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.privacy-update-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Main layout */
.privacy-main {
    padding: 2.5rem 5% 4rem;
    background-color: #f5f5f5;
}

.privacy-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Offset per evitare che i link dell'indice finiscano sotto l'header fisso */
.privacy-article[id] {
    scroll-margin-top: 100px;
}

/* TOC */
.privacy-toc {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow);
}

.privacy-toc h2 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.privacy-toc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.privacy-toc h3 {
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--primary);
}

.privacy-toc ol {
    list-style: decimal;
    padding-left: 1.2rem;
    margin: 0;
}

.privacy-toc ol li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.privacy-toc ol li a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s;
}

.privacy-toc ol li a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Sections */
.privacy-section {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    box-shadow: var(--shadow);
}

.privacy-section-title-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.75rem;
    border-bottom: 3px solid var(--primary);
}

.privacy-section-title-bar i {
    font-size: 1.5rem;
    color: var(--primary);
}

.privacy-section-title-bar h2 {
    font-size: 1.6rem;
    color: var(--primary);
    margin: 0;
}

.privacy-section-subtitle {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
    margin-bottom: 1.5rem;
    margin-top: -1rem;
}

/* Articles */
.privacy-article {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.privacy-article:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.privacy-article h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-left: 0.75rem;
    border-left: 4px solid var(--primary);
}

.privacy-article p {
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.privacy-article a {
    color: var(--primary);
    text-decoration: underline;
}

.privacy-article a:hover {
    color: var(--primary-dark);
}

.privacy-subsection {
    margin: 1.25rem 0;
    padding-left: 1rem;
}

.privacy-subsection h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

/* Info boxes */
.privacy-infobox {
    background: #f8f9fa;
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
}

.privacy-infobox p {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    color: var(--dark);
}

.privacy-infobox p:last-child {
    margin-bottom: 0;
}

.privacy-infobox-light {
    background: #fffbf0;
    border-left-color: #e0a020;
}

.da-compilare {
    color: #cc6600;
    font-style: normal;
    font-weight: 600;
    background: #fff3e0;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

/* Lists */
.privacy-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
}

.privacy-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.35rem 0;
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.privacy-list li i.fa-circle {
    font-size: 0.45rem;
    margin-top: 0.55rem;
    color: var(--primary);
    flex-shrink: 0;
}

.privacy-list li i.fa-clock {
    font-size: 0.85rem;
    margin-top: 0.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.privacy-list-spaced li {
    padding: 0.5rem 0;
}

.privacy-warning {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    border-radius: 0 6px 6px 0;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #856404 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0 !important;
}

/* Tables */
.privacy-table-wrapper {
    overflow-x: auto;
    margin: 1rem 0;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 550px;
}

.privacy-table thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.privacy-table th {
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.privacy-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: var(--dark);
    vertical-align: top;
    line-height: 1.5;
}

.privacy-table td small {
    display: block;
    color: var(--gray);
    font-size: 0.78rem;
    margin-top: 0.2rem;
}

.privacy-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.privacy-table tbody tr:hover {
    background: #f0f4ff;
}

/* Cookie category badges */
.cookie-cat {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.cookie-cat-technical {
    background: #e8f4fd;
    color: #1a6fa8;
}

.cookie-cat-analytics {
    background: #fef3e2;
    color: #b06b00;
}

.cookie-cat-functional {
    background: #f0faf0;
    color: #2e7d32;
}

/* Rights grid */
.privacy-rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.privacy-right-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    transition: var(--transition);
}

.privacy-right-item:hover {
    background: #eef2ff;
    transform: translateY(-2px);
}

.privacy-right-item > i {
    font-size: 1.1rem;
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 20px;
}

.privacy-right-item strong {
    display: block;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.privacy-right-item p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.4;
}

/* Legal note */
.privacy-legal-note {
    display: flex;
    gap: 0.75rem;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 1.25rem;
    margin-top: 2rem;
    border: 1px solid #e0e0e0;
}

.privacy-legal-note > i {
    color: var(--gray);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.privacy-legal-note p {
    font-size: 0.82rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
    font-style: italic;
}

/* CTA */
.privacy-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.privacy-cta .btn-primary {
    background: var(--primary);
    color: var(--white);
}

.privacy-cta .btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.privacy-cta .btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .privacy-toc-grid {
        grid-template-columns: 1fr;
    }

    .privacy-section {
        padding: 1.5rem;
    }

    .privacy-hero h1 {
        font-size: 1.75rem;
    }

    .privacy-rights-grid {
        grid-template-columns: 1fr;
    }

    .privacy-cta {
        flex-direction: column;
    }

    .privacy-cta a {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .privacy-hero {
        padding: 2.5rem 5%;
    }

    .privacy-main {
        padding: 1.5rem 4% 3rem;
    }

    .privacy-hero-icon {
        font-size: 2.25rem;
    }
}