* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #222;
  background: #ff6600;
}

/* NAVBAR */
.navbar {
  background: #ff6600;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  height: 54px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  font-weight: bold;
  font-size: 35px;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

/* HERO */
.hero {
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
  url('immagini/team-thiene-last.png') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 130px 40px;
}

.hero h1 {
  font-size: 48px;
  font-weight: bold;
  margin: 0 0 18px 0;
  line-height: 5.2;
}

.hero p {
  font-size: 22px;
  margin: 0 0 36px 0;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background: #ff6600;
  color: white;
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: #e05500;
  transform: scale(1.03);
}

/* SERVIZI */
.services {
  background: #f5f5f5;
  padding: 60px 50px;
  text-align: center;
}

.services h2 {
  font-size: 32px;
  font-weight: bold;
  margin: 0 0 36px 0;
  text-align: left;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: white;
  padding: 28px 22px;
  border-radius: 10px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  cursor: pointer;
  text-align: left;
}

.card h3 {
  font-size: 22px;
  margin: 0 0 10px 0;
}

.card p {
  font-size: 18px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
  background: #ff6600;
  color: #111;
}

.card:hover p {
  color: #333;
}

/* ABOUT */
.about {
  background: white;
  padding: 60px 50px;
  max-width: 1200px;
  margin: 24px auto;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
}

.about h2 {
  font-size: 30px;
  font-weight: bold;
  border-bottom: 2px solid #eee;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.about h3 {
  font-size: 25px;
  font-weight: bold;
  margin-top: 32px;
  margin-bottom: 16px;
}

.about p {
  font-size: 20px;
  line-height: 1.75;
  margin-bottom: 14px;
  color: #333;
}

.about ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about ul li {
  font-size: 20px;
  padding: 5px 0;
  color: #333;
}

/* CTA */
.cta {
  background: #111;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.cta h2 {
  font-size: 32px;
  margin: 0 0 14px 0;
  font-weight: bold;
}

.cta p {
  font-size: 18px;
  opacity: 0.8;
  margin: 0 0 30px 0;
}

/* ===== PAGINE INTERNE ===== */
.page-hero {
  background: #555;
  color: white;
  padding: 80px 40px;
  text-align: center;
}

.page-hero h1 {
  font-size: 42px;
  margin: 0 0 12px 0;
}

.page-hero p {
  font-size: 22px;
  opacity: 0.9;
  margin: 0;
}

.page-content {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 50px 70px;
  background: white;
}

.page-content h2 {
  font-size: 25px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 16px;
  border-left: 4px solid #ff6600;
  padding-left: 14px;
}

.page-content p {
  font-size: 20px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 16px;
}

.page-content ul {
  padding-left: 20px;
  margin: 0 0 20px 0;
}

.page-content ul li {
  font-size: 20px;
  color: #333;
  padding: 6px 0;
  line-height: 1.6;
}

.back-link {
  display: inline-block;
  margin: 30px 0 0 0;
  color: #ff6600;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
}

.back-link:hover {
  text-decoration: underline;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.offer-card {
  background: #fff3e6;
  border-radius: 10px;
  padding: 26px 20px;
  border: 1px solid #ff6600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.1);
}

.offer-card h3 {
  font-size: 22px;
  margin: 0 0 8px 0;
}

.offer-card p {
  font-size: 18px;
  color: #555;
  margin: 0;
}

.offer-card .price {
  font-size: 24px;
  font-weight: bold;
  color: #ff6600;
  margin: 12px 0 6px 0;
}

/* CONTATTI PAGE */
.contatti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.sede-card {
  border-radius: 12px;
  padding: 30px 26px;
  box-shadow: 0 3px 10px rgba(255,102,0,0.12);
  /* testo bianco per le card con foto di sfondo */
  color: white;
}

.sede-card.principale {
  border-top: 4px solid #ff6600;
}

.sede-card h3 {
  font-size: 20px;
  margin: 0 0 6px 0;
  color: white;
}

.sede-card .badge {
  display: inline-block;
  background: white;
  color: #ff6600;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sede-card .info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  color: white;
  line-height: 1.5;
}

.sede-card .info-row .icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.sede-card a {
  color: #ffcc99;
  text-decoration: none;
}

.sede-card a:hover {
  text-decoration: underline;
  color: white;
}

/* Responsive */
@media (max-width: 1200px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 18px;
  }

  .about, .page-content {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 26px;
  }

  .navbar {
    padding: 0 15px;
  }

  .nav-brand {
    font-size: 15px;
  }
}
.sede-card,
.sede-card h3,
.sede-card .info-row,
.sede-card .info-row span {
  color: white !important;
}
.sede-card h3 {
  color: white !important;
}