    body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background: #f4f4f4;
      color: #333;
    }

    header {
      background-color: #005a66;
      color: white;
      padding: 20px;
      text-align: center;
    }

    nav ul {
      list-style: none;
      display: flex;
      justify-content: center;
      padding: 0;
      margin: 10px 0 0;
    }

    nav ul li {
      margin: 0 15px;
    }

    nav ul li a {
      color: white;
      text-decoration: none;
      font-weight: bold;
    }

    .main-content {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: flex-start;
      background: #eaeaea;
      padding: 40px 20px;
    }

    .foto-doctor {
      max-width: 300px;
      margin: 20px;
    }

    .foto-doctor img {
      width: 100%;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
    }

    .info-doctor {
      max-width: 600px;
      margin: 20px;
    }

    .info-doctor h1 {
      font-size: 2rem;
      font-weight: 600;
      position: relative;
      display: inline-block;
      padding-left: 50px;
      color: #222;
    }

    .info-doctor h1::before {
      content: "Dr.";
      position: absolute;
      left: 0;
      top: 0;
      background-color: #e0f0f4;
      color: #005a66;
      padding: 3px 10px;
      border-radius: 20px;
      font-weight: bold;
      font-size: 1rem;
      border: 2px solid #005a66;
    }

    .subtitulo {
      font-weight: bold;
      color: #005a66;
      margin-top: 10px;
    }

    .descripcion {
      margin-top: 20px;
      font-size: 1rem;
      line-height: 1.5;
    }

    .boton {
      display: inline-block;
      margin-top: 20px;
      background-color: #007a82;
      color: white;
      padding: 12px 25px;
      border: none;
      border-radius: 25px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s;
    }

    .boton:hover {
      background-color: #005a66;
    }

    footer {
      text-align: center;
      background: #003b3e;
      color: white;
      padding: 15px;
    }

    @media(max-width: 768px) {
      .main-content {
        flex-direction: column;
        align-items: center;
      }
      .info-doctor h1::before {
        position: static;
        margin-bottom: 5px;
        display: block;
      }
    }
	
	
	/* Encabezado estilo navbar */
header {
  background-color: #005a66;
  color: white;
  padding: 10px 20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.menu ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu ul li {
  margin: 0 10px;
}

.menu ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.boton-reservar {
  background-color: #33c4b3;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.boton-reservar:hover {
  background-color: #26a598;
}

@media(max-width: 768px) {
  .menu ul {
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }
}


.reserva {
  background-color: #006778;
  color: white;
  text-align: center;
  padding: 50px 20px;
}

.logo-clinica {
  width: 200px;
  margin-bottom: 20px;
}

.reserva h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.btn-agenda {
  display: inline-block;
  background-color: #54d3c2;
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1rem;
  margin: 15px 0;
  transition: background 0.3s ease;
}

.btn-agenda:hover {
  background-color: #39b8a7;
}

.contacto {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.6;
}

.contacto a {
  color: #bbf1eb;
  text-decoration: underline;
}

.flechita {
  width: 0;
  height: 0;
  border-left: 100vw solid transparent;
  border-right: 0 solid transparent;
  border-top: 40px solid #006778; /* Color del fondo siguiente */
  margin-top: -1px;
}

.servicios-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.servicio-card {
  background-color: #006778;
  color: white;
  padding: 40px 30px;
  border-radius: 5px;
  width: 250px;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.servicio-card:hover {
  background-color: #9bd0df; /* celeste al pasar el mouse */
  transform: translateY(-5px); /* pequeño levantamiento */
}

