/* =====================================================
   BASE
===================================================== */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

h2 {
  color: #007c84;
  text-align: center;
  margin: 0 0 1rem;
}

h3 {
  color: #f47b20;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.2;
  min-height: 3.2rem; /* altezza default per tutto il sito */
}

/* =====================================================
   CONTENITORI
===================================================== */
.section {
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.section-bg,
.section-bg-mappa {
  width: 100%;
  padding: 3rem 1.5rem;
  box-sizing: border-box;
}

.section-bg.bg-light {
  background: #f7f7f7;
}

.section-bg-mappa {
  background: #f7f7f7;
}

/* =====================================================
   GRID
===================================================== */
.columns {
  display: grid;
  gap: 1.5rem;
}

.columns.three {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* =====================================================
   LISTE
===================================================== */
ul,
ol {
  padding-left: 1.3rem;
  margin: 0;
}

li {
  list-style-type: disc;
  margin-bottom: 0.45rem;
}

/* =====================================================
   HERO
===================================================== */
.hero img {
  width: 100%;
  display: block;
}

/* =====================================================
   MAPPA (banner)
===================================================== */
#mappa img {
  width: 100%;
  display: block;
}

/* =====================================================
   BUTTON
===================================================== */
.button {
  background: #007c84;
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  transition: background 0.3s ease;
}

.button:hover {
  background: #f47b20;
}

/* =====================================================
   NOTE
===================================================== */
.asterisco {
  color: #f47b20;
  font-weight: bold;
  margin-left: 2px;
}

.nota-servizi {
  color: #f47b20;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* =====================================================
   SERVIZI - TITOLI
===================================================== */
#servizi h3 {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =====================================================
   SERVIZI - GRID
===================================================== */
#servizi .columns.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

/* =====================================================
   RESPONSIVE GENERALE
===================================================== */
@media (max-width: 768px) {
  .section {
    padding: 2rem 1rem;
  }

  #servizi .columns.two {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   GALLERIA MASONRY
===================================================== */
.gallery {
  column-count: 3;
  column-gap: 20px;
}

.gallery img {
  width: 100%;
  margin-bottom: 20px;
  break-inside: avoid;
  border-radius: 12px;
  display: block;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE GALLERY */
@media (max-width: 768px) {
  .gallery {
    column-count: 1 !important;
    column-gap: 0 !important;
  }

  .gallery img {
    margin-left: auto;
    margin-right: auto;
    width: 92%;
    max-width: 500px;
  }
}

/* TABLET GALLERY */
@media (min-width: 769px) and (max-width: 1024px) {
  .gallery {
    column-count: 2;
    column-gap: 20px;
  }
}

/* =====================================================
   CONTENITORE GENERALE
===================================================== */
.container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   IMMAGINI DOMUS
===================================================== */
.img-domus {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 0 auto 40px 0;
  height: auto;
}

@media (max-width: 768px) {
  .img-domus {
    max-width: 100%;
  }
}

.section.img-section {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* =====================================================
   LISTE CON ICONE
===================================================== */
.icone-lista {
  list-style: none !important;
  padding: 0;
  margin: 0;
}

.icone-lista li {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.icone-lista img {
  width: 42px !important;
  height: auto !important;
}

/* PALLINI NUMERATI */
.icone-lista.numero li .bullet-numero {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: #f47b20;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================================================
   CONTATTI + COME RAGGIUNGERCI (DUE COLONNE)
===================================================== */
.colonne-contatti {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

/* titoli nelle colonne allineati a sinistra */
.colonne-contatti h2 {
  text-align: left;
}

/* mobile: una colonna sola */
@media (max-width: 768px) {
  .colonne-contatti {
    grid-template-columns: 1fr;
  }
}

/* testi 'Come raggiungerci' compatti */
.colonna-dx h3 {
  min-height: auto !important; /* disattiva min-height standard */
  margin-top: 0 !important;
  margin-bottom: 4px !important;
}

.colonna-dx p {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

/* spazio extra tra 'Metro' e 'In auto' */
.colonna-dx p + h3 {
  margin-top: 18px !important;
}

/* MAPPA CLICCABILE */
.mappa-cliccabile {
  position: relative;
  max-width: 500px;
  margin: 15px 0; /* ALLINEATA A SINISTRA */
  border-radius: 10px;
  overflow: hidden;
}

.mappa-cliccabile iframe {
  width: 100%;
  display: block;
  border: 0;
}

.mappa-cliccabile .overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

/* =====================================================
   FOOTER
===================================================== */
.footer p {
  text-align: left !important;
}
