/* ============================================
   CAR AUTO VICALE - TEMA WORDPRESS
   Design System IVECO Web Identity
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* IVECO Blue Energy */
    --primary: #1554FF;
    --primary-hover: #1040CC;
    --primary-foreground: #FFFFFF;
    
    --background: #FFFFFF;
    --foreground: #000000;
    
    --neutral-50: #FAFAFA;
    --neutral-100: #F5F5F5;
    --neutral-200: #E5E5E5;
    --neutral-300: #D4D4D4;
    --neutral-400: #A3A3A3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --neutral-950: #0A0A0A;
    
    --amber-400: #FBBF24;
    --red-500: #EF4444;
    --red-600: #DC2626;
    --blue-100: #DBEAFE;
    
    /* Font */
    --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-headline: 'Roboto', 'Arial', sans-serif;
    
    /* Transitions */
    --ease-snappy: cubic-bezier(0.23, 1, 0.32, 1);
    --transition-snappy: all 180ms var(--ease-snappy);
    --top-bar-height: 36px;
    --sticky-header-height: 74px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--top-bar-height) + var(--sticky-header-height));
}

@media (min-width: 768px) {
    html {
        scroll-padding-top: calc(var(--top-bar-height) + var(--sticky-header-height));
    }
}

body {
    font-family: var(--font-sans);
    color: var(--foreground);
    background: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: calc(var(--top-bar-height) + var(--sticky-header-height));
}

@media (min-width: 768px) {
    body {
        padding-top: calc(var(--top-bar-height) + var(--sticky-header-height));
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headline);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-snappy);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, a[href], select, input[type="checkbox"], input[type="radio"] {
    cursor: pointer;
}

::selection {
    background: var(--primary);
    color: white;
}

/* === CONTAINER === */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1.25rem 2rem;
    border: 2px solid transparent;
    transition: var(--transition-snappy);
    text-decoration: none;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.97);
}

.btn--primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn--primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn--black {
    background: #000;
    color: white;
    border-color: #000;
}

.btn--black:hover {
    background: var(--neutral-900);
}

.btn--outline-white {
    background: transparent;
    color: white;
    border-color: white;
}

.btn--outline-white:hover {
    background: white;
    color: black;
}

.btn--outline-black {
    background: transparent;
    color: black;
    border-color: black;
}

.btn--outline-black:hover {
    background: black;
    color: white;
}

.btn--full {
    width: 100%;
}

/* === TOP BAR === */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 70;
    background: #000;
    color: white;
    font-size: 0.75rem;
    border-bottom: 1px solid var(--neutral-800);
    padding: 0.5rem 0;
    display: block;
    height: var(--top-bar-height);
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .top-bar {
        display: block;
    }
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 767px) {
    .top-bar .container {
        height: 100%;
        justify-content: center;
    }

    .top-bar__left {
        width: 100%;
        justify-content: space-around;
        gap: 0.5rem;
    }

    .top-bar__left .top-bar__item:first-child,
    .top-bar__right {
        display: none;
    }

    .top-bar__item {
        white-space: nowrap;
        font-size: 0.68rem;
    }
}

.top-bar__left,
.top-bar__right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.top-bar__item:hover {
    color: var(--primary);
}

.top-bar__item--muted {
    color: var(--neutral-400);
}

.top-bar__item i,
.top-bar__item svg {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.top-bar__item--muted i,
.top-bar__item--muted svg {
    color: inherit;
}

@media (max-width: 767px) {
    .top-bar__left {
        gap: 0.5rem;
    }

    .top-bar__left .top-bar__item:first-child,
    .top-bar__right {
        display: none;
    }

    .top-bar__item {
        font-size: 0.68rem;
    }
}

/* === MAIN HEADER === */
.main-header {
    position: fixed;
    top: var(--top-bar-height);
    left: 0;
    right: 0;
    z-index: 60;
    background: white;
    border-bottom: 1px solid var(--neutral-200);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .main-header {
        top: var(--top-bar-height);
    }
}

.main-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 73px;
}

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

.main-header__logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
}

.main-header__brand-logo {
    display: block;
    width: auto;
    height: 28px;
    max-width: 100%;
    object-fit: contain;
}

@media (min-width: 768px) {
    .main-header__brand-logo {
        height: 34px;
    }
}

.main-header__logo {
    height: 32px;
    width: auto;
}

.main-header__logo--mobile {
    display: block;
}

.main-header__logo--desktop {
    display: none;
}

@media (min-width: 640px) {
    .main-header__logo--mobile {
        display: none;
    }
    .main-header__logo--desktop {
        display: block;
    }
}

.main-header__divider {
    width: 1px;
    height: 2rem;
    background: var(--neutral-200);
    display: none;
}

@media (min-width: 640px) {
    .main-header__divider {
        display: block;
    }
}

.main-header__iveco-badge {
    background: black;
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--font-headline);
    display: none;
}

@media (min-width: 640px) {
    .main-header__iveco-badge {
        display: block;
    }
}

/* Desktop Nav */
.main-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
    }
}

.main-nav__link {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    color: var(--foreground);
}

.main-nav__link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.main-nav__cta {
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 1.5rem;
}

.main-nav__cta:hover {
    background: var(--primary-hover);
}

/* Mobile Toggle */
.mobile-toggle {
    display: block;
    padding: 0.5rem;
    background: none;
    border: none;
    color: black;
}

.mobile-toggle:hover {
    color: var(--primary);
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-toggle i,
.mobile-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-top: 1px solid var(--neutral-200);
}

.mobile-nav.active {
    display: flex;
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }
}

.mobile-nav__link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--neutral-100);
}

.mobile-nav__link:hover {
    color: var(--primary);
}

.mobile-nav__cta {
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1.25rem;
    text-align: center;
}

/* === HERO SLIDER === */
.hero-slider {
    position: relative;
    height: 500px;
    background: black;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-slider {
        height: 650px;
    }
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide--active {
    opacity: 1;
    z-index: 10;
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0.7), transparent);
    z-index: 10;
}

.hero-slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
}

.hero-slide__content {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
}

.hero-slide__text {
    max-width: 640px;
    color: white;
}

.hero-slide__badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    padding: 0.375rem 0.75rem;
    text-transform: uppercase;
    font-family: var(--font-headline);
    margin-bottom: 1.5rem;
}

.hero-slide__title {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
    font-family: var(--font-headline);
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-slide__title {
        font-size: 3.75rem;
    }
}

.hero-slide__subtitle {
    font-size: 1.125rem;
    color: var(--neutral-300);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-slide__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-slide__actions {
        flex-direction: row;
    }
}

/* Slider Controls */
.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    background: rgba(0,0,0,0.5);
    color: white;
    border: 1px solid var(--neutral-800);
    padding: 0.75rem;
    transition: var(--transition-snappy);
}

.hero-slider__arrow:hover {
    background: var(--primary);
}

.hero-slider__arrow--prev {
    left: 1rem;
}

.hero-slider__arrow--next {
    right: 1rem;
}

.hero-slider__arrow i,
.hero-slider__arrow svg {
    width: 24px;
    height: 24px;
}

.hero-slider__indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    gap: 0.75rem;
}

.hero-slider__dot {
    height: 4px;
    width: 1.5rem;
    background: rgba(255,255,255,0.4);
    border: none;
    transition: all 300ms ease;
}

.hero-slider__dot--active {
    width: 3rem;
    background: var(--primary);
}

/* === SECTIONS === */
.section {
    padding: 5rem 0;
}

.section--white {
    background: white;
}

.section--light {
    background: var(--neutral-50);
}

.section--dark {
    background: var(--neutral-950);
    color: white;
}

.section--dark-alt {
    background: var(--neutral-900);
    color: white;
}

.section--border-top {
    border-top: 1px solid var(--neutral-100);
}

/* Section Headers */
.section-header {
    margin-bottom: 4rem;
}

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

.section-header__eyebrow {
    display: block;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-header__title {
    font-size: 1.875rem;
    font-weight: 900;
    color: black;
    font-family: var(--font-headline);
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .section-header__title {
        font-size: 3rem;
    }
}

.section-header__title--white {
    color: white;
}

.section-header__line {
    height: 4px;
    width: 5rem;
    background: var(--primary);
}

.section-header__line--center {
    margin-left: auto;
    margin-right: auto;
}

.section-header__desc {
    color: var(--neutral-600);
    font-weight: 300;
    max-width: 640px;
    margin: 1rem auto 0;
}

/* === STORIA === */
.storia-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .storia-grid {
        grid-template-columns: 7fr 5fr;
    }
}

.storia-text__body {
    color: var(--neutral-700);
    line-height: 1.7;
    font-weight: 300;
}

.storia-text__body p {
    margin-bottom: 1.5rem;
}

.storia-text__body strong {
    font-weight: 700;
}

.storia-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--neutral-100);
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .storia-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.storia-stats__number {
    display: block;
    font-size: 1.875rem;
    font-weight: 900;
    font-family: var(--font-headline);
    color: black;
}

@media (min-width: 768px) {
    .storia-stats__number {
        font-size: 2.25rem;
    }
}

.storia-stats__number--primary {
    color: var(--primary);
}

.storia-stats__label {
    font-size: 0.75rem;
    color: var(--neutral-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* Storia Side */
.storia-side__image-wrapper {
    position: relative;
}

.storia-side__image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border: 4px solid black;
}

.storia-side__badge {
    display: none;
}

.storia-side__badge-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
}

.storia-side__badge-bar i,
.storia-side__badge-bar svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.storia-side__badge-title {
    display: block;
    font-family: var(--font-headline);
    font-weight: 900;
    font-size: 1.125rem;
    line-height: 1.2;
}

.storia-side__badge-sub {
    font-size: 0.75rem;
    color: var(--blue-100);
}

.storia-certs {
    background: var(--neutral-50);
    padding: 1.5rem;
    border: 1px solid var(--neutral-100);
    margin-top: 2rem;
}

.storia-certs__title {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: black;
    margin-bottom: 1rem;
}

.storia-certs__list {
    list-style: none;
}

.storia-certs__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--neutral-700);
    margin-bottom: 0.75rem;
}

.storia-certs__list li i,
.storia-certs__list li svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* === SERVIZI === */
.servizi-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .servizi-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.servizi-header__desc {
    max-width: 28rem;
    color: var(--neutral-400);
    font-weight: 300;
    font-size: 0.875rem;
}

.servizi-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .servizi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .servizi-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Service Card */
.service-card {
    background: var(--neutral-900);
    border: 1px solid var(--neutral-800);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-snappy);
}

.service-card:hover {
    border-color: var(--primary);
}

.service-card__image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.service-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 10;
    transition: var(--transition-snappy);
}

.service-card:hover .service-card__overlay {
    background: transparent;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.service-card:hover .service-card__image img {
    transform: scale(1.05);
}

.service-card__number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: black;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 0.25rem 0.625rem;
    z-index: 20;
    font-family: var(--font-headline);
}

.service-card__body {
    padding: 1.5rem;
    flex-grow: 1;
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-headline);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: var(--transition-snappy);
}

.service-card:hover .service-card__title {
    color: var(--primary);
}

.service-card__desc {
    font-size: 0.875rem;
    color: var(--neutral-400);
    font-weight: 300;
    line-height: 1.6;
}

.service-card__action {
    padding: 0 1.5rem 1.5rem;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
}

.service-card__link:hover {
    color: white;
}

.service-card__link i,
.service-card__link svg {
    width: 14px;
    height: 14px;
}

/* Soccorso Banner */
.soccorso-banner {
    margin-top: 4rem;
    background: var(--primary);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .soccorso-banner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.soccorso-banner__left {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.soccorso-banner__icon {
    background: white;
    color: var(--primary);
    padding: 1rem;
    display: none;
}

@media (min-width: 640px) {
    .soccorso-banner__icon {
        display: block;
    }
}

.soccorso-banner__icon i,
.soccorso-banner__icon svg {
    width: 32px;
    height: 32px;
}

.soccorso-banner__title {
    font-size: 1.25rem;
    font-weight: 900;
    font-family: var(--font-headline);
    color: white;
}

.soccorso-banner__desc {
    font-size: 0.875rem;
    color: var(--blue-100);
    font-weight: 300;
}

.soccorso-banner__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 640px) {
    .soccorso-banner__actions {
        flex-direction: row;
        width: auto;
    }
}

/* === RECENSIONI === */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.review-card {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-100);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card__stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star-filled {
    width: 16px;
    height: 16px;
    color: var(--amber-400);
    fill: var(--amber-400);
}

.review-card__text {
    font-size: 0.875rem;
    color: var(--neutral-700);
    font-style: italic;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.review-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(229,229,229,0.6);
}

.review-card__author {
    display: block;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.875rem;
    color: black;
}

.review-card__time {
    font-size: 0.75rem;
    color: var(--neutral-400);
}

.review-card__source {
    font-size: 0.75rem;
    color: var(--neutral-400);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.reviews-cta {
    text-align: center;
    margin-top: 3rem;
}

/* === BOOKING === */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .booking-grid {
        grid-template-columns: 5fr 7fr;
    }
}

.booking-info__desc {
    color: var(--neutral-400);
    font-weight: 300;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.booking-contacts {
    padding-top: 1.5rem;
    border-top: 1px solid var(--neutral-800);
}

.booking-contacts__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.booking-contacts__icon {
    background: var(--neutral-800);
    padding: 0.75rem;
    color: var(--primary);
}

.booking-contacts__icon i,
.booking-contacts__icon svg {
    width: 20px;
    height: 20px;
}

.booking-contacts__label {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--neutral-300);
    margin-bottom: 0.25rem;
}

.booking-contacts__value {
    font-size: 0.875rem;
    color: var(--neutral-400);
}

a.booking-contacts__value:hover {
    color: var(--primary);
}

/* Booking Form */
.booking-form-wrapper {
    background: black;
    padding: 2rem;
    border: 1px solid var(--neutral-800);
}

@media (min-width: 768px) {
    .booking-form-wrapper {
        padding: 2.5rem;
    }
}

.booking-form__title {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-headline);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.booking-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .booking-form__row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.booking-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.booking-form__field--full {
    margin-bottom: 1.5rem;
}

.booking-form__field label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--neutral-400);
}

.booking-form__field input,
.booking-form__field select,
.booking-form__field textarea {
    width: 100%;
    background: var(--neutral-900);
    border: 1px solid var(--neutral-800);
    color: white;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-family: var(--font-sans);
    transition: var(--transition-snappy);
    outline: none;
}

.booking-form__field input,
.booking-form__field select {
    height: 3rem;
}

.booking-form__field textarea {
    min-height: 120px;
    resize: vertical;
}

.booking-form__field input:focus,
.booking-form__field select:focus,
.booking-form__field textarea:focus {
    border-color: var(--primary);
}

.booking-form__field input::placeholder,
.booking-form__field textarea::placeholder {
    color: var(--neutral-600);
}

.booking-form__message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.booking-form__message--success {
    background: rgba(34,197,94,0.1);
    color: #22c55e;
    border: 1px solid rgba(34,197,94,0.3);
}

.booking-form__message--error {
    background: rgba(239,68,68,0.1);
    color: #ef4444;
    border: 1px solid rgba(239,68,68,0.3);
}

/* === DOVE SIAMO / MAP === */
.map-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .map-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.map-container {
    border: 4px solid black;
    overflow: hidden;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
}

@media (min-width: 1024px) {
    .map-container iframe {
        height: 450px;
    }
}

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

.map-info__card {
    background: white;
    border: 1px solid var(--neutral-200);
    padding: 1.5rem;
}

.map-info__title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: black;
    margin-bottom: 1rem;
}

.map-info__items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-info__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.map-info__item i,
.map-info__item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.map-info__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--neutral-500);
}

.map-info__value {
    font-size: 0.875rem;
    color: var(--neutral-700);
}

/* === FOOTER === */
.site-footer {
    background: black;
    color: white;
    border-top: 1px solid var(--neutral-900);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 4fr 3fr 5fr;
    }
}

.footer-brand__logo {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: white;
    font-family: var(--font-headline);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.footer-brand__tagline {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--neutral-400);
    text-transform: uppercase;
    font-weight: 500;
}

.footer-brand__desc {
    font-size: 0.875rem;
    color: var(--neutral-400);
    font-weight: 300;
    line-height: 1.6;
    margin-top: 1.5rem;
}

.footer-piva {
    background: var(--neutral-900);
    padding: 1rem;
    border: 1px solid var(--neutral-800);
    display: inline-block;
    margin-top: 1.5rem;
}

.footer-piva__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    margin-bottom: 0.25rem;
}

.footer-piva__value {
    font-size: 0.875rem;
    color: var(--neutral-400);
}

.footer-col__title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--neutral-200);
    border-bottom: 1px solid var(--neutral-800);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    font-size: 0.875rem;
    color: var(--neutral-400);
    font-weight: 300;
}

.footer-nav a:hover {
    color: var(--primary);
}

/* Footer Hours */
.footer-hours__row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--neutral-400);
    font-weight: 300;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--neutral-900);
}

.footer-hours__row--last {
    border-bottom: none;
}

.footer-hours__time {
    color: white;
    font-weight: 500;
}

.footer-hours__time--closed {
    color: var(--red-500);
}

.footer-hours__alert {
    background: var(--neutral-900);
    padding: 1rem;
    border: 1px solid var(--neutral-800);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-hours__alert i,
.footer-hours__alert svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-hours__alert span {
    font-size: 0.75rem;
    color: var(--neutral-300);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--neutral-900);
    padding-top: 2rem;
}

.footer-bottom__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom__copy p {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.footer-bottom__disclaimer {
    color: var(--neutral-600) !important;
}

.footer-bottom__links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom__links a {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.footer-bottom__links a:hover {
    color: var(--primary);
}

/* === DOVE SIAMO - FOTO INGRESSO === */
.dove-siamo-photo {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dove-siamo-photo__img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .dove-siamo-photo__img {
        height: 400px;
    }
}

/* === FILE UPLOAD === */
.file-upload-area {
    position: relative;
    border: 2px dashed var(--neutral-300);
    border-radius: 0;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.2s, background-color 0.2s;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--primary);
    background-color: rgba(21, 84, 255, 0.03);
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--neutral-500);
    pointer-events: none;
}

.file-upload-label svg {
    color: var(--primary);
}

.file-upload-label span {
    font-size: 0.95rem;
    font-weight: 500;
}

.file-upload-label small {
    font-size: 0.8rem;
    color: var(--neutral-400);
}

.file-list {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.file-list__item-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.file-list__item-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.file-list__item-size {
    color: var(--neutral-400);
    font-size: 0.75rem;
}

.file-list__item-remove {
    background: none;
    border: none;
    color: var(--neutral-400);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1.2rem;
    line-height: 1;
    transition: color 0.15s;
}

.file-list__item-remove:hover {
    color: #dc2626;
}

/* === GALLERIA FOTO OFFICINA === */
html,
body {
    overflow-x: hidden;
}

.hero-slide__img--roadside {
    object-position: center 55%;
}

.gallery-section {
    overflow: hidden;
}

.gallery-collections {
    display: flex;
    justify-content: center;
    gap: 0.625rem;
    margin-top: 2rem;
    padding-bottom: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.gallery-collections::-webkit-scrollbar {
    display: none;
}

.gallery-collections__button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0.7rem 1.25rem;
    border: 1px solid var(--neutral-300);
    background: white;
    color: var(--neutral-700);
    font-family: 'Roboto', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-collections__button:hover,
.gallery-collections__button:focus-visible {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.gallery-collections__button.is-active {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 8px 22px rgba(19, 86, 255, 0.22);
}

.gallery-collections__status {
    margin: 0.8rem 0 0;
    color: var(--neutral-500);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
}

.work-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.625rem;
    margin-top: 2.5rem;
}

.work-gallery__item {
    position: relative;
    min-height: 280px;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--neutral-900);
    cursor: zoom-in;
}

.work-gallery__item.is-hidden {
    display: none;
}

@media (max-width: 639px) {
    .gallery-collections {
        justify-content: flex-start;
        margin-right: -1rem;
        margin-left: -1rem;
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

.work-gallery__item img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease, opacity 0.3s ease;
}

.work-gallery__item::after {
    content: '';
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.72));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.work-gallery__item--feature::after,
.work-gallery__item--tall:nth-child(2)::after {
    opacity: 1;
}

.work-gallery__item:hover img,
.work-gallery__item:focus-visible img {
    transform: scale(1.045);
    opacity: 0.88;
}

.work-gallery__item:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.work-gallery__zoom {
    position: absolute;
    right: 0.875rem;
    top: 0.875rem;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: white;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.work-gallery__label {
    position: absolute;
    z-index: 2;
    left: 1.25rem;
    right: 4.5rem;
    bottom: 1.15rem;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.work-gallery__item:hover .work-gallery__zoom,
.work-gallery__item:focus-visible .work-gallery__zoom {
    opacity: 1;
    transform: translateY(0);
}

.work-gallery__zoom svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 640px) {
    .work-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .work-gallery__item--feature,
    .work-gallery__item--wide {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .work-gallery {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-auto-flow: dense;
        grid-auto-rows: 215px;
    }

    .work-gallery__item,
    .work-gallery__item img {
        min-height: 0;
        height: 100%;
    }

    .work-gallery__item--feature {
        grid-column: span 8;
        grid-row: span 2;
    }

    .work-gallery__item--wide {
        grid-column: span 6;
    }

    .work-gallery__item--tall {
        grid-column: span 4;
        grid-row: span 2;
    }

    .work-gallery__item--feature .work-gallery__label {
        max-width: 570px;
        font-size: 1.35rem;
    }
}

/* Galleria a scorrimento orizzontale */
.gallery-carousel {
    position: relative;
}

.gallery-carousel__controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.gallery-carousel__arrow {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--neutral-300);
    background: white;
    color: var(--neutral-900);
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-carousel__arrow:hover,
.gallery-carousel__arrow:focus-visible {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.gallery-carousel__arrow svg {
    width: 21px;
    height: 21px;
}

.work-gallery {
    display: flex;
    grid-template-columns: none;
    grid-auto-rows: auto;
    grid-auto-flow: initial;
    gap: 1rem;
    margin-top: 0.75rem;
    padding: 0 0 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.work-gallery::-webkit-scrollbar {
    display: none;
}

.work-gallery__item,
.work-gallery__item--feature,
.work-gallery__item--wide,
.work-gallery__item--tall {
    flex: 0 0 clamp(290px, 42vw, 520px);
    width: auto;
    height: 370px;
    min-height: 370px;
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: start;
}

.work-gallery__item--feature {
    flex-basis: clamp(320px, 58vw, 700px);
}

.work-gallery__item--tall {
    flex-basis: clamp(270px, 31vw, 390px);
}

@media (max-width: 639px) {
    .gallery-carousel__controls {
        margin-top: 1rem;
    }

    .gallery-carousel__arrow {
        width: 42px;
        height: 42px;
    }

    .work-gallery__item,
    .work-gallery__item--feature,
    .work-gallery__item--wide,
    .work-gallery__item--tall {
        flex-basis: 84vw;
        height: 360px;
        min-height: 360px;
    }
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 4rem 2rem;
    background: rgba(0, 0, 0, 0.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox__figure {
    max-width: min(1100px, 86vw);
    max-height: 88vh;
    margin: 0;
    text-align: center;
}

.gallery-lightbox__image {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
}

.gallery-lightbox__caption {
    display: block;
    margin-top: 0.85rem;
    color: white;
    font-size: 0.95rem;
}

.gallery-lightbox__close,
.gallery-lightbox__arrow {
    position: absolute;
    border: 0;
    color: white;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.gallery-lightbox__close {
    top: 1.25rem;
    right: 1.25rem;
    width: 46px;
    height: 46px;
}

.gallery-lightbox__arrow {
    top: 50%;
    width: 48px;
    height: 58px;
    transform: translateY(-50%);
}

.gallery-lightbox__arrow--prev { left: 1rem; }
.gallery-lightbox__arrow--next { right: 1rem; }

.gallery-lightbox__close:hover,
.gallery-lightbox__arrow:hover,
.gallery-lightbox__close:focus-visible,
.gallery-lightbox__arrow:focus-visible {
    background: var(--primary);
}

body.gallery-open {
    overflow: hidden;
}

@media (max-width: 639px) {
    .gallery-lightbox {
        padding: 4rem 0.75rem 5rem;
    }

    .gallery-lightbox__figure {
        max-width: 100%;
    }

    .gallery-lightbox__arrow {
        top: auto;
        bottom: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .work-gallery__item img,
    .work-gallery__zoom,
    .gallery-lightbox {
        transition: none;
    }
}

/* === MOTION SYSTEM === */
@keyframes heroCinematicZoom {
    from { transform: scale(1.015); }
    to { transform: scale(1.085); }
}

@keyframes heroContentIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes lineGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes galleryFloatIn {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
        filter: saturate(0.75);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: saturate(1);
    }
}

.hero-slide--active .hero-slide__img {
    animation: heroCinematicZoom 6.8s ease-out both;
    will-change: transform;
}

.hero-slide--active .hero-slide__badge,
.hero-slide--active .hero-slide__title,
.hero-slide--active .hero-slide__subtitle,
.hero-slide--active .hero-slide__actions {
    animation: heroContentIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-slide--active .hero-slide__title { animation-delay: 0.08s; }
.hero-slide--active .hero-slide__subtitle { animation-delay: 0.16s; }
.hero-slide--active .hero-slide__actions { animation-delay: 0.24s; }

.motion-ready .reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal-on-scroll.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.motion-ready .work-gallery__item.reveal-visible {
    animation: galleryFloatIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--reveal-delay, 0ms);
}

.motion-ready .section-header.reveal-visible .section-header__line {
    transform-origin: left center;
    animation: lineGrow 0.65s 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.motion-ready .section-header--center.reveal-visible .section-header__line {
    transform-origin: center;
}

.service-card,
.review-card,
.map-info__card,
.booking-form-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover,
.review-card:hover,
.map-info__card:hover,
.booking-form-wrapper:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.3) 50%, transparent 75%);
    transform: translateX(-130%);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(21, 84, 255, 0.22);
}

.btn:hover::after {
    transform: translateX(130%);
}

.main-header__brand-logo {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.main-header__logo-link:hover .main-header__brand-logo {
    transform: scale(1.02);
    opacity: 0.82;
}

.storia-stats__number {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.storia-stats__item:hover .storia-stats__number {
    transform: translateY(-4px) scale(1.04);
    color: var(--primary);
}

@media (prefers-reduced-motion: reduce) {
    body:not(.animations-enabled) .hero-slide--active .hero-slide__img,
    body:not(.animations-enabled) .hero-slide--active .hero-slide__badge,
    body:not(.animations-enabled) .hero-slide--active .hero-slide__title,
    body:not(.animations-enabled) .hero-slide--active .hero-slide__subtitle,
    body:not(.animations-enabled) .hero-slide--active .hero-slide__actions,
    body:not(.animations-enabled).motion-ready .reveal-on-scroll,
    body:not(.animations-enabled).motion-ready .work-gallery__item.reveal-visible,
    body:not(.animations-enabled).motion-ready .section-header.reveal-visible .section-header__line {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
