/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #dc2626;
    --primary-color-rgb: 220, 38, 38;
    --primary-dark: #b91c1c;
    --primary-light: #ef4444;
    --secondary-color: #8b6464;
    --accent-color: #9e1818;
    --success-color: #10b981;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #fff2f2;
    --text-lightest: #d1d5db;
    --bg-color: #ffffff;
    --bg-light: #f1f5f9;
    --bg-dark: #0f1118;
    --border-color: #e5e7eb;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 70px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-3xl) 0;
}

.section__header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section__title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
}

.section__subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

.highlight {
    color: var(--primary-color);
    font-weight: 900;
}

.highlight-description  {
    color: var(--text-color);
    font-weight: 700;
}

.highlight-description-light  {
    color: var(--text-lighter);
    font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    min-height: 44px;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform, box-shadow, background-color, color;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    perspective: 1000px;
}

/* Button Arrow Icon */
.btn__arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    will-change: transform;
}

.btn--primary:hover .btn__arrow {
    transform: translateX(6px);
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), height 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.8s ease;
    pointer-events: none;
    opacity: 0;
}

.btn:active::after {
    width: 300px;
    height: 300px;
    opacity: 1;
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
}

.btn:focus {
    outline: none;
    /* Rimosso il bordo rosso */
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color), #b91c1c);
    color: white;
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.25);
    position: relative;
    transition: all 0.3s ease;
}

.btn--primary:hover {
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.35);
    color: white;
    transform: translateY(-2px);
}

.btn--primary:active {
    transform: scale3d(0.98, 0.98, 1);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.25);
    color: white;
}

.btn--secondary {
    background: transparent;
    color: var(--text-color);
    border: 1.5px solid var(--text-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn--secondary:hover {
    background: var(--text-color);
    color: white;
    border-color: var(--text-color);
    box-shadow: 0 8px 25px rgba(31, 41, 55, 0.2);
    transform: translateY(-2px);
}

.btn--secondary:active {
    transform: scale3d(0.98, 0.98, 1);
    box-shadow: 0 4px 15px rgba(31, 41, 55, 0.15);
}

.btn--outline {
    background-color: transparent;
    color: var(--text-color);
    border: 1.5px solid var(--text-light);
}

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

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

/* ===== DROPDOWN ===== */
.nav__item--dropdown {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__arrow {
  transition: transform 0.3s ease;
}

.dropdown__menu {
  position: absolute;
  top: calc(100% + 1.5rem);
  left: -4rem;
  background-color: var(--bg-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-large);
  padding-left: 2rem;
  padding-right: 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 1001;
  min-width: 245px;
  border: 1px solid var(--border-color);
}

.dropdown__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dropdown__item {
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease;
}

.dropdown__item:last-child {
  border-bottom: none;
}

.dropdown__item:hover {
  background-color: rgba(220, 38, 38, 0.03);
}

.dropdown__link {
  color: var(--text-light);
  transition: color 0.3s;
  font-weight: 500;
  text-decoration: none;
  display: block;
  padding: 0.875rem 1rem;
  border-radius: 0;
}

.dropdown__link:hover {
  color: var(--primary-color);
  background-color: transparent;
}

/* Show dropdown menu */
.nav__item--dropdown:hover > .dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Rotate arrow icon */
.nav__item--dropdown:hover > .nav__link .nav__arrow {
  transform: rotate(180deg);
}


/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-medium);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 2rem;
}

.nav__brand {
    flex-shrink: 0;
}

.nav__logo-link {
    display: block;
}

.nav__logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav__logo:hover {
    transform: scale(1.05);
}

.nav__menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    position: relative;
}

/* Linea animata sotto i link */
.nav__list {
    --indicator-left: 0px;
    --indicator-width: 0px;
}

.nav__list::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: var(--indicator-left);
    width: var(--indicator-width);
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #991b1b);
    border-radius: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
}

.nav__list.show-indicator::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav__link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

.nav__link:hover {
    color: var(--primary-color);
    background: rgba(220, 38, 38, 0.05);
    transform: translateY(-1px);
}

.nav__link.active-link {
    color: var(--primary-color);
    background: rgba(220, 38, 38, 0.08);
    font-weight: 600;
}

.nav__actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.nav__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), #991b1b);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.nav__cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav__cta-btn:hover::before {
    left: 100%;
}

.nav__cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.nav__cta-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* Hide text on mobile, show icon */
@media screen and (max-width: 768px) {
    .nav__call-btn .nav__call-text {
        display: none;
    }
    
    .nav__call-btn {
        padding: 0;
        justify-content: center;
    }
}

.nav__toggle,
.nav__close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.nav__toggle:hover,
.nav__close:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* ===== HOME SECTION ===== */
.home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background-image: 
        linear-gradient(to right, rgba(255, 0, 0, 0.03), rgba(0, 0, 0, 0.01)),
        url('imgs/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.home__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.home__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0;
    margin-left: max(var(--spacing-md), calc((100vw - 1200px) / 2));
    padding: 0 var(--spacing-md);
    padding-top: calc(var(--header-height) + var(--spacing-2xl));
}

.home__content {
    max-width: 680px;
    color: var(--text-color);
    position: relative;
}

/* Freccia scribble annotation */
.home__arrow-annotation {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: var(--spacing-md);
    margin-left: 1.5rem;
    margin-right: 2rem;
    gap: var(--spacing-sm);
}

.arrow-annotation__text {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    animation: bounce 2s infinite;
    order: 2;
    position: relative;
    top: -10px;
    left: -10px;
}

.arrow-annotation__svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-color);
    stroke: var(--primary-color);
    transform: rotate(70deg);
    animation: wiggle 3s ease-in-out infinite;
    order: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(1deg);
    }
    75% {
        transform: rotate(-1deg);
    }
}

.home__badge-stats {
    display: flex;
    justify-content: left;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.home__badge {
    display: inline-block;
    background: rgba(31, 41, 55, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    border: 1px solid rgba(31, 41, 55, 0.2);
    flex-shrink: 0;
}

.home__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: var(--spacing-lg);
    color: var(--text-color);
    text-shadow: none;
}

.home__description {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
    text-shadow: none;
}

.home__buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.home__stats {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
}

.stat {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-xs);
    align-items: center;
    text-align: left;
}

.stat__number {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.stat__icon {
    width: 16px;
    height: 16px;
    color: var(--text-color);
    flex-shrink: 0;
}

.stat__label {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    font-weight: 400;
}

.about__img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
}

.about__img:hover {
    box-shadow: var(--shadow-large);
}

/* ===== ABOUT SECTION ===== */
.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about__badge {
    display: inline-block;
    background: rgba(31, 41, 55, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    border: 1px solid rgba(31, 41, 55, 0.2);
    margin-bottom: var(--spacing-md);
}

.about__title {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

.about__description {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    row-gap: var(--spacing-lg);
}

.feature {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.feature__icon {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature__icon svg {
    width: 16px;
    height: 16px;
}

.feature__content h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--bg-light);
    padding: var(--spacing-2xl) 0;
}

.services__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
    max-width: 1200px;
    margin: 0 auto;
}

.service__card {
    background-color: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    text-align: left;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.service__card:visited {
    color: inherit;
}

.service__card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}



.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: height var(--transition-medium);
}

.service__card:hover::before {
    height: 6px;
}

.service__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}

.service__title {
    font-size: var(--font-size-xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color); /* Fallback per browser che non supportano background-clip */
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-medium);
}

/* Fallback per Firefox e altri browser */
@supports not (-webkit-background-clip: text) {
    .service__title {
        color: var(--primary-color);
        background: none;
    }
}

.service__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: width var(--transition-medium);
}

.service__card:hover .service__title::after {
    width: 50px;
}

/* ===== SERVICE BUTTON STYLES ===== */
.service-btn {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    margin-top: auto;
    width: 12rem;
    height: auto;
}

.service-btn__circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: var(--text-color);
    border-radius: 1.625rem;
}

.service-btn__icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: white;
}

.service-btn__arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

.service-btn__arrow::before {
    position: absolute;
    content: "";
    top: -0.29rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid white;
    border-right: 0.125rem solid white;
    transform: rotate(45deg);
}

.service-btn__text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
    font-size: var(--font-size-sm);
}

.service-btn:hover .service-btn__circle,
.service__card:hover .service-btn__circle {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.service-btn:hover .service-btn__arrow,
.service__card:hover .service-btn__arrow {
    background: white;
    transform: translate(1rem, 0);
}

.service-btn:hover .service-btn__text,
.service__card:hover .service-btn__text {
    color: white;
}

.service__description {
    color: var(--text-light);
    line-height: 1.5;
    font-size: var(--font-size-sm);
    flex-grow: 1;
    margin-bottom: var(--spacing-lg);
}

/* ===== LICENSES SECTION ===== */
.licenses {
    background: var(--bg-light);
}

.licenses__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.license__card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    transition: all var(--transition-medium);
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.license__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.license__card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.12);
}

.license__card:hover::before {
    opacity: 1;
}

.license__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
}

.license__title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.license__badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
    flex-shrink: 0;
}

.license__description {
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    font-size: var(--font-size-base);
    line-height: 1.6;
    font-weight: 500;
    flex-grow: 1;
}

.license__features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.license__features li {
    color: var(--text-color);
    position: relative;
    padding-left: var(--spacing-xl);
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 1.5;
}

.license__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 6L9 17L4 12' stroke='%23dc2626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ===== LICENSE TITLE WITH IMAGE ===== */
.license-title-with-image {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.license-title-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.license-title-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-top: 15px;
}

.license-title-content h2 {
    margin-bottom: 0 !important;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.2;
    padding-bottom: 0 !important;
}

/* Rimuovo la linea rossa dai titoli h2 delle patenti */
.license-title-with-image .license-title-content h2::after {
    display: none !important;
}

.license-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding-bottom: 16px;
    margin-bottom: var(--spacing-md);
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.license-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Responsive adjustments for license titles */
@media (max-width: 768px) {
    .license-title-with-image {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }
    
    .license-title-image {
        width: 120px;
        height: 120px;
        margin-top: 0;
        align-self: center;
    }
    
    .license-title-content {
        width: 100%;
        text-align: center;
    }
    
    .license-title-content h2 {
        font-size: 2rem;
    }
    
    .license-subtitle {
        font-size: 1.1rem;
    }
    
    .license-subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .license-title-image {
        width: 100px;
        height: 100px;
    }
    
    .license-title-content h2 {
        font-size: 1.75rem;
    }
    
    .license-subtitle {
        font-size: 1rem;
    }
}

/* ===== SERVICE SUBPAGES STYLES ===== */
.service-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: calc(var(--header-height) + var(--spacing-2xl)) 0 var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.service-hero__content {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all var(--transition-fast);
    padding: 2px 4px;
    border-radius: 4px;
}

.breadcrumb a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.service-hero__title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.service-hero__description {
    font-size: var(--font-size-lg);
    color: var(--text-lightest);
    line-height: 1.7;
    opacity: 0.92;
    max-width: 650px;
    font-weight: 400;
}

.service-details {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.service-details__container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-2xl);
    max-width: 1200px;
    margin: 0 auto;
}

.service-details__content {
    padding-bottom: var(--spacing-lg);
    background: white;
    border-radius: 12px;
    padding: var(--spacing-2xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-details__content h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    color: var(--text-color);
    position: relative;
    padding-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

.service-details__content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.service-details__content h2:not(:first-child) {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--bg-light);
}

.service-details__content p {
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
    color: var(--text-color);
    font-size: var(--font-size-base);
    font-weight: 400;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.feature-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 400;
}

.service-categories {
    display: grid;
    gap: var(--spacing-xl);
}

.category {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
}

.category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.category h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--bg-light);
    letter-spacing: -0.01em;
    position: relative;
}

.category h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.service-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.service-list li {
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
    position: relative;
    font-weight: 400;
    color: var(--text-color);
    border-left: 3px solid transparent;
    padding-left: var(--spacing-lg);
    transition: all var(--transition-fast);
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.2);
}

.service-list strong {
    color: var(--text-color);
    font-weight: 700;
}

.service-info {
    margin-top: var(--spacing-2xl);
    padding-bottom: var(--spacing-lg);
}

.service-info h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
    position: relative;
    padding-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
}

.service-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 1px;
}

.service-info p {
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
    color: var(--text-color);
    font-weight: 400;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
}

.advantage {
    text-align: center;
    padding: var(--spacing-xl);
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.advantage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.advantage:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.advantage h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.advantage p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: var(--font-size-sm);
    font-weight: 400;
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.contact-card {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

.related-services {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
}

.related-services:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.related-services h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
    position: relative;
    padding-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
}

.related-services h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 1px;
}

.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-list li {
    margin-bottom: var(--spacing-sm);
}

.related-list a {
    color: var(--text-color);
    text-decoration: none;
    padding: var(--spacing-md);
    display: block;
    border-radius: 8px;
    transition: all var(--transition-fast);
    font-weight: 500;
    position: relative;
    border-left: 3px solid transparent;
}

.related-list a::before {
    content: '';
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all var(--transition-fast);
    width: 0;
    height: 0;
    border-left: 6px solid var(--primary-color);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.related-list a:hover {
    background-color: rgba(var(--primary-color-rgb), 0.05);
    color: var(--primary-color);
    transform: translateX(8px);
    border-left-color: var(--primary-color);
    padding-right: calc(var(--spacing-md) + 20px);
}

.related-list a:hover::before {
    opacity: 1;
}

/* Maps Placeholder Styles */
.maps-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.maps-placeholder__content {
    text-align: center;
    padding: 2rem;
    max-width: 400px;
}

.maps-placeholder__icon {
    color: #6c757d;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.maps-placeholder h4 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.maps-placeholder p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.maps-placeholder__btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.maps-placeholder__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.maps-placeholder__address {
    font-size: 0.9rem;
    color: #495057;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.maps-placeholder__address strong {
    color: #212529;
}

/* Google Maps Container */
#google-maps-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .maps-placeholder {
        height: 350px;
    }
    
    .maps-placeholder__content {
        padding: 1.5rem;
    }
    
    #google-maps-container iframe {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 89px 0 24px 0 !important; /* 65px header + 24px spacing */
    }
    
    .service-details__container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .service-hero__title {
        font-size: var(--font-size-2xl);
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .advantages {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 610px) {
    .service-hero {
        padding: 84px 0 16px 0 !important; /* 60px header + 24px spacing */
    }
    
    .service-hero__title {
        font-size: var(--font-size-xl);
    }
    
    .service-hero__description {
        font-size: var(--font-size-base);
    }
}
.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    height: 400px;
    justify-content: space-between;
}

.contact__item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    padding: var(--spacing-md);
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
    flex: 1;
}

.contact__item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.contact__icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-small);
}

.contact__icon svg {
    width: 20px;
    height: 20px;
}

.contact__content h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-color);
}

.contact__content p {
    color: var(--text-light);
    line-height: 1.4;
    font-size: var(--font-size-sm);
}

.contact__hours {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.hours__column {
    flex: 1;
    min-width: 140px;
    white-space: nowrap;
}

.hours__column p {
    margin: 0 0 0.25rem 0;
    font-size: var(--font-size-xs);
    line-height: 1.3;
    white-space: nowrap;
}

.contact__map {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-small);
}

.contact__map iframe {
    width: 100%;
    height: 402px;
    border: none;
    border-radius: var(--border-radius);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer__content {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.3fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    align-items: start;
}

.footer__section {
    min-width: 0;
}

.footer__section:last-child {
    padding-left: var(--spacing-sm);
}

.footer__logo {
    margin-bottom: var(--spacing-md);
}

.footer__logo-img {
    height: 48px;
    width: auto;
}

.footer__title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--primary-light);
}

.footer__subtitle {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.footer__description {
    color: #d1d5db;
    line-height: 1.5;
    font-size: var(--font-size-sm);
    max-width: 280px;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: var(--spacing-xs);
}

.footer__links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: var(--font-size-sm);
}

.footer__links a:hover {
    color: white;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    color: #9ca3af;
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-sm);
    line-height: 1.4;
    word-break: break-word;
    hyphens: auto;
}

.footer__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--primary-light);
    margin-top: 2px;
}

.footer__social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xs);
}

.footer__social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #374151;
    border-radius: var(--border-radius);
    color: #9ca3af;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid #4b5563;
}

.footer__social-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.footer__social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer__bottom {
    border-top: 1px solid #334155;
    padding-top: var(--spacing-md);
    text-align: center;
    color: #94a3b8;
    font-size: var(--font-size-xs);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 999;
    box-shadow: var(--shadow-medium);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
    .dropdown__menu {
      position: static;
      background-color: transparent;
      box-shadow: none;
      padding: 0;
      opacity: 1;
      visibility: visible;
      transform: none;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
      border: none;
      min-width: unset;
    }

    .nav__item--dropdown.is-active > .dropdown__menu {
      max-height: 500px; /* Adjust as needed */
      padding-top: 1rem;
    }
    
    .nav__item--dropdown.is-active > .nav__link .nav__arrow {
      transform: rotate(180deg);
    }

    .dropdown__list {
      padding-left: 1.5rem;
      gap: 0;
    }

    .dropdown__item {
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .dropdown__item:last-child {
      border-bottom: none;
    }

    .dropdown__link {
      color: var(--text-light);
      padding: 0.75rem 0;
      display: block;
    }

    .home__container,
    .about__container,
    .contact__container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .home__title {
        font-size: var(--font-size-5xl);
    }
    
    .footer__content {
        grid-template-columns: 1fr 1fr;
    }
    
    .home {
        background-attachment: scroll;
        padding: 9rem 0 4rem;
        min-height: calc(100vh - 70px);
    }
    
    .home__container {
        padding-top: 2rem;
        margin-left: var(--spacing-md);
    }
    
    .home__content {
        max-width: 100%;
    }
    
    .home__title {
        font-size: var(--font-size-5xl);
        margin-bottom: 1rem;
    }
    
    .home__description {
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 500px;
    }
    
    .home__badge-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .home__stats {
        gap: 1.5rem;
        justify-content: flex-start;
        width: 100%;
    }
    
    .home__buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .header {
        padding: 0 0.75rem;
        height: 70px;
    }
    
    .nav {
        height: 70px;
        gap: 0;
    }
    
    .nav__logo {
        height: 45px;
    }

    /* Correzione layout pulsanti homepage per 1024px */
    .home__buttons {
        flex-direction: row;
        gap: var(--spacing-md);
        width: auto;
    }

    .btn {
        width: auto;
        flex: 0 0 auto;
        min-width: 160px;
        max-width: 200px;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 5rem 1.5rem 2rem;
        transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.5s ease;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1002;
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
    }

    .nav__menu.show-menu {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav__list {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .nav__link {
        padding: 1rem 1.25rem;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 500;
        border: 1px solid transparent;
        transition: all 0.3s ease;
    }
    
    .nav__link:hover {
        background-color: rgba(var(--primary-color-rgb), 0.08);
        border-color: rgba(var(--primary-color-rgb), 0.2);
        transform: translateX(5px);
    }

    .nav__toggle,
    .nav__close {
        display: flex;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background-color: rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        position: relative;
    }
    
    .nav__toggle {
        z-index: 1001;
    }
    
    .nav__toggle:hover,
    .nav__close:hover {
        background-color: rgba(var(--primary-color-rgb), 0.1);
        border-color: rgba(var(--primary-color-rgb), 0.3);
        transform: scale(1.05);
    }
    
    .nav__toggle:active,
    .nav__close:active {
        transform: scale(0.95);
    }

    .nav__close {
        position: absolute;
        top: calc(1.25rem - 5px);
        right: calc(1.25rem + 5px);
        background-color: rgba(255, 0, 0, 0.1);
        border-color: rgba(255, 0, 0, 0.2);
        z-index: 1004;
    }
    
    .nav__close:hover {
        background-color: rgba(255, 0, 0, 0.15);
        border-color: rgba(255, 0, 0, 0.3);
    }

    /* Overlay per il menu mobile */
    .nav__overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1001;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
        backdrop-filter: blur(0px);
    }

    .nav__overlay.show-overlay {
        opacity: 1;
        pointer-events: auto;
        backdrop-filter: blur(2px);
    }

    /* Pulsante contatti mobile - solo icona */
    .nav__cta-btn {
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 10px;
        background: linear-gradient(135deg, var(--primary-color), #991b1b);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
        margin-left: 0;
        margin-right: 10px;
    }
    
    .nav__cta-btn:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.4);
    }
    
    .nav__cta-btn .nav__cta-icon {
        width: 20px;
        height: 20px;
    }
    
    /* Nasconde il testo del pulsante su mobile */
    .nav__cta-btn span {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .header {
        height: 65px;
        padding: 0 0.75rem;
    }
    
    .nav {
        height: 65px;
        gap: 0;
    }
    
    .nav__logo {
        height: 40px;
    }
    
    .nav__toggle,
    .nav__cta-btn {
        width: 42px;
        height: 42px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav__cta-btn .nav__cta-icon {
        width: 18px;
        height: 18px;
    }
    
    .nav__menu {
        width: 90%;
        max-width: 320px;
        padding: 4.5rem 1.25rem 2rem;
    }
    
    .nav__link {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .home {
        padding: 8rem 0 3rem;
        min-height: calc(100vh - 65px);
    }
    
    .home__title {
        font-size: var(--font-size-5xl);
        line-height: 1.2;
    }
    
    .home__description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .home__badge-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    /* Stili responsive per freccia annotation */
    .home__arrow-annotation {
        justify-content: flex-start;
        margin-left: 1rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .arrow-annotation__text {
        font-size: 0.8rem;
    }
    
    .arrow-annotation__svg {
        width: 45px;
        height: 30px;
    }
    
    .home__stats {
        gap: 1.25rem;
        justify-content: flex-start;
        width: 100%;
    }
    
    .stat__number {
        font-size: 1.1rem;
    }
    
    .stat__label {
        font-size: 0.75rem;
    }
    
    .service-btn__arrow {
        left: 0.55rem;
    }
    
    .service-btn__arrow::before {
        top: -0.27rem;
        right: 0.08rem;
    }
}

@media screen and (max-width: 610px) {
    .header {
        height: 60px;
        padding: 0 0.5rem;
    }
    
    .nav {
        height: 60px;
        gap: 0;
    }
    
    .nav__logo {
        height: 35px;
    }
    
    .nav__toggle,
    .nav__cta-btn {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav__cta-btn {
        margin-left: 0;
    }
    
    .nav__cta-btn .nav__cta-icon {
        width: 16px;
        height: 16px;
    }
    
    .nav__menu {
        width: 95%;
        max-width: 300px;
        padding: 4rem 1rem 1.5rem;
    }
    
    .nav__close {
        width: 40px;
        height: 40px;
        top: calc(1rem - 5px);
        right: calc(1rem + 5px);
    }
    
    .nav__link {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .home {
        background-image: 
            linear-gradient(to right, rgba(255, 0, 0, 0.03), rgba(0, 0, 0, 0.01)),
            url('imgs/bg-mobile.jpg');
        background-attachment: scroll;
        padding: 7rem 0 2.5rem;
        min-height: calc(100vh - 60px);
    }

    .home__container {
        margin-left: 0.75rem;
        padding-top: 1.5rem;
        text-align: left;
    }

    .home__content {
        max-width: 100%;
    }

    .home__badge-stats {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    /* Stili responsive per freccia annotation su mobile piccolo */
    .home__arrow-annotation {
        justify-content: flex-start;
        margin-left: 0.3rem;
        margin-bottom: 0.5rem;
        gap: 0.5rem;
    }
    
    .arrow-annotation__text {
        font-size: 0.75rem;
        top: -16px;
        left: -21px;
    }
    
    .arrow-annotation__svg {
        width: 40px;
        height: 25px;
        transform: rotate(45deg) !important;
    }
    
    .home__badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        flex-shrink: 0;
    }

    .home__title {
        font-size: var(--font-size-3xl);
        margin-bottom: 0.75rem;
    }

    .home__description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .home__stats {
        gap: 1rem;
        justify-content: flex-start;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .stat__number {
        font-size: 1rem;
        gap: 0.25rem;
    }
    
    .stat__icon {
        width: 14px;
        height: 14px;
    }
    
    .stat__label {
        display: none;
    }

    .home__buttons {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .btn {
        flex: 1;
        min-width: 120px;
        max-width: 160px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-height: 38px;
    }
    
    .section__title {
        font-size: var(--font-size-2xl);
    }
    
    .about__container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .about__img {
        height: 250px;
        margin-top: var(--spacing-lg);
    }
    
    .about__features {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
        row-gap: var(--spacing-md);
    }
    
    .feature__icon {
        width: 18px;
        height: 18px;
    }
    
    .feature__icon svg {
        width: 10px;
        height: 10px;
    }
    
    .feature__content h4 {
        font-size: var(--font-size-sm);
    }
    
    .services__container,
    .licenses__container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .services__container {
        max-width: 100%;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .footer__section:last-child {
        padding-left: 0;
    }
    
    .footer__logo-img {
        height: 36px;
    }
    
    .footer__description {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .footer__contact-item {
        justify-content: center;
        text-align: left;
        max-width: 280px;
        margin: 0 auto var(--spacing-xs);
    }
    
    .footer__social {
        justify-content: center;
    }
    
    .contact__container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .contact__info {
        height: auto;
        gap: var(--spacing-sm);
    }
    
    .contact__item {
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
    
    .contact__icon {
        width: 36px;
        height: 36px;
    }
    
    .contact__icon svg {
        width: 18px;
        height: 18px;
    }
    
    .contact__content h4 {
        font-size: var(--font-size-sm);
    }
    
    .contact__content p {
        font-size: var(--font-size-xs);
    }
    
    .contact__hours {
        gap: 1rem;
        width: 100%;
    }
    
    .hours__column {
        min-width: 120px;
        white-space: nowrap;
    }
    
    .hours__column p {
        font-size: var(--font-size-xs);
        margin: 0 0 0.2rem 0;
        white-space: nowrap;
    }
    
    .contact__map {
        order: -1;
    }
    
    .contact__map iframe {
        height: 300px;
    }
}

@media screen and (max-width: 610px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .home__title {
        font-size: var(--font-size-3xl);
    }
    
    .section__title {
        font-size: var(--font-size-xl);
    }
    
    .service__card,
    .license__card {
        padding: var(--spacing-md);
    }
    
    .service__title {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-sm);
        font-weight: 700;
    }
    
    .service__title::after {
        width: 25px;
        height: 2px;
    }
    
    .service__card:hover .service__title::after {
        width: 40px;
    }
    
    .service-btn {
        width: 10rem;
        margin-top: auto;
    }
    
    .service-btn__circle {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .service-btn__arrow {
        left: 0.5rem;
        width: 1rem;
    }
    
    .service-btn__arrow::before {
        top: -0.25rem;
        right: 0.05rem;
        width: 0.5rem;
        height: 0.5rem;
    }
    
    .service-btn__text {
        font-size: var(--font-size-xs);
        margin: 0 0 0 1.5rem;
        padding: 0.6rem 0;
    }
    
    .service__description {
        font-size: var(--font-size-sm);
    }
    
    .footer__content {
        gap: var(--spacing-md);
    }
    
    .footer__logo-img {
        height: 32px;
    }
    
    .footer__description {
        font-size: var(--font-size-sm);
        line-height: 1.4;
    }
    
    .footer__contact-item {
        max-width: 100%;
        font-size: var(--font-size-sm);
    }
    
    .footer__icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }
    
    .back-to-top {
        bottom: var(--spacing-md);
        right: var(--spacing-md);
        width: 45px;
        height: 45px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
    
    /* Mantieni le transizioni essenziali per una migliore UX */
    .btn,
    .btn__arrow {
        transition-duration: 0.2s !important;
    }
    
    /* Transizioni navbar per l'indicatore animato */
    .nav__list::after {
        transition-duration: 0.3s !important;
    }
    
    .nav__link {
        transition-duration: 0.2s !important;
    }
}

/* Focus styles for keyboard navigation */
.form__input:focus,
.btn:focus,
.nav__link:focus {
    outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000;
        --text-light: #000;
    }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 17, 24, 0.98);
    backdrop-filter: blur(20px);
    color: white;
    z-index: 9999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

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

.cookie-banner__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.cookie-banner__content {
    flex: 1;
    min-width: 300px;
}

.cookie-banner__title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: white;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.cookie-banner__icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.cookie-banner__text {
    font-size: var(--font-size-sm);
    line-height: 1.5;
    color: #d1d5db;
    margin-bottom: var(--spacing-sm);
}

.cookie-banner__link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.cookie-banner__link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-banner__btn {
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 1px solid #6b7280;
    background-color: var(--bg-light);
    color: var(--text-color);
    min-width: 120px;
    text-align: center;
    white-space: nowrap;
}

.cookie-banner__btn:hover {
    background-color: var(--bg-color);
    border-color: var(--border-color);
    transform: translateY(-1px);
}

.cookie-preferences {
    background: #1f2937;
    display: none; /* Hidden by default */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.cookie-preferences.show {
    display: block;
    max-height: 500px; /* Adjust as needed */
}

.cookie-preferences__header {
    width: 100%;
    margin-bottom: var(--spacing-md);
}

.cookie-preferences__title {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-xs);
}

.cookie-preferences__description {
    font-size: var(--font-size-sm);
    color: #9ca3af;
}

.cookie-preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid #374151;
    width: 100%;
}

.cookie-preference-item:last-child {
    border-bottom: none;
}

.cookie-preference-item__info label {
    font-weight: 500;
    color: #e5e7eb;
}

.cookie-preference-item__info p {
    font-size: var(--font-size-xs);
    color: #9ca3af;
    margin-top: 4px;
}

.cookie-preferences__actions {
    width: 100%;
    margin-top: var(--spacing-lg);
    text-align: right;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .cookie-banner__container {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }

    .cookie-banner__actions {
        justify-content: center;
        width: 100%;
    }

    .cookie-banner__btn {
        flex-grow: 1;
    }

    .cookie-preference-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .cookie-preference-item__info {
        width: 100%;
    }

    .cookie-preferences__actions {
        text-align: center;
    }
}

/* Switch styles */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4b5563;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Responsive design for cookie banner */
@media screen and (max-width: 768px) {
    .cookie-banner__container {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-md);
    }
    
    .cookie-banner__content {
        min-width: auto;
    }
    
    .cookie-banner__actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-banner__btn {
        flex: 1;
        min-width: auto;
    }
}

@media screen and (max-width: 480px) {
    .cookie-banner {
        padding: var(--spacing-md) 0;
    }
    
    .cookie-banner__actions {
        flex-direction: column;
    }
    
    .cookie-banner__btn {
        width: 100%;
    }
}

/* Print styles */
@media print {
    .header,
    .nav__toggle,
    .back-to-top,
    .cookie-banner {
        display: none;
    }
    
    .home {
        padding-top: 0;
    }
    
    * {
        box-shadow: none !important;
    }
}

/* ===== PRIVACY PAGE STYLES ===== */
.privacy-page {
    padding: 2rem 0;
    background: var(--color-light);
    min-height: calc(100vh - 80px);
}

.privacy-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.privacy-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--color-white);
    border-radius: 8px;
}

.privacy-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.privacy-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}

.privacy-grid {
    display: grid;
    gap: 1.5rem;
}

.privacy-section {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.privacy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent);
}

.privacy-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 1.5rem 0 0.5rem 0;
}

.privacy-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 1rem 0 0.5rem 0;
}

.privacy-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.privacy-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.privacy-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
    color: var(--color-text);
}

.privacy-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--color-accent);
    font-weight: bold;
}

.cookie-category {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--color-light);
    border-radius: 6px;
    border-left: 3px solid var(--color-accent);
}

.cookie-management {
    margin-top: 1.5rem;
    text-align: left;
}

.cookie-action {
    margin: 1.5rem 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-item {
    padding: 1.5rem;
    background: var(--color-light);
    border-radius: 6px;
    border-left: 3px solid var(--color-accent);
}


.contact-item:hover {
    transform: translateY(-2px);
}

.contact-item h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
}

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

.contact-item a:hover {
    color: var(--color-primary);
}

.last-update {
    font-style: italic;
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Navigation Actions */
.nav__actions {
    display: flex;
    align-items: center;
}

.btn--nav {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn--nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===== FOOTER PRIVACY LINK ===== */
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer__privacy-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
    padding: 0.5rem;
    border-radius: 6px;
}

.footer__privacy-link:hover {
    color: var(--primary-color);
    background: rgba(220, 38, 38, 0.1);
    transform: translateY(-1px);
}

.footer__privacy-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .privacy-page {
        padding: 1rem 0 2rem;
    }
    
    .privacy-content {
        padding: 0 1rem;
    }
    
    .privacy-header {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .privacy-title {
        font-size: 2.2rem;
    }
    
    .privacy-subtitle {
        font-size: 1.1rem;
    }
    
    .privacy-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .privacy-section h2 {
        font-size: 1.6rem;
    }
    
    .privacy-section h3 {
        font-size: 1.3rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    .cookie-category {
        padding: 1.5rem;
    }
    
    .third-party-service {
        padding: 1rem;
    }
    
    .nav__actions {
        margin-left: auto;
    }
    
    .btn--nav {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xs);
    }
    
    .footer__privacy-link {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .privacy-header {
        padding: 1.5rem 1rem;
    }
    
    .privacy-title {
        font-size: 1.8rem;
    }
    
    .privacy-subtitle {
        font-size: 1rem;
    }
    
    .privacy-section {
        padding: 1rem;
    }
    
    .privacy-section h2 {
        font-size: 1.4rem;
    }
    
    .privacy-section h3 {
        font-size: 1.2rem;
        padding-left: 0.8rem;
    }
    
    .privacy-section h3::before {
        width: 3px;
        height: 16px;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .cookie-category {
        padding: 1rem;
    }
    
    .third-party-service {
        padding: 0.8rem;
    }
}

@media print {
    .nav__actions,
    .breadcrumb,
    .cookie-action,
    .footer__privacy {
        display: none;
    }
    
    .privacy-page {
        background: white !important;
        padding: 0 !important;
    }
    
    .privacy-header,
    .privacy-section {
        box-shadow: none !important;
        border: none !important;
        background: white !important;
    }
    
    .privacy-section:hover {
        transform: none !important;
    }
    
    .privacy-section h2::after,
    .privacy-section h3::before {
        display: none;
    }
}