* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

.wrap {
  width: min(1100px, 92%);
  margin: auto;
}

header.header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #ddd;
}

.logo {
  height: 130px;
}

h1 {
  font-size: 2.2em;
  margin-bottom: 12px;
  color: #004080;
}

h2 {
  font-size: 1.8em;
  margin-bottom: 12px;
  color: #004080;
}

.section-content {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
}

.section.left .text {
  order: 1;
  text-align: left;
}

.section.left .image {
  order: 2;
}

.section.right .text {
  order: 2;
  text-align: right;
}

.section.right .image {
  order: 1;
}

.section .image img {
  max-width: 100%;
  height: auto;
  border-radius: 0;   /* niente stondatura */
  box-shadow: none;   /* niente ombra */
}

p {
  margin-bottom: 12px;
  font-size: 1.05em;
}

.btn {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 24px;
  background: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #0056b3;
  transform: scale(1.05);
}

footer.footer {
  padding: 40px 20px;
  text-align: center;
  background: #f3f3f3;
}

.footer-columns {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 20px;
  text-align: left;
}

footer h3 {
  margin-bottom: 12px;
  color: #004080;
}

footer p {
  margin-bottom: 12px;
}

footer small {
  display: block;
  font-size: 0.9em;
  color: #666;
}

/* Section backgrounds */
#hero { background: #ffffff; }
#chi-siamo { background: #ffffff; }
#collaboratori { background: #aacfe0; color: #fff; }
#attivita { background: #ffffff; }
#origini { background: #c2d7e3; }
#parita { background: #e7e2f0; }

/* Sezione Origini - colonna testo centrata e più stretta */
#origini .text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* Hero - rimuove margine sinistro per immagine */
#hero .section-content {
  padding-left: 0;
}

@media (max-width: 768px) {
  header.header {
    flex-direction: column;
    text-align: center;
  }
  .section-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .section.right .text,
  .section.left .text {
    text-align: center;
  }
  .footer-columns {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
