      :root {
    --width:1000px
}
      html,
      body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
      }
      body {
        background: #f5f5f7;
        color: #1d1d1f;
        font: 16px/1.4 Helvetica, Arial, sans-serif;
        position: relative;
      }

      /* Main layout */
      @media (min-width: 769px) {
        .sidebar {
          position: fixed;
          left: 0;
          top: 0;
          width: 15vw;
          height: 100vh;
          background: rgba(245, 245, 247, 0.95);
          backdrop-filter: blur(10px);
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          padding: 20px 0px;
          box-sizing: border-box;
          z-index: 1000;
          opacity: 0;
          transition: opacity 0.3s ease;
        }

        .main-content {
          min-height: 100vh;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          position: relative;
          left: calc(-15vw / 2);
        }

        .content-wrapper {
          margin-left: 15vw;
          width: 85vw;
          max-width: 85vw;
        }

        .nav-header {
          display: none;
        }

        .hero-svg {
          width: 100%;
          max-width: 400px;
          height: auto;
          display: block;
        }
      }

      /* Mobile layout */
      @media (max-width: 768px) {
        .sidebar {
          display: none;
        }

        .main-content {
          width: 100vw;
          min-height: 100svh;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
        }

        .hero-svg {
          width: 100%;
          max-width: 720px;
          height: auto;
          display: block;
        }

        /* Mobile Navigation Header */
        .nav-header {
          position: fixed;
          top: 0;
          left: 0;
          right: 0;
          background: rgba(245, 245, 247, 0.95);
          backdrop-filter: blur(10px);
          padding: 12px 20px;
          z-index: 1000;
          transform: translateY(-100%);
          transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
          border-bottom: 1px solid rgba(29, 29, 31, 0.1);
          display: flex;
          align-items: center;
          justify-content: space-between;
        }

        .nav-header.visible {
          transform: translateY(0);
        }

        .nav-logo-mobile {
          height: 40px;
          width: auto;
        }

        .nav-toggle {
          display: block;
          background: none;
          border: none;
          color: #1d1d1f;
          font-size: 24px;
          cursor: pointer;
          padding: 5px;
          z-index: 10000;
          position: relative;
        }

        .nav-menu-mobile {
          position: fixed;
          top: 0;
          left: 0;
          width: 100vw;
          height: 100vh;
          background: #f5f5f7;
          flex-direction: column;
          gap: 0;
          padding: 80px 30px 30px 30px;
          transform: translateX(-100%);
          opacity: 1;
          visibility: visible;
          transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
          z-index: 9999;
          justify-content: flex-start;
          align-items: stretch;
          text-align: right;
          display: flex;
          list-style: none;
          margin: 0;
        }

        .nav-menu-mobile.open {
          transform: translateX(0);
        }

        .nav-menu-mobile li {
          padding: 20px 0;
          border-bottom: 1px solid #1d1d1f;
          margin: 0;
        }

        .nav-menu-mobile li:last-child {
          border-bottom: 1px solid #1d1d1f;
        }

        .nav-menu-mobile a {
          font-size: 18px;
          font-weight: 600;
          color: #1d1d1f;
          display: block;
          width: 100%;
          text-align: left;
          text-decoration: none;
          text-transform: lowercase;
          letter-spacing: 0.5px;
        }

        .nav-menu-mobile a:hover {
          color: #000000;
        }

        .nav-close {
          position: absolute;
          top: 20px;
          left: 30px;
          background: none;
          border: none;
          color: #1d1d1f;
          font-size: 24px;
          cursor: pointer;
          z-index: 10001;
          padding: 5px;
          display: block;
        }

        .nav-close:hover {
          color: #000000;
        }
      }

      /* Sidebar styles for desktop */
      .logo-container {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        height: auto;
      }

      .sidebar-address {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 11px;
        color: #1d1d1f;
        opacity: 0.7;
        padding: 0 10px;
        line-height: 1.3;
      }

      .logo-container a {
        display: block;
        cursor: pointer;
      }

      .sidebar-logo {
        height: 60px;
        width: auto;
        max-width: 100%;
        pointer-events: none;
      }

      .nav-menu-sidebar {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0px;
        text-align: right;
        margin-top: 20px;
        border-right: 1px solid black;
        padding-right: 20px;
      }

      .nav-menu-sidebar li {
        margin: 0;
      }
      .nav-menu-sidebar li:last-child a {
        margin-bottom: 0;
      }

      .nav-menu-sidebar a {
        color: #1d1d1f;
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
        text-transform: lowercase;
        letter-spacing: 0.5px;
        display: block;
        padding: 2px 0;
        transition: color 0.3s ease;
      }

      .nav-menu-sidebar a:hover {
        color: #000000;
      }

      /* Home taglines */
      .home-taglines {
        margin-top: 40px;
      }

      /* Desktop layout for taglines */
      @media (min-width: 769px) {
        .home-taglines {
          display: flex;
          gap: 30px;
          justify-content: center;
          align-items: flex-end;
        }

        .tagline {
          font-size: 30px;
          color: #1d1d1f;
          font-weight: 200;
          letter-spacing: 0.5px;
        }
      }

      /* Mobile layout for taglines */
      @media (max-width: 768px) {
        .home-taglines {
          display: flex;
          flex-direction: row;
          align-items: flex-end;
          text-align: right;
          gap: 8px;
        }

        .tagline {
          font-size: 14px;
          color: #1d1d1f;
          font-weight: 400;
          letter-spacing: 0.5px;
        }
      }

      /* Ink Trail */

      .blend-root {
        position: relative;
        background: #f5f5f7;
        isolation: isolate;
        min-height: 100vh;
      }
      .ink-trail-container {
        position: fixed;
        top: 0;
        right: 0;
        width: 100px;
        height: 100vh;
        pointer-events: none;
        z-index: 9999;
      }
      .ink-trail-svg {
        width: 100%;
        height: 100%;
      }

      #inkTrailPath {
        /* Put the blend on the PATH for Safari/WebKit */
        stroke: #1d1d1f;
        stroke-width: 2;
        fill: none;
        opacity: 1;
      }
      /* Base Section */
      .base-section {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        margin:20px;
        border-top: 1px solid #1d1d1f;
        box-sizing: border-box;
        background: #f5f5f7;
      }

      /* About Us Section */

      .about-content {
        max-width: var(--width);
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        height: 80vh;
        justify-content: center;
        position: relative;
      }

      .about-content h2 {
        font-size: 2rem;
        margin: 0 0 30px 0;
        font-weight: 700;
        color: #1d1d1f;
        letter-spacing: 1px;
        text-align: right;
      }

      .about-text {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 40px;
      }

      .about-intro {
        font-size: 1rem;
        line-height: 1.6;
        color: #1d1d1f;
        margin: 0 0 20px 0;
      }

      .about-more {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
      }

      .about-more.expanded {

        max-height: 1000px;
      }

      .about-more p {
        font-size: 1rem;
        line-height: 1.6;
        color: #1d1d1f;
        margin: 15px 0;
        opacity: 0.9;
      }

      .read-more-btn {
        background: none;
        color: #1d1d1f;
        border: 2px solid #1d1d1f;
        padding: 12px 24px;
        font-size: 16px;
        font-weight: bold;
        text-transform: lowercase;
        letter-spacing: 0.5px;
        cursor: pointer;
        transition: all 0.3s ease;
        align-self: center;
      }

      .read-more-btn:hover {
        background: #1d1d1f;
        color: #f5f5f7;
      }

      .spazio-content {
        max-width: 1000px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        height: 100%;
        justify-content: center;
        position: relative;
      }

      .spazio-content h2 {
        font-size: 2rem;
        margin: 0;
        font-weight: 700;
        color: #1d1d1f;
        letter-spacing: 1px;
        text-align: right;
      }

      .subsection {
        margin: 0 0 30px 0;
        font-size: 2rem;
        font-weight: 700;
        color: #1d1d1f;
        letter-spacing: 0.5px;
        text-align: right;
      }

      .carousel-container {
        flex: 1;
        position: relative;
        width: 100%;
        max-width: var(--width);
        display: flex;
        align-items: center;
        gap: 20px;
      }

      .carousel-wrapper {
        flex: 1;
        overflow: hidden;
      }

      .carousel-track {
        display: flex;
        transition: transform 0.4s ease;
        gap: 10px;
      }

      .carousel-slide {
        flex: 0 0 calc(50% - 5px);
        min-width: calc(50% - 5px);
      }

      .carousel-image {
        width: 100%;
        height: 350px;
        object-fit: cover;
        cursor: pointer;
        transition: opacity 0.3s ease;
      }

      .carousel-image:hover {
        opacity: 0.95;
      }

      .carousel-arrow {
        background: none;
        color: #1d1d1f;
        border: none;
        height: 80px;
        font-size: 40px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.3s ease;
        flex-shrink: 0;
      }

      .carousel-arrow:hover {
        color: #000000;
      }

      .carousel-arrow:disabled {
        opacity: 0;
        cursor: not-allowed;
      }

      .spazio-text {
        margin-top: 40px;
        max-width: var(--width);
      }

      .spazio-intro {
        font-size: 1rem;
        line-height: 1.6;
        color: #1d1d1f;
        margin: 0;
        text-align: left;
      }

      /* Podcast Section */
      .podcast-content {
        max-width: var(--width);
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        height: 80vh;
        justify-content: center;
        position: relative;
      }

      .podcast-content h2 {
        font-size: 2rem;
        margin: 0 0 30px 0;
        font-weight: 700;
        color: #1d1d1f;
        letter-spacing: 1px;
        text-align: right;
      }

      .podcast-text {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 40px;
      }

      .podcast-intro {
        font-size: 1rem;
        line-height: 1.6;
        color: #1d1d1f;
        margin: 0 0 20px 0;
      }

      .podcast-btn {
        background: none;
        color: #1d1d1f;
        padding: 12px 24px;
        font-size: 16px;
        border: 2px solid #1d1d1f;
        font-weight: bold;
        text-transform: lowercase;
        letter-spacing: 0.5px;
        cursor: pointer;
        transition: all 0.3s ease;
        align-self: center;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
      }

      .podcast-btn:hover {
        background: #1d1d1f;
        color: #f5f5f7;
      }

      .podcast-btn:hover .substack-icon {
        color: #f5f5f7;
      }

      .substack-icon {
        width: 16px;
        height: 16px;
        transition: color 0.3s ease;
      }

      /* News Section */
      .news-content {
        max-width: var(--width);
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
        height: 80vh;
        justify-content: center;
        position: relative;
      }

      .news-content h2 {
        font-size: 2rem;
        margin: 0 0 30px 0;
        font-weight: 700;
        color: #1d1d1f;
        letter-spacing: 1px;
        text-align: right;
      }

      .news-text {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 40px;
        width: 100%;
      }

      .news-intro {
        font-size: 1rem;
        line-height: 1.6;
        color: #1d1d1f;
        margin: 0 0 20px 0;
        text-align: center;
      }

      .news-btn {
        background: none;
        color: #1d1d1f;
        padding: 12px 24px;
        font-size: 16px;
        border: 2px solid #1d1d1f;
        font-weight: bold;
        text-transform: lowercase;
        letter-spacing: 0.5px;
        cursor: pointer;
        transition: all 0.3s ease;
        align-self: center;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
      }

      .news-btn:hover {
        background: #1d1d1f;
        color: #f5f5f7;
      }

      .news-btn:hover .linktree-icon {
        color: #f5f5f7;
      }

      .linktree-icon {
        width: 16px;
        height: 16px;
        transition: color 0.3s ease;
      }

      /* Contatti Section */
      .contatti-content {
        max-width: var(--width);
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        height: 80vh;
        width: 100%;
        justify-content: center;
        position: relative;
      }

      @media (min-width: 769px) {
        .contatti-section {
          position: relative;
          left: calc(-15vw / 2);
          width: 100vw;
          margin-left: calc(-15vw / 2);
        }
      }

      .contatti-content h2 {
        font-size: 2rem;
        margin: 0 0 40px 0;
        font-weight: 700;
        color: #1d1d1f;
        letter-spacing: 1px;
        text-align: right;
        width: 100%;
      }

      .contatti-wrapper {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 60px;
        width: 100%;
      }

      .contatti-logo {
        width: 60%;
        height: auto;
        flex-shrink: 0;
      }

      .contatti-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
        flex: 1;
      }

      .contact-item {
        display: flex;
        align-items: center;
        gap: 15px;
        color: #1d1d1f;
        text-decoration: none;
        font-size: 16px;
        transition: all 0.3s ease;
        padding: 10px 0;
        border-bottom: 1px solid transparent;
      }

      .contact-item:hover {
        transform: translateX(10px);
        border-bottom: 1px solid #1d1d1f;
      }

      .contact-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
      }

      .contact-item span {
        font-weight: 500;
        letter-spacing: 0.3px;
      }
      @media (max-width: 768px) {
        .carousel-container {
          gap: 10px;
        }

        .carousel-wrapper {
          width: 100%;
        }

        .carousel-track {
          gap: 0;
        }
        
        .carousel-slide {
          flex: 0 0 100%;
          min-width: 100%;
          width: 100%;
        }

        .carousel-image {
          height: 250px;
          width: 100%;
          object-fit: cover;
        }

        .carousel-arrow {
          font-size: 30px;
          padding: 0 10px;
        }
      }

      /* Archivio Section */
      .archivio-content {
        max-width: 1000px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        height: 100%;
        margin-top:100px;
        margin-bottom:100px;
        justify-content: center;
        position: relative;
      }

      .archivio-content h2 {
        font-size: 2rem;
        margin: 0 0 30px 0;
        font-weight: 700;
        color: #1d1d1f;
        letter-spacing: 1px;
        text-align: right;
      }

      /* Gallery - CSS Columns Masonry Layout */
      .archivio-gallery {
        width: 100%;
        column-count: 2;
        column-gap: 20px;
        margin-bottom: 40px;
      }

      .gallery-item {
        position: relative;
        cursor: pointer;
        overflow: hidden;
        background: #f0f0f0;
        width: 100%;
        break-inside: avoid;
        margin-bottom: 20px;
        display: inline-block;
      }

      .gallery-item.portrait {
        aspect-ratio: 3/4;
      }

      .gallery-item.landscape {
        aspect-ratio: 16/9;
      }

      .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }

      .gallery-item:hover {
        cursor: pointer;
      }

      .gallery-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
        color: white;
        padding: 20px 15px 15px;
        font-size: 14px;
        line-height: 1.4;
        display: -webkit-box;
        text-align: justify;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      /* Modal - Optimized for performance */
      .modal {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        background: rgba(0, 0, 0, 0.95);
        z-index: 10000;
        justify-content: center;
        align-items: center;
        padding: 20px;
        margin-left: 15vw;
        width: 85vw;
        visibility: hidden;
        opacity: 0;
        display: flex;
        contain: layout style paint;
      }

      .modal.active {
        visibility: visible;
        opacity: 1;
      }

      .modal-content {
        max-width: 90vw;
        max-height: 90vh;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .modal-image {
        max-width: 100%;
        max-height: 70vh;
        object-fit: contain;
        display: block;
      }

      .modal-text-container {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        position: relative;
        width: 100%;
      }

      .modal-text {
        color: white;
        max-width: 600px;
        text-align: center;
        font-size: 16px;
        line-height: 1.6;
        margin: 0;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      /* Modal navigation arrows */
      .modal-nav {
        background: none;
        color: white;
        border: none;
        font-size: 24px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: opacity 0.3s ease;
        z-index: 10002;
        padding: 0;
        flex-shrink: 0;
      }

      .modal-nav:hover {
        opacity: 0.7;
      }

      .modal-nav.disabled {
        opacity: 0.2;
        cursor: not-allowed;
      }

      /* Desktop: arrows positioned beside text */
      @media (min-width: 769px) {
        .modal-text-container {
          gap: 30px;
        }
      }

      /* Hide mobile navigation on desktop */
      .modal-navigation {
        display: none;
      }

      /* Hide desktop navigation on mobile */
      @media (min-width: 769px) {
        .mobile-only {
          display: none !important;
        }
      }

      @media (max-width: 768px) {
        .desktop-only {
          display: none !important;
        }

        .modal-text {
          font-size: 14px;
          line-height: 1.4;
          max-width: 90%;
        }
        
        .modal-navigation {
          display: flex;
          gap: 60px;
          justify-content: center;
          position: fixed;
          bottom: 80px;
          left: 50%;
          transform: translateX(-50%);
          z-index: 10003;
        }
        
        .modal-navigation .modal-nav {
          position: static;
          transform: none;
          margin: 0;
          font-size: 28px;
          width: 44px;
          height: 44px;
        }
      }
      
      .modal-loader {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 50px;
        height: 50px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-top-color: white;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        z-index: 1;
      }
      
      @keyframes spin {
        to { transform: translate(-50%, -50%) rotate(360deg); }
      }


      .modal-close {
        position: absolute;
        top: 0px;
        right: 60px;
        color: white;
        font-size: 40px;
        cursor: pointer;
        background: none;
        border: none;
        z-index: 10001;
        transition: opacity 0.3s;
      }

      .modal-close:hover {
        opacity: 0.7;
      }

      .archivio-text {
        margin-top: 40px;
        max-width: var(--width);
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .archivio-intro {
        font-size: 1rem;
        line-height: 1.6;
        color: #1d1d1f;
        margin: 0;
        text-align: left;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
        width: 100%;
      }

      .archivio-intro.expanded {
        max-height: 500px;
        margin-bottom: 20px;
      }

      .archivio-btn {
        background: none;
        color: #1d1d1f;
        border: 2px solid #1d1d1f;
        padding: 12px 24px;
        font-size: 16px;
        font-weight: bold;
        text-transform: lowercase;
        letter-spacing: 0.5px;
        cursor: pointer;
        transition: all 0.3s ease;
        align-self: center;
      }

      .archivio-btn:hover {
        background: #1d1d1f;
        color: #f5f5f7;
      }

      /* Footer Section */
      .footer-section {
        background: #1d1d1f;
        color: #f5f5f7;
        padding: 60px 40px 40px 40px;
        margin-top: 80px;
      }

      @media (min-width: 769px) {
        .footer-section {
          position: relative;
          left: calc(-15vw / 2);
          width: 100vw;
          margin-left: calc(-15vw / 2);
        }
      }

      /* Sidebar hidden state */
      .sidebar.hidden {
        opacity: 0 !important;
        pointer-events: none;
      }

      .footer-content {
        max-width: 1000px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 40px;
      }

      .footer-logo-svg {
        height: 50px;
        width: auto;
        filter: invert(1);
      }

      .footer-info p {
        margin: 5px 0;
        font-size: 14px;
        opacity: 0.8;
      }

      .footer-links {
        display: flex;
        gap: 30px;
      }

      .footer-links a {
        color: #f5f5f7;
        text-decoration: none;
        font-size: 14px;
        text-transform: lowercase;
        letter-spacing: 0.5px;
        transition: opacity 0.3s ease;
      }

      .footer-links a:hover {
        opacity: 0.7;
      }

      /* Mobile adjustments for about section */
      @media (max-width: 768px) {
        .content-wrapper {
          margin-left: 0;
          width: 100vw;
        }
        

        .about-section {
          padding: 20px 0px;
        }
        .about-content {
            height: auto;
            min-height: 80vh;;
        }

        .about-content h2 {
          font-size: 2.5rem;
        }

        .about-intro {
          font-size: 1rem;
        }

        .about-more p {
          font-size: 1rem;
        }

        .spazio-section {
          padding: 20px 0px;
        }

        .spazio-content h2 {
          font-size: 2.5rem;
        }



        .spazio-intro {
          font-size: 1rem;
        }

        .base-section {
          min-height: calc(100vh - 73px);
          padding-top: 93px;
          text-align: justify;
        }

        .ink-trail-container {
          display: none;
        }

        .footer-section {
          padding: 40px 20px 30px 20px;
          margin-top: 40px;
        }

        .footer-content {
          flex-direction: column;
          text-align: center;
          gap: 30px;
        }

        .footer-links {
          gap: 20px;
        }

        .archivio-section {
          padding: 20px 0px;
        }

        .archivio-content h2 {
          font-size: 2.5rem;
        }

        .archivio-gallery {
          column-count: 1;
          column-gap: 0;
        }

        .gallery-caption {
          font-size: 11px;
        }

        .archivio-content {
          margin-bottom: 30px;
          margin-top: 80px;
        }

        .gallery-item {
          width: 100%;
          margin-bottom: 15px;
        }

        .gallery-item.portrait {
          aspect-ratio: 3/4;
        }

        .gallery-item.landscape {
          aspect-ratio: 16/9;
        }

        
        .modal {
          margin-left: 0px;
          width: unset;
        }

        .modal-close {
          top: 80px;
          right: 10px;
          font-size: 30px;
        }


        .archivio-intro {
          font-size: 1.1rem;
        }


        .podcast-content h2 {
          font-size: 2.5rem;
        }

        .podcast-intro {
          font-size: 1rem;
        }


        .news-content h2 {
          font-size: 2.5rem;
        }

        .news-intro {
          text-align: left;
          font-size: 1rem;
        }

        .contatti-section {
          padding: 20px;
        }

        .contatti-content h2 {
          font-size: 2.5rem;
        }

        .contatti-wrapper {
          flex-direction: column;
          gap: 30px;
        }

        .contatti-logo {
          display: none;
        }

        .contatti-links {
          gap: 15px;
          width: 100%;
        }

        .contact-item {
          font-size: 14px;
        }

        .contact-item:hover {
          transform: translateX(5px);
        }
      }

      /* Language Selector */
      .logo-language-group {
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .language-selector {
        text-align: center;
        font-size: 14px;
        padding: 0 10px;
        margin-top: 20px;
      }

      .language-selector a {
        color: #1d1d1f;
        text-decoration: none;
        font-weight: 500;
        transition: opacity 0.3s ease;
      }

      .language-selector a:hover {
        opacity: 0.7;
      }

      .language-selector a.lang-active {
        font-weight: 700;
      }

      .lang-separator {
        color: #1d1d1f;
        margin: 0 8px;
        opacity: 0.5;
      }

      /* Mobile language selector in header */
      @media (max-width: 768px) {
        .language-selector {
          display: none; /* Hide desktop selector on mobile */
        }
      }

      /* Language selector in mobile menu */
      .language-selector-mobile {
        margin-top: 100px;
        
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        width: fit-content;
      }

      .language-selector-mobile a {
        color: #1d1d1f;
        text-decoration: none;
        font-weight: 500;
        transition: opacity 0.3s ease;
      }

      .language-selector-mobile a:hover {
        opacity: 0.7;
      }

      .language-selector-mobile a.lang-active {
        font-weight: 700;
      }

      .language-selector-mobile .lang-separator {
        color: #1d1d1f;
        opacity: 0.5;
      }

      /* Hero Language Selector */
      .hero-language-selector {
        text-align: center;
        font-size: 14px;
        margin-bottom: 30px;
      }

      .hero-language-selector a {
        color: #1d1d1f;
        text-decoration: none;
        font-weight: 500;
        transition: opacity 0.3s ease;
      }

      .hero-language-selector a:hover {
        opacity: 0.7;
      }

      .hero-language-selector a.lang-active {
        font-weight: 700;
      }

      .hero-language-selector .lang-separator {
        color: #1d1d1f;
        margin: 0 8px;
        opacity: 0.5;
      }

