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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  background: #f5f5f0;
  font-size: 16px;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ─── NAV ─── */
nav {
  background: #0F6E56;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo img {
  height: 40px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  justify-content: center;
}

.nav-admin {
  color: #c8f0e0;
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

.nav-admin:hover {
  color: white;
  border-bottom: 2px solid #5DCAA5;
  padding-bottom: 2px;
}

.nav-links a {
  color: #c8f0e0;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
  border-bottom: 2px solid #5DCAA5;
  padding-bottom: 2px;
}


/* ─── HERO ─── */
.hero {
  background: #0F6E56;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  color: #9FE1CB;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: white;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero p {
  color: #9FE1CB;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #5DCAA5;
  color: #04342C;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #1D9E75;
  color: white;
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.45);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  transition: background 0.2s;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.hero-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-card .icon {
  font-size: 22px;
  color: #5DCAA5;
}

.hero-card strong {
  display: block;
  color: white;
  font-size: 14px;
}

.hero-card span {
  color: #9FE1CB;
  font-size: 12px;
}

/* ─── ORARI STRIP ─── */
.orari-strip {
  background: #04342C;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.orari-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9FE1CB;
  font-size: 13px;
}

.orari-item .icon {
  color: #5DCAA5;
  font-size: 17px;
}

.orari-sep {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,0.15);
}

/* ─── SECTIONS ─── */
.section {
  padding: 2.5rem 2rem;
}

.section-bg {
  background: #EAF3DE;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
}

.section-title span {
  color: #0F6E56;
}

.section-link {
  font-size: 14px;
  color: #0F6E56;
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-link:hover {
  text-decoration: underline;
}

/* ─── OFFERTE ─── */
.offerte-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.offerte-grid .offerta-card {
  flex: 0 1 220px;
}

.offerta-card {
  background: white;
  border: 1px solid #e8e8e4;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.offerta-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.offerta-img {
  height: 110px;
  background: #EAF3DE;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 44px;
}

.offerta-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #E24B4A;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.offerta-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.offerta-body h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.offerta-body p {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

.offerta-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.price-new {
  font-size: 18px;
  font-weight: 700;
  color: #0F6E56;
}

.price-old {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
}

/* ─── SERVIZI ─── */
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.servizio-card {
  background: white;
  border: 1px solid #e8e8e4;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: box-shadow 0.2s;
}

.servizio-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.servizio-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #E1F5EE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 26px;
}

.servizio-card h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #1a1a1a;
}

.servizio-card p {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

/* ─── REPARTI ─── */
.reparti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

.reparto-card {
  background: white;
  border: 1px solid #C0DD97;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.reparto-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0F6E56;
  flex-shrink: 0;
}

.reparto-card span {
  font-size: 14px;
  font-weight: 500;
  color: #085041;
}

/* ─── TESSERA ─── */
.tessera-section {
  background: white;
  border: 1px solid #e8e8e4;
  border-radius: 12px;
  margin: 0 2rem 2.5rem;
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.tessera-icon {
  width: 64px;
  height: 64px;
  background: #EAF3DE;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 32px;
}

.tessera-text h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.tessera-text p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

.tessera-badge {
  background: #EAF3DE;
  color: #3B6D11;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ─── FOOTER ─── */
footer {
  background: #04342C;
  padding: 2.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-logo img {
  height: 36px;
  opacity: 0.9;
}

.footer-col h4 {
  color: #5DCAA5;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.footer-col p,
.footer-col a {
  color: #9FE1CB;
  font-size: 13px;
  line-height: 2;
  display: block;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span {
  color: #5DCAA5;
  font-size: 12px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #9FE1CB;
  transition: background 0.2s;
}

.social-link:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .hero-cards {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: unset;
    width: 100%;
  }

  .hero-card {
    flex: 1 1 140px;
  }

  nav {
    padding: 0 1rem;
  }

  .nav-links {
    display: none;
  }

  .tessera-section {
    flex-direction: column;
    margin: 0 1rem 2rem;
    text-align: center;
  }

  .orari-strip {
    gap: 1rem;
  }

  .orari-sep {
    display: none;
  }
}
