.section-ornamenti {
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.04),
      rgba(0,0,0,0.06)
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 10 Q60 40 40 70 Q20 40 40 10 Z' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-color: #4f6f5a;
}

.section-ornamenti_B {
  background-image:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.035),
      rgba(0,0,0,0.08)
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.075)' stroke-width='1'%3E%3Cpath d='M24 16 L48 40 L72 16'/%3E%3Cpath d='M24 80 L48 56 L72 80'/%3E%3Cpath d='M16 24 L40 48 L16 72'/%3E%3Cpath d='M80 24 L56 48 L80 72'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
}


.pattern-c{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='rgba(90,62,43,0.08)' stroke-width='2'%3E%3Cpath d='M40 14 Q48 26 40 38 Q32 26 40 14 Z'/%3E%3Cpath d='M66 40 Q54 48 42 40 Q54 32 66 40 Z'/%3E%3Cpath d='M40 66 Q32 54 40 42 Q48 54 40 66 Z'/%3E%3Cpath d='M14 40 Q26 32 38 40 Q26 48 14 40 Z'/%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 80px 80px;
}


.pattern-b{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60'%3E%3Cpath d='M0 30 C20 10, 40 50, 60 30 S100 50, 120 30' fill='none' stroke='rgba(90,62,43,0.08)' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:repeat;
  background-size:120px 60px;
}

@media (max-width: 768px){

  /* Nasconde la seconda colonna realmente */
  .row-territorio .inner-column-2{
    display: none !important;
  }

  /* Forza la prima colonna a occupare tutto */
  .row-territorio .inner-column-1{
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* Rimuove eventuale gap della riga */
  .row-territorio{
    gap: 0 !important;
  }

}

.hero-row .kt-inside-inner-col{
  padding: 0 !important;
}

/* HERO: visibile solo su mobile */
.hero-mobile-only {
  display: none !important;
}

/* Mostra solo su smartphone */
@media (max-width: 768px){
  .hero-mobile-only{
    display: block !important;
  }

  /* elimina spazi laterali e line-height strani */
  .hero-mobile-only figure,
  .hero-mobile-only img{
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
  }
}