:root {
  --morado-principal: #9f07ba;
  --morado-secundario: #c96de0;
  --morado-oscuro: #740389;
  --gris-claro: #f7f7f7;
  --texto: #333;
}



/* HERO */
.hero-section {
  background: linear-gradient(135deg, var(--morado-principal), var(--morado-secundario));
  color: white;
  padding: 100px 40px 80px;
  text-align: center;
}


.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
      font-weight: 700;
    font-size: 50px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #fffdfd;
}

.hero-text p {
 
 font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #fffdfd;
    text-align: justify;
    margin-bottom: 25px;
}


.cta-button {
  display: inline-block;
  background-color: white;
  color: var(--morado-principal);
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
  background-color: var(--morado-oscuro);
  color: white;
}.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto; /* Centra la imagen en pantallas pequeñas */
}
@media (max-width: 768px) {
  .hero-image {
    text-align: center;
    margin-top: 30px;
  }

  .hero-image img {
    max-width: 90%;
  }
}

/* SERVICES */
.services-section {
  background-color: white;
  padding: 60px 20px;
  text-align: center;
}

.services-section h2 {
 font-family: 'Roboto', sans-serif;
    font-size: 50px;
    font-weight: 700;
    color: #9f07ba;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-list_4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  background-color: var(--morado-secundario);
  color: white;
  padding: 30px 20px;
  border-radius: 10px;
  width: 230px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-card i {
  font-size: 36px;
  margin-bottom: 15px;
}

/* WHY US */
.why-section {
  background-color: #ece8ff;
  padding: 60px 20px;
  text-align: center;
}

.why-section h2 {
 font-family: 'Roboto', sans-serif;
    font-size: 50px;
    font-weight: 700;
    color: #9f07ba;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.why-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.why-item {
  background: white;
  border-left: 5px solid var(--morado-oscuro);

  width: 280px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/*-------------------------------------------------------------- PSYCHOLOGIST--------------------------------------------------------------------------------------------- */
.psychology-section {
  padding: 60px 20px;
  background: #f6ddfc;
  font-family: 'Segoe UI', sans-serif;
  color: #3a3a3a;
}

.section-title {
  font-family: 'Roboto', sans-serif;
    font-size: 50px;
    font-weight: 700;
    color: #9f07ba;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  margin: 10px auto 0;
  background: #9f07ba;
  border-radius: 4px;
}

.main-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center; /* Centra verticalmente */
}


.right-section {
  font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    text-align: justify;
    margin-bottom: 25px;
}

.left-section {
  flex: 1 1 320px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


.psychologist-image {
  width: 350px;
  max-width: 100%;
  
  transition: transform 0.3s ease;
}

.psychologist-image:hover {
  transform: scale(1.05);
}

.psychologist-name {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  color: #6b21a8;
}

.right-section {
  flex: 2 1 600px;
}

.main-quote {
  font-size: 20px;
  font-style: italic;
  color: #101111;
  background: #fce7f3;
  border-left: 6px solid #9f07ba;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.services-title {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #9f07ba;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-price-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.services-link{
  font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #9f07ba;
    margin-bottom: 10px;
  
}

.services-list {
  flex: 1 1 600px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.service-item {
  background: #fff;
  border-left: 5px solid #9f07ba;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(159, 7, 186, 0.2);
}

.service-item h3 {
  font-size: 18px;
  color: #7e22ce;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 15px;
  color:#101111;
  line-height: 1.5;
}
.price-badge {
  background-color: #A020F0;
  color: white;
  font-family: sans-serif;
  font-size: 0.8rem;
  padding: 10px;
  width: 150px;
  height: 150px; 
  text-align: center;
  border-radius: 50px;
  margin: 30px auto 0; 
  padding-left: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.price-badge .label {
  font-weight: bold;
  line-height: 1.2;
}

.price-badge .price {
  font-size: 1.5rem;
  margin: 10px 0;
}

.price-badge .additional-text {
  font-size: 0.75rem;
}


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

  .services-price-container {
    flex-direction: column;
    align-items: center;
  }

  .main-content {
    flex-direction: column;
    align-items: center;
  }

  .price-badge {
    margin-top: 20px;
  }
}

/* Medicina general /-------------------------------------------------------------------------------*/
.general-medicine-section{
   padding: 60px 20px;
  background:  #e1ecff;
  font-family: 'Segoe UI', sans-serif;
  color: #3a3a3a;
}
.section-title_2 {
  font-family: 'Roboto', sans-serif;
    font-size: 50px;
    font-weight: 700;
    color: #0d3b8c;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.section-title_2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  margin: 10px auto 0;
  background:#0d3b8c;
  border-radius: 4px;
}
.services-link_2{
  font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #0d3b8c;
    margin-bottom: 10px;
}

.services-list_2 {
  flex: 1 1 600px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.service-item_2 {
  background: #fff;
  border-left: 5px solid #0d3b8c;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(159, 7, 186, 0.2);
}

.service-item_2 h3 {
  font-size: 18px;
  color: #0d3b8c;
  margin-bottom: 10px;
}

.service-item_2 p {
 font-size: 15px;
  color:#101111;
  line-height: 1.5;
}
.main-quote_2 {
  font-size: 20px;
  font-style: italic;
  color: #101111;
  background: #b3c7ff;
  border-left: 6px solid#0d3b8c;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}
/* CUADRO DE PRECIO ESTILO AZUL */
.services-price-container {
  display: flex;
 
  align-items: center; 
  gap: 1.5rem; 
}
.price-badge_2 {
  background-color: #0d3b8c;
  color: white;
  font-family: sans-serif;
  font-size: 0.8rem;
  padding: 20px;
  width: 150px;
  height: 150px;
  text-align: center;
  border-radius: 50px;
  margin: 30px auto 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-top: 1rem;
}

.price-badge_2 .label {
  font-weight: bold;
  line-height: 1.2;
}

.price-badge_2 .price {
  font-size: 1.5rem;
  margin: 10px 0;
}

.price-badge_2 .additional-text {
  font-size: 0.75rem;
}


.doctor-image{

   width: 350px;
  max-width: 100%;
  
  transition: transform 0.3s ease;
}
.doctor-name{
   margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  color: #0d3b8c;

}
