@media (max-width: 1260px) {
  :root {
    --header-height: 78px;
  }

  .navbar {
    padding: 0 18px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-panel {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: calc(100vh - var(--header-height));
    padding: 18px;
    display: block;
    overflow-y: auto;
    background: rgba(5, 5, 5, 0.98);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-115%);
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.35s ease;
  }

  .menu-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links {
    display: block;
  }

  .nav-links > li {
    border-bottom: 1px solid var(--line);
  }

  .nav-links a,
  .dropdown-toggle {
    width: 100%;
    min-height: 55px;
    padding: 0 4px;
    justify-content: space-between;
    font-size: 13px;
  }

  .nav-links > li > a::after,
  .dropdown-toggle::after {
    right: auto;
    bottom: -1px;
    left: 0;
    width: 42px;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    display: none;
    padding: 5px 0 12px 13px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-dropdown.expanded .dropdown-menu {
    display: block;
  }

  .has-dropdown.expanded .arrow {
    transform: rotate(180deg);
  }

  .dropdown-menu a {
    padding: 0 12px;
    border-left: 1px solid rgba(255, 90, 0, 0.38);
  }

  .booking-button {
    width: 100%;
    margin-top: 18px;
  }

  .hero {
    background-position: 58% center;
  }

  .hero-content {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero-content > * {
    max-width: 590px;
  }

  .hero-title {
    font-size: clamp(76px, 11vw, 126px);
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding-top: 78px;
    align-items: flex-end;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.1) 42%, rgba(0, 0, 0, 0.94) 72%, #050505 100%),
      url("../images/hero/hero-marco-trullu-base.webp") 68% top / auto 62vh no-repeat,
      #050505;
  }

  .hero-content {
    width: 100%;
    padding: 56vh 20px 64px;
    text-align: center;
  }

  .hero-content > * {
    max-width: none;
  }

  .hero-kicker {
    letter-spacing: 4px;
  }

  .hero-title {
    align-items: center;
    font-size: clamp(64px, 19vw, 112px);
    line-height: 0.82;
    letter-spacing: -5px;
  }

  .hero-tagline {
    letter-spacing: 2px;
  }

  .hero-projects {
    justify-content: center;
  }

  .hero-platforms {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-contact-rail {
    display: none;
  }
}

@media (max-width: 580px) {
  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 43px;
    height: 43px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small {
    font-size: 6.5px;
    letter-spacing: 1.1px;
  }

  .hero-content {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-title {
    letter-spacing: -3px;
  }

  .hero-kicker {
    font-size: 9px;
  }

  .hero-projects {
    gap: 2px;
  }

  .hero-project {
    width: 31%;
    min-width: 0;
    padding-right: 7px;
    padding-left: 7px;
  }

  .hero-project img {
    height: 57px;
  }

  .hero-project:first-child img {
    width: 58px;
  }

  .hero-platforms {
    gap: 14px;
  }

  .hero-platforms img {
    height: 22px;
    max-width: 120px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-button {
    width: 100%;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 390px) {
  .brand-text small {
    display: none;
  }
}


@media (max-width: 1180px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card {
    min-height: 640px;
  }
}

@media (max-width: 760px) {
  .explore-section {
    padding: 95px 16px 105px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2 {
    letter-spacing: -3px;
  }

  .section-intro {
    font-size: 15px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .project-card {
    min-height: min(122vw, 610px);
  }

  .project-card-content {
    padding: 21px;
  }

  .project-card h3 {
    font-size: clamp(40px, 12vw, 58px);
  }
}


@media (max-width: 980px) {
  .passion-section {
    min-height: auto;
    background-position: 63% center;
  }

  .passion-section::before {
    background:
      linear-gradient(90deg,
        rgba(5, 5, 5, 0.96) 0%,
        rgba(5, 5, 5, 0.86) 40%,
        rgba(5, 5, 5, 0.38) 72%,
        rgba(5, 5, 5, 0.52) 100%);
  }

  .passion-shell {
    padding: 100px 22px;
  }

  .passion-content {
    max-width: 620px;
  }
}

@media (max-width: 720px) {
  .passion-section {
    padding-top: 52vh;
    background-position: 58% top;
    background-size: auto 58vh;
    background-color: #050505;
  }

  .passion-section::before {
    background:
      linear-gradient(180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.16) 42%,
        rgba(5, 5, 5, 0.95) 62%,
        #050505 100%);
  }

  .passion-shell {
    padding: 54px 16px 92px;
  }

  .passion-title {
    font-size: clamp(56px, 17vw, 92px);
    letter-spacing: -4px;
  }

  .passion-kicker {
    font-size: 9px;
    letter-spacing: 2.5px;
  }

  .passion-kicker span {
    width: 34px;
  }

  .passion-lead {
    font-size: 18px;
  }

  .passion-copy p:last-child {
    font-size: 15px;
  }

  .passion-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .passion-button {
    width: 100%;
    justify-content: center;
  }

  .passion-contact {
    display: none;
  }
}


@media (max-width: 1050px) {
  .numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .numbers-section {
    padding: 92px 16px 105px;
  }

  .numbers-heading {
    margin-bottom: 34px;
  }

  .numbers-heading h2 {
    letter-spacing: -3px;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .number-card {
    min-height: 220px;
  }

  .number-value {
    letter-spacing: -3px;
  }
}


@media (max-width: 980px) {
  .brand-card-marco,
  .brand-card-80,
  .brand-card-markinox,
  .brand-card-kommexa,
  .brand-card-e20 {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .brands-section {
    padding: 96px 16px 108px;
  }

  .brands-heading {
    margin-bottom: 36px;
  }

  .brands-heading h2 {
    letter-spacing: -3px;
  }

  .brands-grid {
    display: block;
  }

  .brand-card {
    min-height: 380px;
    margin-bottom: 14px;
  }

  .brand-card:last-child {
    margin-bottom: 0;
  }

  .brand-card-visual {
    min-height: 155px;
  }

  .brand-card h3 {
    font-size: clamp(38px, 12vw, 58px);
  }
}


@media (max-width: 1180px) {
  .brands-compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .brands-heading-compact {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }

  .brands-heading-compact > p {
    max-width: 620px;
  }

  .brands-compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .brands-section-compact {
    padding: 78px 16px 88px;
  }

  .brands-heading-compact {
    margin-bottom: 27px;
  }

  .brands-heading-compact h2 {
    font-size: clamp(43px, 14vw, 62px);
    letter-spacing: -3px;
  }

  .brands-compact-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .brand-compact-card {
    min-height: 145px;
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    align-items: center;
    padding: 14px 16px;
  }

  .brand-compact-logo {
    height: 105px;
    padding: 5px 8px 5px 0;
  }

  .brand-compact-logo img {
    max-width: 90%;
    max-height: 82px;
  }

  .brand-compact-copy {
    margin: 0;
    padding-right: 20px;
  }

  .brand-compact-copy h3 {
    font-size: 19px;
  }

  .brand-compact-copy p {
    font-size: 8px;
  }

  .brand-compact-index {
    top: 11px;
    right: 12px;
  }

  .brand-compact-arrow {
    right: 13px;
    bottom: 12px;
  }
}


@media (max-width: 820px) {
  .releases-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

  .releases-heading > p {
    max-width: 620px;
  }

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

@media (max-width: 560px) {
  .releases-section {
    padding: 86px 16px 94px;
  }

  .releases-heading {
    margin-bottom: 40px;
  }

  .releases-heading h2 {
    font-size: clamp(43px, 14vw, 62px);
    letter-spacing: -3px;
  }

  .release-brand-block + .release-brand-block {
    margin-top: 54px;
  }

  .release-brand-header {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .release-player iframe {
    height: 250px;
  }

  .release-info {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .release-info h4 {
    font-size: 24px;
  }
}


@media (max-width: 1050px) {
  .live-shell {
    grid-template-columns: 1fr;
  }

  .live-media,
  .live-media img {
    min-height: 520px;
  }

  .live-content {
    max-width: 840px;
  }
}

@media (max-width: 560px) {
  .live-section {
    padding: 84px 16px 92px;
  }

  .live-shell {
    gap: 38px;
  }

  .live-media,
  .live-media img {
    min-height: 410px;
  }

  .live-media-badge {
    left: 14px;
    bottom: 14px;
  }

  .live-content h2 {
    font-size: clamp(43px, 14vw, 62px);
    letter-spacing: -3px;
  }

  .live-intro {
    margin-top: 21px;
    font-size: 15px;
  }

  .live-service {
    grid-template-columns: 32px 1fr;
    gap: 12px;
  }

  .live-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .live-actions .button {
    width: 100%;
    justify-content: center;
  }
}




@media (max-width: 680px) {
  .moments-section {
    padding: 84px 16px 94px;
  }

  .moments-heading {
    margin-bottom: 38px;
  }

  .moments-heading h2 {
    font-size: clamp(42px, 14vw, 62px);
    letter-spacing: -3px;
  }

  .moments-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .moments-cta .button {
    width: 100%;
    justify-content: center;
  }

  .gallery-lightbox {
    padding: 64px 12px 78px;
  }

  .gallery-lightbox-close {
    top: 10px;
    right: 10px;
  }

  .gallery-lightbox-nav {
    top: auto;
    bottom: 12px;
    transform: none;
  }

  .gallery-lightbox-nav:hover {
    transform: scale(1.05);
  }

  .gallery-lightbox-prev {
    left: calc(50% - 58px);
  }

  .gallery-lightbox-next {
    right: calc(50% - 58px);
  }
}


@media (max-width: 1100px) {
  .moments-masonry {
    columns: 3 220px;
    column-gap: 5px;
  }

  .moments-masonry .moment-card {
    margin-bottom: 5px;
  }
}

@media (max-width: 760px) {
  .moments-masonry {
    columns: 2 160px;
    column-gap: 4px;
  }

  .moments-masonry .moment-card {
    margin-bottom: 4px;
  }
}

@media (max-width: 480px) {
  .moments-masonry {
    columns: 1;
  }
}

/* ==========================================================
   MOBILE FIX 2026-08 — menu progetti leggibile
   ========================================================== */
@media (max-width: 1260px) {
  .menu-panel {
    z-index: 1002;
  }

  .has-dropdown.expanded .dropdown-menu {
    position: static;
    z-index: 1;
    display: block;
    margin: 0 0 10px;
    padding: 6px 0 12px 12px;
    background: rgba(255, 255, 255, 0.035);
    border-left: 1px solid rgba(255, 90, 0, 0.24);
    opacity: 1;
    visibility: visible;
  }

  .dropdown-menu li,
  .dropdown-menu a,
  .kommexa-page .dropdown-menu a,
  .markinox-page .dropdown-menu a,
  .e20xfetti-page .dropdown-menu a,
  .voglia90-page .dropdown-menu a {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .dropdown-menu a {
    min-height: 46px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 2px rgba(0,0,0,.8);
  }

  .dropdown-menu a.active,
  .dropdown-menu a[aria-current="page"] {
    color: var(--orange-light) !important;
    background: rgba(255, 90, 0, 0.1);
  }
}

/* Footer mobile più compatto, senza modificare il desktop */
@media (max-width: 760px) {
  .site-footer {
    padding-inline: 16px;
  }

  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
    padding: 52px 0 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-logo span,
  .footer-logo strong {
    font-size: clamp(40px, 14vw, 58px);
  }

  .footer-role {
    margin-top: 18px;
  }

  .footer-description {
    margin-top: 12px;
    font-size: 13px;
  }

  .footer-booking {
    margin-top: 20px;
  }

  .footer-column {
    gap: 9px;
  }

  .footer-column h2 {
    margin-bottom: 5px;
  }

  .footer-column a,
  .footer-column > span {
    font-size: 12px;
  }

  .footer-bottom {
    padding: 20px 0 22px;
    gap: 12px;
  }

  .footer-bottom nav {
    gap: 14px;
  }
}

@media (max-width: 430px) {
  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
  }

  .footer-brand,
  .footer-contacts {
    grid-column: 1 / -1;
  }
}

/* FOOTER MOBILE ULTRA-COMPATTO — desktop invariato */
@media (max-width: 760px) {
  .site-footer {
    padding-inline: 18px;
  }

  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 18px !important;
    padding: 34px 0 24px !important;
  }

  /* Il brand è già presente nell'header: su mobile evitiamo la ripetizione */
  .footer-brand {
    grid-column: 1 / -1 !important;
    max-width: none;
  }

  .footer-brand .footer-logo,
  .footer-brand .footer-role,
  .footer-brand .footer-description {
    display: none !important;
  }

  .footer-booking {
    width: 100%;
    min-height: 46px;
    margin-top: 0 !important;
    justify-content: center;
    font-size: 13px;
  }

  .footer-column {
    gap: 8px !important;
  }

  .footer-column h2 {
    margin-bottom: 4px !important;
    font-size: 9px;
    letter-spacing: 1.6px;
  }

  .footer-column a,
  .footer-column > span {
    font-size: 12px !important;
    line-height: 1.3;
  }

  /* Social in una sola fascia compatta */
  .footer-shell > .footer-column:nth-child(4) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, auto));
    justify-content: start;
    column-gap: 18px;
    row-gap: 9px;
  }

  .footer-shell > .footer-column:nth-child(4) h2 {
    grid-column: 1 / -1;
  }

  /* Contatti: su mobile basta l'email */
  .footer-contacts {
    grid-column: 1 / -1 !important;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 7px 14px !important;
  }

  .footer-contacts h2 {
    grid-column: 1 / -1;
  }

  .footer-contacts > span,
  .footer-contacts a:last-child {
    display: none !important;
  }

  .footer-bottom {
    padding: 16px 0 18px !important;
    gap: 9px !important;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom p,
  .footer-bottom a {
    font-size: 8px !important;
    letter-spacing: .45px;
  }

  .footer-bottom nav {
    gap: 14px !important;
  }
}

@media (max-width: 430px) {
  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 14px !important;
  }

  .footer-shell > .footer-column:nth-child(4) {
    grid-template-columns: repeat(2, minmax(0, auto));
  }
}

/* ==========================================================
   MOBILE MENU FIX DEFINITIVO 2026-08-01
   Corregge sottomenu Progetti invisibile su iPhone/Safari
   ========================================================== */
@media (max-width: 1260px) {
  .menu-panel,
  .menu-panel.open {
    background: #070707 !important;
  }

  .has-dropdown {
    width: 100%;
    overflow: visible !important;
  }

  .has-dropdown .dropdown-menu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 4px 0 10px 16px !important;
    display: none !important;
    list-style: none !important;
    background: #101010 !important;
    border: 0 !important;
    border-left: 2px solid #ff5a00 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    overflow: visible !important;
  }

  .has-dropdown.expanded .dropdown-menu {
    display: block !important;
  }

  .has-dropdown .dropdown-menu > li {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    background: transparent !important;
    border: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .has-dropdown .dropdown-menu > li > a,
  body .menu-panel .dropdown-menu a,
  body.markinox-page .menu-panel .dropdown-menu a,
  body.kommexa-page .menu-panel .dropdown-menu a,
  body.e20xfetti-page .menu-panel .dropdown-menu a,
  body.voglia90-page .menu-panel .dropdown-menu a {
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 1px !important;
    text-indent: 0 !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
  }

  .has-dropdown .dropdown-menu > li:last-child > a {
    border-bottom: 0 !important;
  }

  .has-dropdown .dropdown-menu a::before,
  .has-dropdown .dropdown-menu a::after {
    display: none !important;
    content: none !important;
  }

  .has-dropdown .dropdown-menu a:active,
  .has-dropdown .dropdown-menu a:hover,
  .has-dropdown .dropdown-menu a:focus,
  .has-dropdown .dropdown-menu a.active,
  .has-dropdown .dropdown-menu a[aria-current="page"] {
    background: rgba(255,90,0,.14) !important;
    color: #ff7a1a !important;
    -webkit-text-fill-color: #ff7a1a !important;
  }
}

/* ==========================================================
   FOOTER MOBILE DEFINITIVO — brand visibile e layout compatto
   ========================================================== */
@media (max-width: 760px) {
  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 18px !important;
    padding: 38px 0 26px !important;
  }

  .footer-brand {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    max-width: none !important;
  }

  .footer-brand .footer-logo {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 8px !important;
    margin: 0 0 7px !important;
  }

  .footer-brand .footer-logo span,
  .footer-brand .footer-logo strong {
    display: inline !important;
    font-size: clamp(28px, 9vw, 38px) !important;
    line-height: 1 !important;
    letter-spacing: -1.5px !important;
  }

  .footer-brand .footer-role {
    display: block !important;
    margin: 0 0 8px !important;
    font-size: 9px !important;
    line-height: 1.4 !important;
    letter-spacing: 1.6px !important;
  }

  .footer-brand .footer-description {
    display: block !important;
    max-width: 390px !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  .footer-booking {
    display: none !important;
  }

  .footer-column {
    gap: 8px !important;
  }

  .footer-column h2 {
    margin-bottom: 4px !important;
    font-size: 9px !important;
    letter-spacing: 1.6px !important;
  }

  .footer-column a,
  .footer-column > span {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  .footer-shell > .footer-column:nth-child(4) {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, auto)) !important;
    justify-content: start !important;
    column-gap: 18px !important;
    row-gap: 9px !important;
  }

  .footer-shell > .footer-column:nth-child(4) h2 {
    grid-column: 1 / -1 !important;
  }

  .footer-contacts {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    align-items: center !important;
    gap: 7px 14px !important;
  }

  .footer-contacts h2 {
    grid-column: 1 / -1 !important;
  }

  .footer-contacts > span,
  .footer-contacts a:last-child {
    display: none !important;
  }

  .footer-bottom {
    padding: 16px 0 18px !important;
    gap: 9px !important;
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .footer-bottom p,
  .footer-bottom a {
    font-size: 8px !important;
    letter-spacing: .45px !important;
  }

  .footer-bottom nav {
    gap: 14px !important;
  }
}

@media (max-width: 430px) {
  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 14px !important;
  }

  .footer-brand {
    grid-column: 1 / -1 !important;
  }

  .footer-shell > .footer-column:nth-child(4) {
    grid-template-columns: repeat(2, minmax(0, auto)) !important;
  }
}


/* ==========================================================
   FOOTER MOBILE COMPATTO V2 — identità completa, meno altezza
   ========================================================== */
@media (max-width: 760px) {
  .site-footer {
    padding-inline: 16px !important;
  }

  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px 14px !important;
    padding: 26px 0 18px !important;
  }

  .footer-brand {
    grid-column: 1 / -1 !important;
    gap: 0 !important;
  }

  .footer-brand .footer-logo {
    margin: 0 0 4px !important;
    gap: 6px !important;
  }

  .footer-brand .footer-logo span,
  .footer-brand .footer-logo strong {
    font-size: clamp(25px, 8vw, 34px) !important;
    line-height: .95 !important;
    letter-spacing: -1.2px !important;
  }

  .footer-brand .footer-role {
    margin: 0 0 5px !important;
    font-size: 8px !important;
    line-height: 1.25 !important;
    letter-spacing: 1.35px !important;
  }

  .footer-brand .footer-description {
    max-width: none !important;
    margin: 0 !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
  }

  .footer-column {
    gap: 5px !important;
  }

  .footer-column h2 {
    margin: 0 0 3px !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    letter-spacing: 1.4px !important;
  }

  .footer-column a,
  .footer-column > span {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
  }

  /* Social tutti su una sola fascia compatta */
  .footer-shell > .footer-column:nth-child(4) {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 7px 15px !important;
  }

  .footer-shell > .footer-column:nth-child(4) h2 {
    width: 100% !important;
    margin-bottom: 1px !important;
  }

  /* Contatti su una sola riga */
  .footer-contacts {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px 12px !important;
  }

  .footer-contacts h2 {
    width: 100% !important;
    margin-bottom: 1px !important;
  }

  .footer-bottom {
    padding: 12px 0 14px !important;
    gap: 6px 14px !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .footer-bottom p,
  .footer-bottom a {
    font-size: 7px !important;
    line-height: 1.25 !important;
    letter-spacing: .35px !important;
  }

  .footer-bottom nav {
    gap: 10px !important;
  }
}

@media (max-width: 430px) {
  .footer-shell {
    gap: 14px 12px !important;
    padding-top: 23px !important;
  }

  .footer-brand .footer-description {
    font-size: 10px !important;
  }

  .footer-shell > .footer-column:nth-child(4) {
    gap: 6px 12px !important;
  }
}

/* ==========================================================
   FOOTER MOBILE ORIZZONTALE — versione definitiva
   Ogni sezione resta su una riga compatta con separatori |
   Desktop invariato
   ========================================================== */
@media (max-width: 760px) {
  .site-footer {
    padding-inline: 16px !important;
  }

  .footer-shell {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 24px 0 16px !important;
  }

  .footer-brand {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 5px !important;
  }

  .footer-brand .footer-logo {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 6px !important;
    margin: 0 0 4px !important;
  }

  .footer-brand .footer-logo span,
  .footer-brand .footer-logo strong {
    font-size: clamp(24px, 7.5vw, 32px) !important;
    line-height: 1 !important;
    letter-spacing: -1px !important;
  }

  .footer-brand .footer-role {
    margin: 0 0 4px !important;
    font-size: 7.5px !important;
    line-height: 1.25 !important;
    letter-spacing: 1.15px !important;
  }

  .footer-brand .footer-description {
    max-width: none !important;
    margin: 0 !important;
    font-size: 9.5px !important;
    line-height: 1.35 !important;
  }

  .footer-booking {
    display: none !important;
  }

  .footer-column,
  .footer-contacts,
  .footer-shell > .footer-column:nth-child(4) {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 3px 0 !important;
    margin: 0 !important;
  }

  .footer-column h2,
  .footer-contacts h2,
  .footer-shell > .footer-column:nth-child(4) h2 {
    width: auto !important;
    margin: 0 9px 0 0 !important;
    color: var(--orange) !important;
    font-size: 8px !important;
    line-height: 1.5 !important;
    letter-spacing: 1.25px !important;
    white-space: nowrap !important;
  }

  .footer-column a,
  .footer-column > span,
  .footer-contacts a {
    display: inline !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255,255,255,.62) !important;
    font-size: 9.5px !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
    transform: none !important;
  }

  .footer-column a::after,
  .footer-contacts a::after {
    position: static !important;
    display: inline !important;
    width: auto !important;
    height: auto !important;
    margin: 0 6px !important;
    color: rgba(255,90,0,.72) !important;
    background: none !important;
    content: "|" !important;
  }

  .footer-column a:last-child::after,
  .footer-contacts a:last-child::after {
    display: none !important;
    content: "" !important;
  }

  .footer-contacts > span,
  .footer-contacts a:last-child:not(:first-of-type) {
    display: none !important;
  }

  .footer-bottom {
    padding: 11px 0 13px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 5px 12px !important;
  }

  .footer-bottom p,
  .footer-bottom a {
    font-size: 6.5px !important;
    line-height: 1.3 !important;
    letter-spacing: .25px !important;
  }

  .footer-bottom nav {
    gap: 0 !important;
  }

  .footer-bottom nav a + a::before {
    margin: 0 6px !important;
    color: rgba(255,90,0,.72) !important;
    content: "|" !important;
  }
}

@media (max-width: 390px) {
  .footer-column h2,
  .footer-contacts h2,
  .footer-shell > .footer-column:nth-child(4) h2 {
    width: 100% !important;
    margin-bottom: 1px !important;
  }

  .footer-bottom {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}

