:root {
  --cassiopeia-color-primary: #51b6b6;
  --cassiopeia-color-link: #0a5c8f;
  --cassiopeia-color-hover: #00687a;
}

/* Sezione hero */
.hero-home {
  padding: 4rem 0;
  background-color: #f5f7fb;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn-cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  background-color: var(--cassiopeia-color-primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.btn-cta:hover {
  background-color: var(--cassiopeia-color-hover);
  color: #ffffff;
}

.hero-photo img {
  max-width: 320px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
/* Sezione About home */
.about-home {
  padding: 3rem 0;
  background-color: #ffffff;
}

.about-inner {
  max-width: 900px;
  margin: 0 auto;
}

.about-home h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-home p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

/* Sezione Prestazioni Mediche */
/* Sezione Prestazioni mediche */
.prestazioni-home {
  padding: 3.5rem 0;
  background-color: #f5f7fb; /* o il colore che hai sul Canva */
}

.prestazioni-header {
  text-align: center;
  margin-bottom: 2rem;
}

.prestazioni-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.prestazioni-header p {
  font-size: 1.05rem;
  color: #555555;
  max-width: 700px;
  margin: 0 auto;
}

/* Griglia card */
.prestazioni-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

/* Card */
.prestazione-card {
  background-color: #ffffff;
  border-radius: 1.2rem;
  padding: 1.5rem 1.5rem 1.8rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.prestazione-image {
  width: 100%;
  margin-bottom: 1rem;
}

.prestazione-image img {
  width: 100%;
  border-radius: 1rem;
  display: block;
  object-fit: cover;
}

.prestazione-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.prestazione-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #444444;
  margin-bottom: 1.2rem;
}

/* Bottone "Entra" */
.btn-prestazione {
  margin-top: auto;
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background-color: var(--cassiopeia-color-primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-prestazione:hover {
  background-color: var(--cassiopeia-color-hover);
  color: #ffffff;
}

/* Mobile */
@media (max-width: 768px) {
  .prestazioni-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive per mobile */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-photo img {
    max-width: 220px;
  }
}

/* sezione contatti */
.contacts-home {
  padding: 3.5rem 0;
  background-color: #51b6b6;
}

.contacts-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr; /* studio leggermente più largo del parcheggio */
  gap: 2rem;
}

.contacts-column {
  background-color: #f9fafc;
  border-radius: 1rem;
  padding: 1.5rem 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.contacts-info h2,
.contacts-info h3 {
  margin-bottom: 0.75rem;
}

.contacts-info h2 {
  font-size: 1.7rem;
}

.contacts-info h3 {
  font-size: 1.3rem;
}

.contacts-info p {
  margin-bottom: 0.4rem;
  font-size: 0.97rem;
  line-height: 1.6;
}

.contacts-info a {
  color: var(--cassiopeia-color-link);
  text-decoration: none;
}

.contacts-info a:hover {
  text-decoration: underline;
}

.contacts-map {
  margin-top: 1rem;
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 260px;
  border-radius: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
  .contacts-inner {
    grid-template-columns: 1fr;
  }

  .contacts-column {
    padding: 1.3rem 1.4rem;
  }

  .contacts-map iframe {
    height: 220px;
  }
}