/* ------------------------------------------------------------------- */
						/* ! CSS Personalizzato */



/* -------------------------------------------------------------------------------- */
						/* ! CSS Per Home Page */
/* -------------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------------- */
						/* ! Chi sono */
/* -------------------------------------------------------------------------------- */
.media-text-chi img{
	border-radius: 20px;
    border: 1px solid #7E6F8E;
}

@media (max-width: 768px) {
  .media-text-chi img{
    display: none;
  }
}
/* -------------------------------------------------------------------------------- */
						/* ! Le fasi del percorso */
/* -------------------------------------------------------------------------------- */

.percorso-verticale {
  padding: 0 20px;
  max-width: 1250px;
  margin: 0 auto;
}

.percorso-title {
  text-align: center;
  color: #7E6F8E;
  margin-bottom: 20px;
}

.percorso-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 70px;
  line-height: 1.7;
  font-weight: 600;
}

/* STEP */

.percorso-step {
  display: flex;
  gap: 40px;
  padding-bottom: 80px;
  position: relative;
}

.step-icon {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img {
  width: 55px;
  height: auto;
}

/* linea verticale */
.percorso-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 45px;
  top: 110px;
  width: 1px;
  height: calc(100% - 50px);
  background: #BEB6C6;
}

.step-content h3 {
  color: #7E6F8E;
  margin-bottom: 12px;
}

.step-content p {
  margin-bottom: 12px;
  line-height: 1.7;
}

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 768px) {
  .percorso-step {
    gap: 25px;
  }

  .step-icon {
    width: 70px;
    height: 70px;
  }

  .step-icon img {
    width: 45px;
  }

  .percorso-step:not(:last-child)::after {
    left: 35px;
  }
}

@media (max-width: 520px) {
  .percorso-step {
    flex-direction: column;
  }

  .percorso-step::after {
    display: none;
  }

  .step-icon {
    margin-bottom: 15px;
  }
}

/* ----------------------------------------------------------------------------------
 					! Ambiti clinici 
   ---------------------------------------------------------------------------------- */

/* ==============================
   AMBITI CLINICI
   ============================== */

.ambiti-clinici {
  padding: 0 20px;
  max-width: 1250px;
  margin: 0 auto;
}

.ambiti-title {
  text-align: center;
  color: #7E6F8E;
  margin-bottom: 20px;
}

.ambiti-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 70px;
  line-height: 1.7;
  font-weight: 600;
}

/* GRID */

.ambiti-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.ambito-card {
  background: var(--hef);
  padding: 40px 30px;
  border-radius: 14px;
  height: 100%;
}

.ambito-card h3 {
  color: #7E6F8E;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.ambito-card ul {
  padding-left: 18px;
}

.ambito-card li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 992px) {
  .ambiti-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ambiti-grid {
    grid-template-columns: 1fr;
  }

  .ambito-card {
    padding: 30px 25px;
  }
}
/* ----------------------------------------------------------------------------------
 					! CSS per il modale della mia formazione 
   ---------------------------------------------------------------------------------- */

/* Modale base */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

/* Contenuto modale */
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 1200px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Pulsante chiusura */
.close {
  color: #aaa;
  float: right;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

.modal-content h2{
	color: var(--primary);
	text-align: center;
	text-transform: uppercase;
}

.modal-content h4{
	color: var(--primary);
}

/* Lista ordinata */
.modal-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.modal-content li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media screen and (max-width: 480px) {
  .modal-content {
    padding: 1.5rem;
  }
	
	.media-t-1 .wp-block-media-text__media{display: none;}
}



/* -------------------------------------------------------------------------------- */
	/* ! CSS FORM pagina CONTATTI */
/* -------------------------------------------------------------------------------- */

.form-container{max-width: 900px; margin: 0 auto; }

/* Contenitore form */
.wpcf7-form {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 40px 30px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  font-family: 'Nunito', sans-serif;
  color: #000;
}

/* Intestazione */
.form-intro {
  text-align: center;
  margin-bottom: 30px;
}
.form-intro h2 {
  color: var(--primary);
}
.form-intro p {
  color: #3D3D3D;
}

/* CTA TELEFONO */

.contatti-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 40px;
  background-color: #7E6F8E;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.phone-button:hover {
  background-color: #5F516E;
  transform: translateY(-2px);
}

.phone-icon {
  color: #ffffff;       
  font-size: 1.1rem;
}

.phone-note{margin: 0;}

.phone-text {
  color: #ffffff;          
}

/* Layout due colonne */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  flex: 1;
  position: relative;
}
.form-group i {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(10%);
  font-size: 18px;
  color: var(--primary);
  z-index: 9;
  pointer-events: none;
	
}

/* Input e textarea stile moderno */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid #ccc;
  padding: 12px 0 12px 26px;
  font-size: 16px;
  background: transparent;
  outline: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Effetto focus */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  border: none;
  border-bottom: 2px solid var(--primary);
  color: #3D3D3D;
  box-shadow: none;
}

/* Textarea altezza */
.wpcf7-form textarea {
  height: 120px;
  resize: vertical;
  padding-top: 12px;
}

/* Pulsante invio */
.wpcf7-form input[type="submit"] {
  background-color: var(--primary);
  color: #fff;
  padding: 14px 28px;
  text-transform: uppercase; 
  letter-spacing: 1.3px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #5F516E;
}

.wpcf7-spinner{display: none;}

/* Messaggio di dati mancanti */
.wpcf7 form.invalid .wpcf7-response-output{padding: 20px; background: #ffb90060; text-align: center; font-weight: bold; color: red; border-radius: 10px; }
/* Messaggio di invio dati riuscito */
.wpcf7 form.sent .wpcf7-response-output{padding: 20px; background: #46b45060; text-align: center; font-weight: bold; color: white; border-radius: 10px;}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}



