:root {
    /* New Brand-Based Palette (Linen / Bronze) */
    --accent-color: #a67c52; /* Bronze / Tobacco from logo */
    --accent-hover: #8b6542; /* Darker Bronze for hover on light bg */
    --accent-text: #7d5a33;       /* Bronzo scuro: SOLO testi piccoli su fondo chiaro (WCAG AA 4.5:1) */
    --accent-text-hover: #5e4426; /* Hover dei testi piccoli */
    --bg-dark: #faf0e6;      /* Linen - Main Background */
    --bg-card: #ffffff;      /* White Card Background */
    --text-main: #2a2520;    /* Dark Espresso for text */
    --text-muted: #6b5d4d;   /* Muted Sand/Tobacco */
    --text-light: #ffffff;   /* Used for buttons/overlays on dark labels */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(166, 124, 82, 0.25);
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background gradient styling - subtler for light theme */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at 70% 30%, rgba(166, 124, 82, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 40%);
    z-index: -1;
}

/* Top Bar - Language Switcher */
.top-bar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--glass-border);
    padding: 0.5rem 5%;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 1002;
}

.lang-switcher {
    display: flex;
    gap: 1rem;
}

.lang-switcher button {
    background: none;
    border: 1px solid transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.lang-switcher button:hover {
    opacity: 1;
    color: var(--text-main);
}

.lang-switcher button.active {
    opacity: 1;
    color: var(--accent-text);
    background: rgba(166, 124, 82, 0.1);
    border-color: rgba(166, 124, 82, 0.3);
}

.lang-switcher button span {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1001;
}

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

.brand-logo {
    height: 50px;
    width: auto;
    border-radius: 50%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-color);
    font-style: italic;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.nav-btn {
    border: 1px solid var(--accent-color);
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    color: var(--accent-text);
}

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

/* Hero Section */
main {
    display: block;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: calc(100vh - 120px);
    padding: 0 5%;
    padding-top: 120px;
    padding-bottom: 50px;
}

@media (min-width: 993px) {
    main {
        display: grid;
        grid-template-areas: 
            "hero prenota"
            "flotta flotta"
            "gallery gallery"
            "b2b b2b"
            "founder founder"
            "press press"
            "siti-amici siti-amici"
            "faq faq"
            "contatti contatti";
        grid-template-columns: 1fr 500px;
        gap: 0 4rem;
        padding-right: 5%;
    }

    .hero-section { 
        grid-area: hero;
        padding-right: 0;
        padding-top: 40px;
        align-items: flex-start;
        min-height: auto;
    }
    
    .booking-container { 
        grid-area: prenota;
        margin-top: 40px;
        align-self: start;
    }
    
    #flotta { grid-area: flotta; }
    #gallery { grid-area: gallery; }
    #b2b { grid-area: b2b; }
    #founder { grid-area: founder; }
    #faq { grid-area: faq; }
    #press { grid-area: press; }
    #siti-amici { grid-area: siti-amici; }
    #contatti { grid-area: contatti; }
}

@media (max-width: 992px) {
    .booking-container {
        margin: 40px auto;
        padding: 0 5%;
    }
    
    .hero-section {
        min-height: auto;
        padding-top: 100px;
    }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column; /* Stack text and image */
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 300;
}


/* Hero Image Styling */
.hero-image-wrapper {
    width: 100%;
    max-width: 650px; /* Increased for the panoramic shot */
    flex-grow: 1;
    margin: 0;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

/* Glassmorphism Form */
.booking-container {
    width: 100%;
    animation: fadeInLeft 1s ease forwards 0.3s;
    opacity: 0;
    z-index: 10;
}

.glass-form {
    background: #ffffff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 60px -12px rgba(166, 124, 82, 0.15);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.form-row {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

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

label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
}

.required-label::after {
    content: " *";
    color: #e63946;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    background: #fdfbf9;
    border: 1px solid #e2d7cc;
    color: var(--text-main);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    text-align: left;
}

textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 200px;
}

.char-counter {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

input:focus, select:focus {
    border-color: var(--accent-color);
    background: #ffffff;
}

/* Placeholder color fixing for select */
select option {
    background-color: #ffffff;
    color: var(--text-main);
}

/* Customizing Date & Time Picker icons visually */
::-webkit-calendar-picker-indicator {
    filter: none;
    opacity: 0.7;
    cursor: pointer;
}

.form-privacy {
    margin: 1.5rem 0;
    font-size: 0.85rem;
    color: var(--text-main);
    opacity: 0.8;
}

.privacy-label {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.4;
    text-align: left;
}

.privacy-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    cursor: pointer;
    accent-color: var(--text-main);
}

.privacy-link {
    color: var(--accent-text);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.hp-field {
    position: absolute;
    left: -5000px;
}

.submit-btn {
    width: 100%;
    /* WCAG AA: --accent-color con testo crema si fermava a 3,32:1.
       --accent-hover porta il rapporto a 4,62:1 senza uscire dalla palette. */
    background: var(--accent-hover);
    color: var(--bg-dark);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--accent-text); /* 5,52:1 */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(166, 124, 82, 0.25);
}

.submit-btn .arrow {
    transition: transform 0.3s ease;
}

.submit-btn:hover .arrow {
    transform: translateX(5px);
}

.phone-input-group {
    display: flex;
    gap: 0.5rem;
}

.phone-input-group select {
    flex: 0.4;
    min-width: 90px;
}

.phone-input-group input {
    flex: 1;
}

/* Form Group Utility */
.form-group.full-width {
    grid-column: 1 / -1;
}

/* Animations */
@keyframes fadeInUp {
    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);
    }
}

.fleet-section {
    padding: 100px 5% 80px;
    background: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.fleet-category {
    margin-bottom: 80px;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 40px;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    letter-spacing: 0.05em;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}

.fleet-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.fleet-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.car-thumb {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

.car-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.car-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-main);
}

.car-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.tech-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(166, 124, 82, 0.2);
}

.tech-specs span {
    font-size: 0.8rem;
    background: rgba(166, 124, 82, 0.15);
    color: var(--accent-text);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(166, 124, 82, 0.3);
}

/* Responsiveness Revision */
@media (max-width: 1024px) {
    .top-bar {
        padding: 0.5rem 3%;
    }

    .navbar {
        padding: 1rem 3%;
    }

    .hero-section {
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        gap: 60px;
        text-align: center;
        min-height: auto;
    }

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

    .hero-content {
        max-width: 100%;
    }

    .booking-container {
        width: 100%;
        max-width: 650px;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        justify-content: center;
    }

    .logo-container {
        gap: 0.6rem;
    }

    .brand-logo {
        height: 40px;
    }

    .logo {
        font-size: 1.1rem;
    }

    nav {
        display: none;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .glass-form {
        padding: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .fleet-grid {
        grid-template-columns: 1fr;
    }

    .fleet-section {
        padding: 60px 5%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.4rem;
        /* sotto i 24px non conta piu' come "testo grande": serve 4.5:1 (WCAG AA) */
        color: var(--accent-text);
    }
}

/* --- B2B Section --- */
.b2b-section {
    padding: 100px 5%;
    background: transparent;
}

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

.b2b-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
}

.b2b-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.b2b-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.b2b-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.b2b-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* --- Founder Section --- */
.founder-section {
    padding: 100px 5%;
    background: transparent;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.founder-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.founder-img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.founder-image-wrapper:hover .founder-img {
    transform: scale(1.05);
}

.founder-social-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-left: 4px solid var(--accent-color);
}

.founder-name {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.founder-tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-style: italic;
}

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

.founder-highlights {
    background: rgba(166, 124, 82, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--accent-color);
    margin: 2.5rem 0;
}

.founder-highlights h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.founder-highlights ul {
    list-style: none;
}

.founder-highlights li {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.founder-highlights li strong {
    color: var(--accent-text);
    font-size: 1rem;
}

.founder-highlights li span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.founder-quote {
    position: relative;
    padding-left: 3rem;
    margin-top: 3rem;
}

.founder-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.3;
}

.founder-quote p {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-style: italic;
}

.founder-quote cite {
    display: block;
    font-size: 1rem;
    color: var(--accent-text);
    font-weight: 600;
    font-style: normal;
}

@media (max-width: 992px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .founder-name {
        font-size: 2.5rem;
    }
}

/* --- Press Section --- */
.press-section {
    padding: 100px 5%;
    background: transparent;
    border-top: 1px solid var(--glass-border);
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.press-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.press-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.press-badge {
    display: inline-block;
    color: var(--accent-text);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(166, 124, 82, 0.3);
    width: fit-content;
}

.press-news-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.4;
    color: var(--text-main);
    font-weight: 500;
}

.press-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
}

.press-link {
    margin-top: auto;
    color: var(--accent-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.press-link:hover {
    color: var(--accent-text-hover);
    gap: 0.8rem;
}

@media (max-width: 768px) {
    .press-section {
        padding: 60px 5%;
    }
    .press-card {
        padding: 2rem 1.5rem;
    }
}

.friends-section {
    padding: 80px 5% 100px;
    background: transparent;
}

.friends-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.friend-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--text-main);
    border-radius: 12px;
    padding: 15px 15px 10px;
    width: 155px;
    min-height: 110px;
    border: 1px solid var(--accent-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.friend-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: brightness(0.9) grayscale(20%);
    transition: filter 0.4s ease, transform 0.4s ease;
    flex-shrink: 0;
}

.friend-name {
    font-size: 0.72rem;
    color: var(--bg-dark);
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.friend-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: #ffffff;
    background: var(--text-main);
}

.friend-logo:hover img {
    filter: brightness(1) grayscale(0%);
    transform: scale(1.05);
}

.friend-logo:hover .friend-name {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .friends-section {
        padding: 60px 5%;
    }

    .friends-row {
        gap: 12px;
    }

    .friend-logo {
        width: 130px;
        min-height: 95px;
        padding: 12px 10px 8px;
    }

    .friend-logo img {
        max-height: 50px;
    }

    .friend-name {
        font-size: 0.65rem;
    }
}

/* --- FAQ Section --- */
.faq-section {
    padding: 80px 5% 100px;
    background: transparent;
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    margin-bottom: 12px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.faq-item[open] {
    border-color: var(--accent-color);
    background: #ffffff;
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.3s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-item[open] .faq-question {
    color: var(--accent-text);
}

.faq-question:hover {
    color: var(--accent-text);
}

.faq-answer {
    padding: 0 25px 20px;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 5%;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 16px 20px;
    }

    .faq-answer {
        padding: 0 20px 16px;
        font-size: 0.9rem;
    }
}

/* --- Contacts Section --- */
.contacts-section {
    padding: 80px 5% 100px;
    background: transparent;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.contact-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.contact-card:hover {
    border-color: var(--accent-color);
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(166, 124, 82, 0.1);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(196, 164, 105, 0.1);
    border: 1px solid rgba(196, 164, 105, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--accent-color);
}

.contact-card-title {
    font-size: 1.1rem;
    color: var(--accent-text);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contact-detail {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-name {
    color: var(--text-main);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

.contact-link svg {
    flex-shrink: 0;
    color: var(--accent-color);
}

.contact-hours {
    color: var(--accent-text);
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-note {
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.7;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: #ffffff;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.social-link:hover {
    border-color: var(--accent-color);
    color: var(--accent-text);
    background: rgba(196, 164, 105, 0.08);
    transform: scale(1.03);
}

.social-link svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-card {
        padding: 25px 20px;
    }
}

/* --- Lightbox Evoluto --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 11, 9, 0.98);
    backdrop-filter: blur(15px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-image-container {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--accent-color);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2010;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--accent-color);
    color: var(--bg-dark);
}

.lightbox-nav.prev { left: 40px; }
.lightbox-nav.next { right: 40px; }

.lightbox-caption {
    margin-top: 20px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--accent-color);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
    z-index: 2010;
}

.lightbox-close:hover {
    color: #ff4d4d;
    transform: rotate(90deg);
}

/* Indicatore cliccabilità sulle immagini flotta */
.car-thumb {
    cursor: pointer;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.car-thumb:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Responsività Lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }
}

/* --- Gallery Category Row (Nuovo Design) --- */
.gallery-section {
    padding: 100px 5% 80px;
    background: transparent;
}

.category-row {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 40px;
    overflow-x: auto;
    padding-bottom: 20px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.category-row::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.category-card {
    flex: 1;
    min-width: 180px;
    height: 450px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.category-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(42, 37, 32, 0.6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease;
}

.category-card .category-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--accent-color);
    text-align: center;
    padding: 0 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8);
    transition: transform 0.4s ease;
}

.category-card:hover {
    flex: 2; /* Effetto fisarmonica accentuato */
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.category-card:hover img {
    transform: scale(1.15);
}

.category-card:hover .overlay {
    background: rgba(0,0,0,0.3);
}

.category-card:hover .category-name {
    transform: scale(1.2);
}

/* Responsività */
@media (max-width: 1200px) {
    .category-card {
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 5%;
    }

    .category-row {
        gap: 10px;
        padding-bottom: 30px;
    }
    
    .category-card {
        flex: 0 0 calc(50% - 5px);
        min-width: 140px;
        height: 250px;
    }

    .category-card:hover {
        flex: 0 0 calc(50% - 5px);
    }


    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--glass-border);
    padding: 2.5rem 2%;
    margin-top: 4rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    /* la banda occupa sempre tutta la larghezza dello schermo,
       qualunque sia il contenitore in cui si trova */
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    clear: both;
}
/* neutralizza eventuali contenitori a larghezza limitata dentro al footer */
.site-footer > .container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.footer-divider {
    color: var(--glass-border);
    user-select: none;
}

.footer-links a {
    color: var(--accent-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-text-hover);
    text-decoration: underline;
}

/* ==========================================================================
   Cookie Banner (GDPR)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 850px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(42, 37, 32, 0.18);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    z-index: 10000;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.show {
    bottom: 25px;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-text-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-icon {
    font-size: 2rem;
    line-height: 1;
}

.cookie-banner h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 0.3rem;
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

/* Cookie Buttons */
.cookie-btn {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.cookie-btn-primary {
    /* WCAG AA: bianco su --accent-color era 3,73:1; su --accent-hover e' 5,20:1 */
    background: var(--accent-hover);
    color: #ffffff;
    border-color: var(--accent-hover);
}

.cookie-btn-primary:hover {
    background: var(--accent-text);
    border-color: var(--accent-text);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(166, 124, 82, 0.3);
}

.cookie-btn-secondary {
    background: rgba(166, 124, 82, 0.1);
    color: var(--text-main);
    border-color: var(--glass-border);
}

.cookie-btn-secondary:hover {
    background: rgba(166, 124, 82, 0.18);
    color: var(--accent-text);
}

.cookie-btn-link {
    background: transparent;
    color: var(--accent-text);
    text-decoration: underline;
    padding: 0.5rem 0.6rem;
}

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

/* ==========================================================================
   Cookie Preferences Modal
   ========================================================================== */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cookie-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 37, 32, 0.6);
    backdrop-filter: blur(4px);
}

.cookie-modal-dialog {
    position: relative;
    width: 90%;
    max-width: 580px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    padding: 1.75rem;
    z-index: 2;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(166, 124, 82, 0.15);
}

.cookie-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text-main);
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.cookie-modal-close:hover {
    color: var(--text-main);
}

.cookie-modal-body {
    padding: 1.25rem 0;
    overflow-y: auto;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-category {
    background: var(--bg-dark);
    border: 1px solid rgba(166, 124, 82, 0.2);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-top: 1rem;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-category-header strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.cookie-category-header p {
    font-size: 0.82rem;
    margin: 0;
}

.cookie-category input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-color);
    cursor: pointer;
}

.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(166, 124, 82, 0.15);
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .site-footer {
        padding: 2rem 4%;
    }
}


