/* Mobile overrides loaded after styles.css */

@media (max-width: 1024px) {
  .section {
    width: min(calc(100% - 24px), var(--max));
  }

  .services-cards-grid {
    margin-top: -18px;
    margin-bottom: 18px;
  }

  .services-why {
    padding-top: 12px;
    padding-bottom: 72px;
  }
}

@media (max-width: 900px) {
  .brand-floating {
    top: 10px;
    left: 10px;
    padding: 2px 4px 2px 0;
  }

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

  .brand-text strong {
    font-size: 1.28rem;
  }

  .menu-toggle {
    top: 12px;
    right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }

  .menu-toggle span {
    width: 20px;
  }

  .side-menu {
    width: min(330px, 88vw);
    padding: 66px 16px 20px;
  }

  .side-menu-nav a {
    font-size: 1.34rem;
    padding: 12px 14px;
  }

  .section {
    padding: 54px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 126px;
  }

  .hero-copy {
    padding-top: 2px;
  }

  h1 {
    font-size: clamp(2rem, 8.2vw, 3.25rem);
    max-width: 18ch;
  }

  .lead {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-rotating {
    font-size: clamp(1.2rem, 5.4vw, 1.8rem);
    margin-bottom: 14px;
  }

  .hero-cta {
    gap: 10px;
  }

  .stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .stats article {
    min-width: 0;
    text-align: center;
  }

  .stats strong {
    font-size: clamp(1.35rem, 5vw, 1.8rem);
  }

  .stats span {
    font-size: 0.82rem;
  }

  .shop-preview .section-head {
    margin-top: -86px;
  }

  .shop-lead {
    font-size: 0.95rem;
  }

  .services-intro {
    min-height: auto;
    padding-top: 182px;
    padding-bottom: 24px;
  }

  .services-service-card {
    padding: 16px;
    border-radius: 16px;
  }

  .services-card-top {
    margin-bottom: 10px;
  }

  .services-card-badge {
    font-size: 0.7rem;
    padding: 5px 9px;
  }

  .services-mini-features {
    gap: 7px;
  }

  .services-mini-features li {
    font-size: 0.72rem;
    min-height: 26px;
    padding: 5px 9px;
  }

  .services-card-btn {
    width: 100%;
  }

  .services-card-detail {
    padding: 12px;
  }

  .services-card-detail p {
    font-size: 0.88rem;
  }

  .services-why-box {
    padding: 22px 16px 16px;
    border-radius: 16px;
  }

  .services-why-box::before {
    left: 16px;
    right: 16px;
  }

  .services-why-box h2 {
    font-size: clamp(1.28rem, 6vw, 1.9rem);
    margin-bottom: 12px;
  }

  .services-benefits-list {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .services-benefits-list li {
    min-height: 52px;
    padding: 10px 12px 10px 50px;
    font-size: 0.9rem;
  }

  .services-benefits-list li:last-child {
    grid-column: auto;
  }

  .dome-gallery-shell {
    width: 100%;
    max-width: 100%;
    height: min(50svh, 460px);
    min-height: 300px;
    border-radius: 14px;
    overflow: visible;
    margin-top: 4px;
    position: relative;
    z-index: 2;
  }

  .dome-gallery-shell.is-enlarging {
    z-index: 60;
  }

  .dg-frame {
    width: min(96vw, 760px);
    height: min(84svh, 760px);
  }

  .dg-enlarge {
    background: rgba(2, 8, 16, 0.8);
  }

  .dg-enlarge img {
    object-fit: contain;
    background: rgba(2, 8, 16, 0.8);
  }

  .contact-hero {
    min-height: auto;
    padding-top: 182px;
    padding-bottom: 20px;
  }

  .contact-hero-actions {
    margin-top: 18px;
    gap: 10px;
  }

  .contact-trust-list {
    gap: 7px;
    margin-top: 14px;
  }

  .contact-trust-list li {
    font-size: 0.74rem;
  }

  .contact-hub {
    padding-top: 10px;
    padding-bottom: 62px;
  }

  .contact-hub-grid {
    gap: 12px;
  }

  .contact-channel-card {
    padding: 14px;
    border-radius: 16px;
  }

  .contact-form-advanced {
    padding: 14px;
    border-radius: 16px;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: var(--cookie-banner-offset, 10px);
    width: auto;
    padding: 16px 14px 15px;
    border-radius: 18px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cookie-banner-copy h2 {
    font-size: 1.28rem;
  }

  .cookie-banner-actions .btn,
  .cookie-modal-actions .btn,
  .cookie-secondary-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .cookie-modal {
    width: min(calc(100% - 18px), 760px);
    max-height: min(90vh, 900px);
    padding: 20px 14px 16px;
    border-radius: 18px;
  }

  .cookie-modal-head {
    padding-right: 40px;
  }

  .cookie-modal-head h2 {
    font-size: 1.34rem;
  }

  .cookie-category-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
  }

  .cookie-category-control {
    width: 100%;
    justify-content: space-between;
  }

  .cookie-modal-actions {
    grid-template-columns: 1fr;
  }

  .cookie-banner-links,
  .cookie-modal-links {
    gap: 6px;
    font-size: 0.82rem;
  }

  .legal-hero {
    min-height: auto;
    padding-top: 182px;
    padding-bottom: 18px;
  }

  .legal-hero-shell {
    padding: 24px 16px;
    border-radius: 18px;
  }

  .legal-hero-actions {
    gap: 10px;
  }

  .legal-hero-meta {
    font-size: 0.8rem;
  }

  .legal-content {
    padding-top: 10px;
    padding-bottom: 62px;
  }

  .legal-intro {
    padding: 14px;
    border-radius: 16px;
    margin-bottom: 12px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .legal-card,
  .legal-card-wide {
    grid-column: auto;
  }

  .legal-card {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .legal-card h2 {
    font-size: 1.16rem;
    margin-bottom: 10px;
  }

  #gallery.section {
    padding-top: 40px;
    padding-bottom: 46px;
  }

  #gallery .section-head {
    margin-bottom: 96px;
    position: relative;
    z-index: 6;
  }

  .gallery-section .section-head {
    width: min(calc(100% - 20px), 1740px);
  }

  #contatti.section {
    padding-top: 62px;
  }

  .contact {
    gap: 18px;
  }
}

@media (min-width: 901px) and (max-width: 1180px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 24px;
  }

  .shop-preview {
    padding-top: 12px;
  }

  .shop-preview .section-head {
    margin-top: -64px;
  }

  .shop-proximity {
    line-height: 1.06;
  }
}

@media (max-width: 720px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .shop-preview .section-head {
    margin-top: -88px;
  }

  #gallery .section-head {
    margin-bottom: 24px;
  }

  .dome-gallery-shell {
    width: 100%;
    height: min(48svh, 430px);
    min-height: 280px;
  }

  .dg-frame {
    width: min(97vw, 640px);
    height: min(82svh, 640px);
  }

  .contact-presets {
    gap: 6px;
  }

  .contact-presets button {
    font-size: 0.74rem;
    min-height: 28px;
    padding: 5px 9px;
  }
}

@media (max-width: 520px) {
  .shop-t3d-promo {
    padding: 20px 16px;
    gap: 20px;
    margin-top: 24px;
  }
  .shop-t3d-promo-copy h3 {
    font-size: clamp(1.35rem, 7vw, 1.9rem);
  }

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

  .brand-text strong {
    font-size: 1.14rem;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  .side-menu {
    width: 100vw;
    border-radius: 0;
    padding: 62px 12px 16px;
  }

  .section {
    width: min(calc(100% - 16px), var(--max));
    padding: 46px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .services-intro {
    padding-top: 188px;
  }

  .contact-hero {
    padding-top: 188px;
  }

  h1 {
    font-size: clamp(1.8rem, 8.8vw, 2.45rem);
  }

  .lead {
    font-size: 0.92rem;
  }

  .chip {
    padding: 7px 11px;
    font-size: 0.73rem;
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .stats strong {
    font-size: 1.22rem;
  }

  .stats span {
    font-size: 0.76rem;
  }

  .shop-preview .section-head {
    margin-top: -58px;
  }

  .services-cards-grid {
    margin-top: -8px;
    margin-bottom: 14px;
  }

  .services-service-card {
    padding: 14px;
  }

  .services-card-icon {
    width: 34px;
    height: 34px;
  }

  .services-card-icon svg {
    width: 17px;
    height: 17px;
  }

  .services-card-badge {
    letter-spacing: 0.04em;
  }

  .services-why {
    padding-bottom: 54px;
  }

  .services-why-box {
    padding: 18px 12px 12px;
  }

  .services-benefits-list li {
    font-size: 0.86rem;
  }

  .contact-channel-head h2 {
    font-size: 1.02rem;
  }

  .contact-form-note {
    font-size: 0.74rem;
  }

  #gallery.section {
    padding-top: 34px;
    padding-bottom: 40px;
  }

  #gallery .section-head {
    margin-bottom: 18px;
  }

  .dome-gallery-shell {
    border-radius: 12px;
    height: min(44svh, 380px);
    min-height: 260px;
  }

  .dg-frame {
    width: min(98vw, 560px);
    height: min(80svh, 560px);
  }

}
